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

/solaris-x11-s11/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c586 openFiles (char *name, char *new_name, FILE **oldp, FILE **newp) argument
590 strcpy (new_name, name);
591 strcat (new_name, "-n");
593 (void) unlink (new_name);
594 *newp = fopen (new_name, "w");
840 char home_name[1024], backup_name[1024], new_name[1024]; local
856 if (openFiles (home_name, new_name, &old, &new)) {
871 if (openFiles (backup_name, new_name, &old, &new)) {
889 chmod (new_name, (int) (statb.st_mode & 0777));
906 if (link (new_name, nam
[all...]

Completed in 9 milliseconds