Searched refs:ipc_fd (Results 1 – 1 of 1) sorted by relevance
63 static int ipc_fd; variable100 ipc_fd = open(shm_path, O_CREAT | O_EXCL | O_RDWR, 0600); in setup_ipc()101 if (ipc_fd < 0) in setup_ipc()105 SAFE_FTRUNCATE(ipc_fd, size); in setup_ipc()107 results = SAFE_MMAP(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ipc_fd, 0); in setup_ipc()117 SAFE_CLOSE(ipc_fd); in setup_ipc()129 if (ipc_fd > 0 && close(ipc_fd)) in cleanup_ipc()