Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/consadm/
H A Dconsadm.c346 int lckfd; in getlock() local
348 if ((lckfd = open(CONSADMLOCK, O_CREAT | O_EXCL | O_WRONLY, in getlock()
355 if (lckfunc(lckfd, LOCK_EX) == -1) { in getlock()
356 (void) close(lckfd); in getlock()
360 return (lckfd); in getlock()
366 int lckfd, fd; in addtolist() local
375 lckfd = getlock(); in addtolist()
382 (void) close(lckfd); in addtolist()
413 (void) close(lckfd); in addtolist()
421 int lckfd; in removefromlist() local
[all …]