Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/mkmsgs/
H A Dmkmsgs.c120 char *bufinp, *bufworkp; /* pointers to input and work areas */ local
231 if ((bufinp = malloc(2 * LINESZ)) == NULL) {
236 bufworkp = bufinp + LINESZ;
248 free(bufinp);
258 if (!fgets(bufinp, LINESZ, fp_inp)) {
262 free(bufinp);
269 if(*(bufinp+strlen(bufinp)-1) != '\n') {
271 free(bufinp);
274 *(bufinp + strlen(bufinp) -1) = (char)0; /* delete newline */
276 (void)strccpy(bufworkp, bufinp);
[all …]