Searched refs:getpriority (Results 1 - 19 of 19) sorted by relevance

/macosx-10.10/Libc-1044.1.2/gen/FreeBSD/
H A Dnice.c54 prio = getpriority(PRIO_PROCESS, 0);
64 return (rv == -1) ? rv : getpriority(PRIO_PROCESS, 0);
/macosx-10.10/shell_cmds-179/nice/
H A Dnice.c101 niceness += getpriority(PRIO_PROCESS, 0);
103 err (1, "getpriority");
/macosx-10.10/shell_cmds-179/renice/
H A Drenice.c157 oldprio = getpriority(which, who);
159 warn("%d: getpriority", who);
/macosx-10.10/bind9-45.101/bind9/contrib/nslint-2.1a3/lbl/
H A Dos-sunos4.h97 int getpriority(int, int);
/macosx-10.10/libpcap-48/libpcap/lbl/
H A Dos-sunos4.h97 int getpriority(int, int);
/macosx-10.10/tcpdump-61/tcpdump/lbl/
H A Dos-sunos4.h97 int getpriority(int, int);
/macosx-10.10/xnu-2782.1.97/bsd/man/man2/
H A DMakefile91 getpriority.2 \
/macosx-10.10/swig-12/Lib/perl5/
H A Dperlkw.swg189 PERLBN(getpriority);
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dresource.h103 * Possible values of the first parameter to getpriority()/setpriority(),
489 int getpriority(int, id_t);
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/unix/
H A DtclXunixOS.c169 * System dependent interface to getpriority functionality.
186 *priority = getpriority (PRIO_PROCESS, 0);
217 *priority = getpriority (PRIO_PROCESS, 0) + priorityIncr;
/macosx-10.10/ntp-92/ntpd/
H A Dntp_util.c333 * (prr) getpriority returns -1 on error, but -1 is also a valid
339 o_prio = getpriority(PRIO_PROCESS,0); /* Save setting */
342 * (prr) if getpriority succeeded, call setpriority to raise
346 * 2.6 (and beyond?), both getpriority and setpriority will fail
/macosx-10.10/shell_cmds-179/su/
H A Dsu.c273 prio = getpriority(PRIO_PROCESS, 0);
/macosx-10.10/ruby-106/ruby/test/ruby/
H A Dtest_process.rb1249 assert_kind_of(Integer, Process.getpriority(Process::PRIO_PROCESS, $$))
1256 pr = Process.getpriority(Process::PRIO_PROCESS, $$)
/macosx-10.10/system_cmds-643.1.1/login.tproj/
H A Dlogin.c284 prio = getpriority(PRIO_PROCESS, 0);
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_resource.c175 getpriority(struct proc *curp, struct getpriority_args *uap, int32_t *retval) function
/macosx-10.10/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dtests.c3483 * Test getpriority, setpriority system calls.
3492 /* getpriority returns scheduling priority so -1 is a valid value */
3494 my_priority = getpriority( PRIO_PROCESS, 0 );
3496 printf( "getpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3510 my_priority = getpriority( PRIO_PROCESS, 0 );
3512 printf( "getpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/
H A Dconfigure12581 { echo "$as_me:$LINENO: checking for getpriority" >&5
12582 echo $ECHO_N "checking for getpriority... $ECHO_C" >&6; }
12592 /* Define getpriority to an innocuous variant, in case <limits.h> declares getpriority.
12594 #define getpriority innocuous_getpriority
12597 which can conflict with char getpriority (); below.
12607 #undef getpriority
12615 char getpriority ();
12626 return getpriority ();
/macosx-10.10/ruby-106/ruby/
H A Dprocess.c4320 * Process.getpriority(kind, integer) -> fixnum
4331 * Process.getpriority(Process::PRIO_USER, 0) #=> 19
4332 * Process.getpriority(Process::PRIO_PROCESS, 0) #=> 19
4345 prio = getpriority(iwhich, iwho);
4359 * See <code>Process#getpriority</code>.
4363 * Process.getpriority(Process::PRIO_USER, 0) #=> 19
4364 * Process.getpriority(Process::PRIO_PROCESS, 0) #=> 19
6646 rb_define_module_function(rb_mProcess, "getpriority", proc_getpriority, 2);
H A Dconfigure15749 getpriority getrlimit setrlimit sysconf close getpwnam_r getgrnam_r\

Completed in 475 milliseconds