Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c698 FILE *menu_fp = NULL; in be_append_menu() local
766 &menu_fp, "r", B_TRUE)) != BE_SUCCESS) { in be_append_menu()
768 } else if (menu_fp == NULL) { in be_append_menu()
776 while (fgets(line, BUFSIZ, menu_fp)) { in be_append_menu()
865 (void) fclose(menu_fp); in be_append_menu()
891 menu_fp = fopen(menu_file, "a+"); in be_append_menu()
893 if (menu_fp == NULL) { in be_append_menu()
905 (void) fprintf(menu_fp, "%s", entries[i]); in be_append_menu()
914 (void) fprintf(menu_fp, "%s\n", BE_GRUB_COMMENT); in be_append_menu()
917 (void) fprintf(menu_fp, "title %s\n", in be_append_menu()
[all …]