Home
last modified time | relevance | path

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

/f-stack/tools/libutil/
H A Duucplock.c70 lcktmpname[sizeof(_PATH_UUCPLOCK) + MAXNAMLEN]; in uu_lock() local
74 (void)snprintf(lcktmpname, sizeof(lcktmpname), _PATH_UUCPLOCK LOCKTMP, in uu_lock()
78 if ((tmpfd = open(lcktmpname, O_CREAT | O_TRUNC | O_WRONLY | O_CLOEXEC, in uu_lock()
83 if (link (lcktmpname, lckname) < 0) { in uu_lock()
121 (void)unlink(lcktmpname); in uu_lock()