lck_fd 80 src/dps8/shm.c int lck_fd = open(lck, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); lck_fd 81 src/dps8/shm.c if (lck_fd == -1) lck_fd 101 src/dps8/shm.c (void)close(lck_fd); lck_fd 128 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 154 src/dps8/shm.c (void)close(lck_fd); lck_fd 192 src/dps8/shm.c if (!lck_ftr && (ftruncate(lck_fd, (off_t)0) == -1)) lck_fd 212 src/dps8/shm.c if (!lck_ftr && (write(lck_fd, spid, strlen(spid)) != strlen(spid))) lck_fd 219 src/dps8/shm.c (void)close(lck_fd); lck_fd 225 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 227 src/dps8/shm.c if (!lck_ftr && (write(lck_fd, shostname, strlen(shostname)) != strlen(shostname))) lck_fd 239 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 329 src/dps8/shm.c int lck_fd = open(lck, O_RDWR, 0); lck_fd 330 src/dps8/shm.c if (lck_fd == -1) lck_fd 353 src/dps8/shm.c brc = fcntl(lck_fd, F_SETLK, &bflock); lck_fd 430 src/dps8/shm.c (void)fcntl(lck_fd, F_SETLK, &bflock); lck_fd 434 src/dps8/shm.c (void)fsync(lck_fd); lck_fd 435 src/dps8/shm.c (void)close(lck_fd);