start page | rating of books | rating of authors | reviews | copyrights

Programming Perl

Programming PerlSearch this book
Previous: 3.2.56 getppid Chapter 3
Functions
Next: 3.2.58 getprotobyname
 

3.2.57 getpriority

getpriority 

WHICH

, 

WHO

This function returns the current priority for a process, a process group, or a user. See getpriority (2). Invoking getpriority will produce a fatal error if used on a machine that doesn't implement getpriority (2). For example, to get the priority of the current process, use:

$curprio = getpriority(0, 0);


Previous: 3.2.56 getppid Programming Perl Next: 3.2.58 getprotobyname
3.2.56 getppid Book Index 3.2.58 getprotobyname