Searched refs:semctl (Results 1 - 6 of 6) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/ |
H A D | sema_tests.c | 15 * Test semctl, semget, semop system calls. 33 /* workaround for bug in the xnu implementation of semctl */ 40 my_err = semctl( my_sem_id, 0, SETVAL, my_sem_union ); 59 my_err = semctl( my_sem_id, 0, GETVAL, 0 ); 61 printf( "semctl failed with error %d - \"%s\" \n", errno, strerror( errno) ); 65 printf( "semctl(getval) returned %d. it should be 0 (locked) here \n", my_err ); 80 my_err = semctl( my_sem_id, 0, IPC_RMID, my_sem_union ); 82 printf( "semctl (IPC_RMID) failed with error %d - \"%s\" \n", errno, strerror( errno) ); 94 semctl( my_sem_id, 0, IPC_RMID, my_sem_union );
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | sem.h | 85 * the semun union member 'buf' as the fourth argment to semctl() when the 130 * Possible values for the third argument to semctl() 178 * Union used as the fourth argment to semctl() in all cases. Specific 221 int semctl(int, int, int, ...) __DARWIN_ALIAS(semctl); variable
|
H A D | sysproto.h | 1925 int semctl(struct proc *, struct semctl_args *, int *);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/man/man2/ |
H A D | Makefile | 141 semctl.2 \
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | sysv_sem.c | 125 (sy_call_t *)semctl, (sy_call_t *)semget, 642 semctl(struct proc *p, struct semctl_args *uap, register_t *retval) function 661 printf("call to semctl(%d, %d, %d, 0x%qx)\n", semid, semnum, cmd, user_arg);
|
H A D | init_sysent.c | 380 {AC(semctl_args), 0, 0, (sy_call_t *)semctl, munge_wwww, munge_dddd, _SYSCALL_RET_INT_T, 16}, /* 254 = semctl */
|
Completed in 67 milliseconds