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