get/set resource limits NAME getrlimit, setrlimit, prlimit - get/set resource limits LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #in......cmd , long newlimit ); DESCRIPTION Warning: this routine is obsolete. Use getrlimit (2), setrlimit (2), and sysconf (3) instead. For the shell command ulimit , see bash (1). The…...t it encounters the upwardly growing heap, or it reaches a limit established by a call to setrlimit(RLIMIT_STACK, &rlim) . If the standard stack is exhausted, the kernel sends t…...mber of limits that may trigger this error: the RLIMIT_NPROC soft resource limit (set via setrlimit (2)), which limits the number of processes and threads for a real user ID, wa…...is append-only. EAGAIN The file has been locked, or too much memory has been locked (see setrlimit (2)). EBADF fd is not a valid file descriptor (and MAP_ANONYMOUS was not set).…