Searched refs:menu_fp (Results 1 – 1 of 1) sorted by relevance
/titanic_50/usr/src/lib/libbe/common/ |
H A D | be_utils.c | 420 FILE *menu_fp = NULL; in be_append_menu() local 483 &menu_fp, "r", B_TRUE)) != BE_SUCCESS) { in be_append_menu() 485 } else if (menu_fp == NULL) { in be_append_menu() 493 while (fgets(line, BUFSIZ, menu_fp)) { in be_append_menu() 582 (void) fclose(menu_fp); in be_append_menu() 608 menu_fp = fopen(menu_file, "a+"); in be_append_menu() 610 if (menu_fp == NULL) { in be_append_menu() 622 (void) fprintf(menu_fp, "%s", entries[i]); in be_append_menu() 631 (void) fprintf(menu_fp, "%s\n", BE_GRUB_COMMENT); in be_append_menu() 634 (void) fprintf(menu_fp, "title %s\n", in be_append_menu() [all …]
|