Home
last modified time | relevance | path

Searched refs:newdir (Results 1 – 2 of 2) sorted by relevance

/glibc-2.36/sysdeps/mach/hurd/
Drename.c26 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()
Drenameat2.c29 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()