Home
last modified time | relevance | path

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

/freebsd-14.2/usr.sbin/pw/
H A Dcpdir.c43 int len, homefd, srcfd, destfd; in copymkdir() local
101 destfd = openat(homefd, p, O_RDWR | O_CREAT | O_EXCL, in copymkdir()
103 if (destfd == -1) { in copymkdir()
109 write(destfd, copybuf, sz); in copymkdir()
115 fchown(destfd, uid, gid); in copymkdir()
116 fchflags(destfd, st.st_flags); in copymkdir()
117 close(destfd); in copymkdir()