Back to index

glibc  2.9
Defines | Functions
getpriority.c File Reference
#include <errno.h>
#include <sys/resource.h>
#include <sysdep.h>
#include <sys/syscall.h>

Go to the source code of this file.


#define PZERO   20


int getpriority (enum __priority_which which, id_t who)

Define Documentation

#define PZERO   20

Definition at line 28 of file getpriority.c.

Function Documentation

int getpriority ( enum __priority_which  which,
id_t  who 

Definition at line 36 of file getpriority.c.

  int res;

  res = INLINE_SYSCALL (getpriority, 2, (int) which, who);
  if (res >= 0)
    res = PZERO - res;
  return res;

Here is the call graph for this function: