Searched refs:copybuf (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/usr.sbin/pw/
H A Dcpdir.c62 static char *copybuf = NULL; local
105 if (copybuf == NULL)
106 copybuf = malloc(4096);
107 while ((b = read(infd, copybuf, 4096)) > 0)
108 write(outfd, copybuf, b);
125 if (--counter == 0 && copybuf != NULL) {
126 free(copybuf);
127 copybuf = NULL;
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dargv.c165 char *copybuf; local
176 copybuf = (char *) alloca (strlen (input) + 1);
212 arg = copybuf;
271 argv[argc] = strdup (copybuf);
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dargv.c165 char *copybuf; local
176 copybuf = (char *) alloca (strlen (input) + 1);
212 arg = copybuf;
271 argv[argc] = strdup (copybuf);

Completed in 42 milliseconds