Searched refs:newdir (Results 1 – 2 of 2) sorted by relevance
/glibc-2.36/sysdeps/mach/hurd/ |
D | rename.c | 26 file_t olddir, newdir; in rename() local 32 newdir = __directory_name_split (new, (char **) &newname); in rename() 33 if (newdir == MACH_PORT_NULL) in rename() 39 err = __dir_rename (olddir, oldname, newdir, newname, 0); in rename() 41 __mach_port_deallocate (__mach_task_self (), newdir); in rename()
|
D | renameat2.c | 29 file_t olddir, newdir; in __renameat2() local 43 newdir = __directory_name_split_at (newfd, new, (char **) &newname); in __renameat2() 44 if (newdir == MACH_PORT_NULL) in __renameat2() 50 err = __dir_rename (olddir, oldname, newdir, newname, excl); in __renameat2() 52 __mach_port_deallocate (__mach_task_self (), newdir); in __renameat2()
|