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

/darwin-on-arm/xnu/bsd/sys/
H A Dresource.h103 * Possible values of the first parameter to getpriority()/setpriority(),
115 * Range limitations for the value of the third parameter to setpriority().
322 int setpriority(int, id_t, int);
/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile174 setpriority.2 \
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_resource.c136 /* Args and fn for proc_iteration callback used in setpriority */
147 /* Args and fn for proc_iteration callback used in setpriority */
303 setpriority(struct proc *curp, struct setpriority_args *uap, __unused int32_t *retval) function
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dtests.c3473 * Test getpriority, setpriority system calls.
3492 my_err = setpriority( PRIO_PROCESS, 0, my_new_priority );
3494 printf( "setpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3507 printf( "setpriority - failed to set correct scheduling priority \n" );
3512 my_err = setpriority( PRIO_PROCESS, 0, 0 );
3514 printf( "setpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );

Completed in 36 milliseconds