Lines Matching refs:menu_buf
914 char menu_buf[BUFSIZ];
1033 while (fgets(menu_buf, BUFSIZ, menu_fp)) {
1037 (void) strlcpy(tline, menu_buf, sizeof (tline));
1051 if ((buffer[nlines++] = strdup(menu_buf))
1057 } else if (write || strncmp(menu_buf, BE_GRUB_COMMENT,
1060 (void) fputs(menu_buf, tmp_menu_fp);
1073 (void) fputs(menu_buf, tmp_menu_fp);
1105 if ((buffer[nlines++] = strdup(menu_buf)) == NULL) {
1142 (void) fputs(menu_buf, tmp_menu_fp);
1172 if ((buffer[nlines++] = strdup(menu_buf))
1179 (void) fputs(menu_buf, tmp_menu_fp);
1264 while (fgets(menu_buf, BUFSIZ, menu_fp)) {
1268 (void) strlcpy(tline, menu_buf, sizeof (tline));
1275 (void) fputs(menu_buf, tmp_menu_fp);
1284 (void) fputs(menu_buf, tmp_menu_fp);