Searched refs:setitimer (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile169 setitimer.2 \
/darwin-on-arm/xnu/bsd/sys/
H A Dtime.h105 * Structure used as a parameter by getitimer(2) and setitimer(2) system
254 int setitimer(int, const struct itimerval * __restrict,
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_time.c391 setitimer(struct proc *p, struct setitimer_args *uap, int32_t *retval) function
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dtests.c2465 * Test getitimer, setitimer, sigaction, sigpending, sigprocmask, sigsuspend, sigwait system calls.
2628 /* test get / setitimer */
2631 my_err = setitimer( ITIMER_VIRTUAL, &my_timer, NULL );
2633 printf( "setitimer - ITIMER_VIRTUAL - failed with errno %d - %s \n", errno, strerror( errno ) );
2636 my_err = setitimer( ITIMER_PROF, &my_timer, NULL );
2638 printf( "setitimer - ITIMER_PROF - failed with errno %d - %s \n", errno, strerror( errno ) );
2656 my_err = setitimer( ITIMER_REAL, &my_timer, NULL );
2658 printf( "setitimer - ITIMER_REAL - failed with errno %d - %s \n", errno, strerror( errno ) );
2673 printf( "setitimer test failed - did not catch SIGALRM \n" );

Completed in 118 milliseconds