Searched refs:semctl (Results 1 - 6 of 6) sorted by relevance
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | sema_tests.c | 15 * Test semctl, semget, semop system calls. 34 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 );
|
/darwin-on-arm/xnu/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() 168 * Union used as the fourth argment to semctl() in all cases. Specific 211 int semctl(int, int, int, ...) __DARWIN_ALIAS(semctl); variable
|
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | semop.c | 73 (void) semctl(ts->ts_semid, 0, IPC_RMID);
|
H A D | libmicro.c | 779 (void) semctl(b->ba_semid, 0, IPC_RMID); 796 (void) semctl(b->ba_semid, 0, IPC_RMID);
|
/darwin-on-arm/xnu/bsd/man/man2/ |
H A D | Makefile | 154 semctl.2 \
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | sysv_sem.c | 125 (sy_call_t *)semctl, (sy_call_t *)semget, 229 * Entry point for all SEM calls: semctl, semget, semop 244 * functions (semctl, semget, semop). The correct usage is 677 semctl(struct proc *p, struct semctl_args *uap, int32_t *retval) function 695 printf("call to semctl(%d, %d, %d, 0x%qx)\n", semid, semnum, cmd, user_arg);
|
Completed in 34 milliseconds