Searched refs:getpriority (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(),
316 int getpriority(int, id_t);
/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile85 getpriority.2 \
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_resource.c160 getpriority(struct proc *curp, struct getpriority_args *uap, int32_t *retval) function
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dtests.c3473 * Test getpriority, setpriority system calls.
3482 /* getpriority returns scheduling priority so -1 is a valid value */
3484 my_priority = getpriority( PRIO_PROCESS, 0 );
3486 printf( "getpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3500 my_priority = getpriority( PRIO_PROCESS, 0 );
3502 printf( "getpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );

Completed in 90 milliseconds