Lines Matching refs:buf
69 char buf[MDDB_BOOTLIST_MAX_LEN];
128 while ((fp != NULL) && (fgets(buf, sizeof (buf), fp) != NULL)) {
129 if ((doroot) && (strcmp(buf, BEGROOTSTR) == 0)) {
132 (void) printf("%s", buf);
136 if (strcmp(buf, ENDROOTSTR) == 0)
139 (void) printf("%s", buf);
142 if ((domddb) && (strcmp(buf, BEGMDDBSTR) == 0)) {
145 (void) printf("%s", buf);
149 if (strcmp(buf, ENDMDDBSTR) == 0)
152 (void) printf("%s", buf);
156 if (fputs(buf, *tfp) == EOF) {
350 char buf[1024];
396 while (((p = fgets(buf, sizeof (buf), cfp)) != NULL) &&
397 (confline(buf, &driver, &mnum, &block, &devid_char_p) != 0))
421 while ((p = fgets(buf, sizeof (buf), cfp)) != NULL) {
422 if (confline(buf, &driver, &mnum, &block,