Lines Matching refs:buf
159 char *tok, buf[BUFSIZ];
163 while (getaline(f, buf) > 0) {
165 /* strtok's of this buf continue in tokenize() */
166 tok = strtok(buf, " \t");
203 char *tok, buf[BUFSIZ];
214 while (getaline(f, buf) > 0) {
216 /* strtok's of this buf continue in tokenize() */
217 tok = strtok(buf, " \t");
249 /* empty buf or line too long! */
463 getsysline(buf, len)
464 char *buf;
483 while (getaline(fsystems, buf) != NULL)
484 if ((*buf != '#') && (*buf != ' ') &&
485 (*buf != '\t') && (*buf != '\n')) {
521 getdevline(buf, len)
522 char *buf;
536 if (fgets(buf, len, fdevices) != NULL) {
572 getdialline(buf, len)
573 char *buf;
587 if (fgets(buf, len, fdialers) != NULL) {
622 getpop(buf, len, optional)
623 char *buf;
637 strncpy(buf, &(Pops[npops++][1]), len);
640 strncpy(buf, Pops[npops++], len);
642 buf[len-1] = '\0';
651 getpush(buf, len)
652 char *buf;
657 strncpy(buf, Pushes[npushes++], len);
746 char buf[BUFSIZ];
751 while (getaline(f, buf) > 0) {
753 tok = strtok(buf, " \t");