Searched defs:temp_menu (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c1764 char *temp_menu = NULL; local
1848 if ((temp_menu = (char *)malloc(temp_menu_len))
1856 (void) memset(temp_menu, 0, temp_menu_len);
1857 (void) strlcpy(temp_menu, menu_file, temp_menu_len);
1858 (void) strlcat(temp_menu, "XXXXXX", temp_menu_len);
1859 if ((tmp_fd = mkstemp(temp_menu)) == -1) {
1864 free(temp_menu);
1874 free(temp_menu);
1983 if (rename(temp_menu, menu_file) != 0) {
1987 temp_menu, menu_fil
[all...]

Completed in 48 milliseconds