Searched refs:mtlckf (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/external/bsd/am-utils/dist/conf/mtab/
H A Dmtab_isc3.c49 static int mtlckf = 0; variable
57 if (mtlckf) {
58 close(mtlckf);
59 mtlckf = 0;
81 if (mtlckf == 0) { /* need lock on /etc/.mnt.lock */
82 mtlckf = open(mtlckname, O_RDWR);
83 if (mtlckf >= 0) {
84 if (lockfile(mtlckf, F_WRLCK) < 0) {
85 close(mtlckf);
86 mtlckf
[all...]

Completed in 111 milliseconds