Lines Matching refs:buf
159 char *tok, buf[BUFSIZ];
191 while (getaline(f, buf) > 0) {
193 /* strtok's of this buf continue in tokenize() */
194 tok = strtok(buf, " \t");
232 char *tok, buf[BUFSIZ];
241 while (getaline(f, buf) > 0) {
243 /* strtok's of this buf continue in tokenize() */
244 tok = strtok(buf, " \t");
273 /* empty buf or line too long! */
484 getsysline(char *buf, int len)
498 while (fgets(buf, len, fsystems) != NULL)
499 if ((*buf != '#') && (*buf != ' ') &&
500 (*buf != '\t') && (*buf != '\n'))
532 getdevline(char *buf, int len)
542 if (fgets(buf, len, fdevices) != NULL)
574 getdialline(char *buf, int len)
584 if (fgets(buf, len, fdialers) != NULL)
615 getpop(char *buf, size_t len, int *optional)
628 (void) strncpy(buf, &(Pops[npops++][1]), len);
631 (void) strncpy(buf, Pops[npops++], len);
633 buf[len-1] = '\0';
642 getpush(char *buf, size_t len)
646 (void) strncpy(buf, Pushes[npushes++], len);
731 char buf[BUFSIZ];
736 while (getaline(f, buf) > 0) {
738 tok = strtok(buf, " \t");