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 125 src/dps8/shm.c brc = fcntl(lck_fd, F_SETLK, &bflock); lck_fd 147 src/dps8/shm.c if (fcntl(lck_fd, F_GETLK, &bflock) == 0 && bflock.l_pid > 0) lck_fd 153 src/dps8/shm.c (void)close(lck_fd); lck_fd 187 src/dps8/shm.c if (ftruncate(lck_fd, (off_t)0) == -1) lck_fd 203 src/dps8/shm.c (void)fdatasync(lck_fd); lck_fd 216 src/dps8/shm.c if (write(lck_fd, spid, strlen(spid)) != strlen(spid)) lck_fd 231 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 233 src/dps8/shm.c if (write(lck_fd, shostname, strlen(shostname)) != strlen(shostname)) lck_fd 248 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 363 src/dps8/shm.c int lck_fd = open(lck, O_RDWR, 0); lck_fd 364 src/dps8/shm.c if (lck_fd == -1) lck_fd 395 src/dps8/shm.c brc = fcntl(lck_fd, F_SETLK, &bflock); lck_fd 475 src/dps8/shm.c (void)fcntl(lck_fd, F_SETLK, &bflock); lck_fd 479 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 480 src/dps8/shm.c (void)close(lck_fd);