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

/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c919 char *tmp_menu = NULL; local
1008 if ((tmp_menu = (char *)malloc(tmp_menu_len)) == NULL) {
1013 (void) memset(tmp_menu, 0, tmp_menu_len);
1014 (void) strlcpy(tmp_menu, menu, tmp_menu_len);
1015 (void) strlcat(tmp_menu, "XXXXXX", tmp_menu_len);
1016 if ((fd = mkstemp(tmp_menu)) == -1) {
1020 free(tmp_menu);
1021 tmp_menu = NULL;
1190 if (rename(tmp_menu, menu) != 0) {
1194 tmp_menu, men
[all...]

Completed in 267 milliseconds