#include <sys/resource.h> int getrlimit (int rltype, struct rlimit *rlimitp);
This function gets the resource limit specified by rltype and stores it in the buffer pointed to by rlimitp.
Zero on success, nonzero on failure.
not ANSI, not POSIX
struct rlimit rlimitbuf; int rc = getrlimit (RLIMIT_STACK, &rlimitbuf);
Go to the first, previous, next, last section, table of contents.