Home | History | Annotate | Download | only in tests

Lines Matching defs:id

44 	int rc, id;
49 id = semget(IPC_PRIVATE, 1, 0600);
50 if (id < 0)
52 printf("semget\\(IPC_PRIVATE, 1, 0600\\) += %d\n", id);
55 if (semctl(id, 0, IPC_STAT, un))
58 id, &ds);
68 rc = semctl(id, 0, SEM_STAT, un);
69 if (rc != id) {
77 " += -1 EINVAL \\(Invalid argument\\)\n", id, &ds);
80 " += %d\n", id, &ds, id);
85 if (semctl(id, 0, IPC_RMID, 0) < 0)
87 printf("semctl\\(%d, 0, (IPC_64\\|)?IPC_RMID, \\[?0\\]?\\) += 0\n", id);