Searched refs:Lckfd (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmsac.c | 54 extern int Lckfd; 59 if ((Lckfd = open(PIDFILE, O_RDONLY)) != -1) { 60 if (lockf(Lckfd, F_TEST, 0L) == -1) 63 (void)close(Lckfd); 66 if ((Lckfd = open(PIDFILE, O_WRONLY|O_CREAT|O_TRUNC, 0644 )) != 0) 69 if (lockf(Lckfd, F_LOCK, 0L) == -1) 73 (void) write(Lckfd, lockbuf, strlen(lockbuf) + 1); 75 log("fd(pid)\t = %d", Lckfd);
|
H A D | tmglobal.c | 40 int Lckfd; /* for pid file */ variable
|
H A D | tmextern.h | 134 extern int Lckfd;
|
Completed in 57 milliseconds