lck_fd 72 src/dps8/shm.c int lck_fd = open(lck, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); lck_fd 73 src/dps8/shm.c if (lck_fd == -1) lck_fd 117 src/dps8/shm.c brc = fcntl(lck_fd, F_SETLK, &bflock); lck_fd 135 src/dps8/shm.c if (fcntl(lck_fd, F_GETLK, &bflock) == 0 && bflock.l_pid > 0) lck_fd 142 src/dps8/shm.c (void)close(lck_fd); lck_fd 177 src/dps8/shm.c if (ftruncate(lck_fd, (off_t)0) == -1) lck_fd 197 src/dps8/shm.c if (write(lck_fd, spid, strlen(spid)) != strlen(spid)) lck_fd 208 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 210 src/dps8/shm.c if (write(lck_fd, shostname, strlen(shostname)) != strlen(shostname)) lck_fd 221 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 306 src/dps8/shm.c int lck_fd = open(lck, O_RDWR, 0); lck_fd 307 src/dps8/shm.c if (lck_fd == -1) lck_fd 330 src/dps8/shm.c brc = fcntl(lck_fd, F_SETLK, &bflock); lck_fd 402 src/dps8/shm.c (void)fcntl(lck_fd, F_SETLK, &bflock); lck_fd 406 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 407 src/dps8/shm.c (void)close(lck_fd);