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 93 src/dps8/shm.c (void)close(lck_fd); lck_fd 120 src/dps8/shm.c brc = fcntl(lck_fd, F_SETLK, &bflock); lck_fd 139 src/dps8/shm.c if (fcntl(lck_fd, F_GETLK, &bflock) == 0 && bflock.l_pid > 0) lck_fd 146 src/dps8/shm.c (void)close(lck_fd); lck_fd 184 src/dps8/shm.c if (!lck_ftr && (ftruncate(lck_fd, (off_t)0) == -1)) lck_fd 204 src/dps8/shm.c if (!lck_ftr && (write(lck_fd, spid, strlen(spid)) != strlen(spid))) lck_fd 211 src/dps8/shm.c (void)close(lck_fd); lck_fd 217 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 219 src/dps8/shm.c if (!lck_ftr && (write(lck_fd, shostname, strlen(shostname)) != strlen(shostname))) lck_fd 231 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 316 src/dps8/shm.c int lck_fd = open(lck, O_RDWR, 0); lck_fd 317 src/dps8/shm.c if (lck_fd == -1) lck_fd 340 src/dps8/shm.c brc = fcntl(lck_fd, F_SETLK, &bflock); lck_fd 412 src/dps8/shm.c (void)fcntl(lck_fd, F_SETLK, &bflock); lck_fd 416 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 417 src/dps8/shm.c (void)close(lck_fd);