NULL_SEM
} else if (semctl(ipc_id, 0, IPC_RMID, NULL_SEM) ==
if (semctl(ipc_id, 0, IPC_RMID, NULL_SEM) == -1) {