Home
last modified time | relevance | path

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

/freebsd/lib/libutil/
H A Duucplock.c67 lcktmpname[sizeof(_PATH_UUCPLOCK) + MAXNAMLEN]; in uu_lock() local
71 (void)snprintf(lcktmpname, sizeof(lcktmpname), _PATH_UUCPLOCK LOCKTMP, in uu_lock()
75 if ((tmpfd = open(lcktmpname, O_CREAT | O_TRUNC | O_WRONLY | O_CLOEXEC, in uu_lock()
80 if (link (lcktmpname, lckname) < 0) { in uu_lock()
118 (void)unlink(lcktmpname); in uu_lock()