Home | History | Annotate | Download | only in pending

Lines Matching defs:id

41   int id, ret = 0;
43 id = strtol(name, &c, 0);
50 if (id == IPC_PRIVATE) {
54 id = ((ipc == 1)?shmget(id, 0, 0) :
55 (ipc == 2)? msgget(id, 0): semget(id, 0, 0));
56 if (id < 0) {
62 if (ipc == 1) ret = shmctl(id, IPC_RMID, NULL);
63 else if (ipc == 2) ret = msgctl(id, IPC_RMID, NULL);
64 else if (ipc == 3) ret = semctl(id, 0, IPC_RMID, NULL);
66 if (ret < 0) perror_msg("%s (%s)", ((key)? "key": "id"), name);