Полезная информация

Programming Perl

Programming PerlSearch this book
Previous: 3.2.56 getppidChapter 3
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 getppidProgramming PerlNext: 3.2.58 getprotobyname
3.2.56 getppidBook Index3.2.58 getprotobyname