Lines Matching defs:nbuf
1410 char *nbuf = NULL;
1440 if ((nbuf = (char *)malloc(nsize + 1)) == NULL)
1442 nbuf[0] = '\0';
1444 (void) strcpy(nbuf, actionstr);
1445 nlen = strlen(nbuf);
1450 len = snprintf(nbuf + plen, nlen - plen, "%s", line);
1452 free(nbuf);
1461 len = snprintf(nbuf + plen, nlen - plen, "%s", line);
1463 free(nbuf);
1468 len = strlen(nbuf) + 1;
1470 nbuf[len] = '\n';
1473 if (fwrite(nbuf, nsize, nitems, tafp) < nitems) {
1474 free(nbuf);
1478 free(nbuf);