Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#include <sys/resource.h>
int getrlimit(int resource, struct rlimit *rlptr);
int setrlimit(int resource, const struct rlimit *rlptr);
/* Both return: 0 if OK, −1 on error */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.