Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Created July 9, 2015 21:29
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/3b435940e3b7c43df4d6 to your computer and use it in GitHub Desktop.
Save shichao-an/3b435940e3b7c43df4d6 to your computer and use it in GitHub Desktop.
#include <sys/resource.h>
int setpriority(int which, id_t who, int value);
/* Returns: 0 if OK, −1 on error */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment