getrlimit
On success, these system calls return 0. On error, -1 is returned, and errno is set to indicate the error.