Home
last modified time | relevance | path

Searched refs:mstr_buf (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dopen_memstream.c31 char *mstr_buf; member
142 temp = recallocarray(memp->mstr_buf, memp->mstr_alloc, in open_memstream_write()
147 memp->mstr_buf = temp; in open_memstream_write()
152 (void) memcpy(&memp->mstr_buf[memp->mstr_pos], buf, nbytes); in open_memstream_write()
157 memp->mstr_buf[memp->mstr_pos] = '\0'; in open_memstream_write()
221 memp->mstr_buf = calloc(memp->mstr_alloc, sizeof (char)); in open_memstream()
222 if (memp->mstr_buf == NULL) { in open_memstream()
225 memp->mstr_buf[0] = '\0'; in open_memstream()
254 *memp->mstr_ubufp = memp->mstr_buf; in open_memstream()
260 free(memp->mstr_buf); in open_memstream()