Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Created July 9, 2015 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shichao-an/fade39d67294333ef22b to your computer and use it in GitHub Desktop.
Save shichao-an/fade39d67294333ef22b to your computer and use it in GitHub Desktop.
#include <sys/resource.h>
int getpriority(int which, id_t who);
/* Returns: nice value between −NZERO and NZERO−1 if OK, −1 on error */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment