Searched refs:lockbuf (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | lockinst.c | 81 static char lockbuf[LCKBUFSIZ]; variable 100 (void) memset(lockbuf, 0, LCKBUFSIZ); 102 (void) snprintf(lockbuf, sizeof (lockbuf), 107 if (write(fd, lockbuf, LF_SIZE) == LF_SIZE) 125 if (read(fd, lockbuf, LF_SIZE) != LF_SIZE) { 139 (void) sscanf(lockbuf, "%ld %s %s %s %u", &lock_pid,
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmsac.c | 55 char lockbuf[16]; /* large enough for a PID string */ local 72 (void) snprintf(lockbuf, sizeof (lockbuf), "%ld", getpid()); 73 (void) write(Lckfd, lockbuf, strlen(lockbuf) + 1);
|
Completed in 72 milliseconds