reallocarray
matches = reallocarray(matches, *size, sizeof(matches[0]));
pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv));
statv = reallocarray(pglob->gl_statv, newn, sizeof(*statv));
void *reallocarray(void *, size_t, size_t);
buf = reallocarray(NULL, 4, strlen(src) + 1);
if ((tmp = reallocarray(*ap, *np + 1, sizeof(*tmp))) == NULL)
new_ptr = reallocarray(ptr, nmemb, size);
void *reallocarray(void *, size_t, size_t) __result_use_check
pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv));
pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv));
names2 = reallocarray(names, arraysz,
names2 = reallocarray(names, arraysz, sizeof(*names));
newset = reallocarray(saveset, setlen, sizeof(BITCMD)); \
if ((nwv = reallocarray(we->we_wordv, (we->we_wordc + 1 +
q = reallocarray(list, num, sizeof(char *));
p = reallocarray(vec, *count + ELEMSPERCHUNK, esize);
ncs = reallocarray(p->g->sets, p->g->ncsets + 1, sizeof(*ncs));
newwides = reallocarray(cs->wides, cs->nwides + 1,
newranges = reallocarray(cs->ranges, cs->nranges + 1,
newtypes = reallocarray(cs->types, cs->ntypes + 1,
sp = reallocarray(p->strip, size, sizeof(sop));
g->strip = reallocarray((char *)p->strip, p->slen, sizeof(sop));
if ((nc_lookups = reallocarray(ncp->nc_lookups,
buf = reallocarray(*ms->bufp, newsize + 1, sizeof(wchar_t));
newtable = reallocarray(oldtable, newsize, sizeof(enum typeid));
p = reallocarray(fp->_ub._base, i, 2);
tmpEnviron = reallocarray(intEnviron, tmpEnvironSize + 1,
tmpEnvVars = reallocarray(envVars, newEnvVarsSize,
tmp = reallocarray(*p, *size * 2 + 1, sizeof(**p));
set->elements = reallocarray(set->elements, set->count + 1,
p = reallocarray(ei->recommend[i], ei->recommendsize[i] + 1,
tjp = reallocarray(jp, nlist, sizeof(*jp));
tjp = reallocarray(jp, njp, sizeof(*jp));
tmp = reallocarray(envlist, envlen + extralen + 1, sizeof(*envlist));
image->pi_symbols = reallocarray(image->pi_symbols,
symptr = reallocarray(image->pi_symbols,
tmp = reallocarray(phdl->mappings, phdl->maparrsz,
new = reallocarray(ta->map, ta->map_len,
void* reallocarray(void *ptr, size_t nmemb, size_t size);
void *reallocarray(void *ptr, size_t nmemb, size_t size);
if ((tmp = reallocarray(buf, 2, size)) == NULL) {
else if ((p = reallocarray(internal_array, sz, sizeof(char*))) != NULL) {
if ((tmp = reallocarray(buf, 2, size)) == NULL) {
inpsort = (struct inoinfo **)reallocarray((char *)inpsort,
fb = reallocarray(fb, i / 4 + 1, sizeof(*fb));
tstable = reallocarray(tstable, maxtsentries,
ifneta = (struct ifnet **)reallocarray(ifneta, nifs + 1,
fields = reallocarray(fields, num + 1, sizeof(*fields));
oplist = reallocarray(oplist, asize + 2, sizeof(int));
void *p = reallocarray(file->ungetbuf, file->ungetsize, 2);
p = reallocarray(b->pfrb_caddr, minsize, bs);
disk_fd = reallocarray(disk_fd, disk_index + 1,
ptr = reallocarray(fd_array, fd_array_size, sizeof(int));
wp = reallocarray(fb->wbuf, fb->len, sizeof(wchar_t));
void *reallocarray(void *, size_t, size_t);
new_ptr = reallocarray(ptr, nmemb, size);
p = reallocarray(d13, newsz, sizeof(*p));
p = reallocarray(d23, newsz, sizeof(*p));
p = reallocarray(de, newsz, sizeof(*p));
q = reallocarray(overlap, newsz, 1);
s = reallocarray(de_delta, newsz, sizeof(*s));
void *p = reallocarray(old, s1, s2);
p = reallocarray(i_ptr, new_size + 2, sizeof(char *));
gc_image->data = reallocarray(gc_image->data, width * height,
p = (char **) reallocarray(envp, count+1, sizeof(char *));
p = (char **) reallocarray(NULL, count+1, sizeof(char *)); /* 1 for the NULL */
conn->co_proc = reallocarray(NULL, sep->se_maxperip,
conn->co_proc = reallocarray(conn->co_proc, maxpip,
queue = (struct jobqueue **)reallocarray((char *)queue,
samples->sb = reallocarray(samples->sb, npmcs, sizeof(unsigned));
*items = reallocarray(*items, nmaxsize, sizeof(struct pmcpl_ct_arc));
*items = reallocarray(*items, nmaxsize, sizeof(struct pmcpl_ct_instr));