Searched refs:perm_file (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | route.c | 308 static char *perm_file; variable 469 perm_file = perm_file_sfx; in main() 473 perm_file = malloc(size); in main() 474 if (perm_file == NULL) in main() 476 (void) snprintf(perm_file, size, "%s%s", root_dir, in main() 1649 perm_fd = open(perm_file, O_RDWR | O_CREAT, fmode); in save_route() 1683 if (fclose(temp_fp) != 0 || rename(temp_file, perm_file) != 0) { in save_route() 1716 if (fclose(temp_fp) != 0 || rename(temp_file, perm_file) != 0) { in save_route() 1753 perm_fd = open(perm_file, O_RDONLY, 0); in show_saved_routes()
|