ulimit(3) Library Functions Manual ulimit(3) ulimit - C (libc, -lc) #include [[deprecated]] long ulimit(int cmd, long newlimit); Warning: this routine is obsolete. Use getrlimit(2), setrlimit(2), and sysconf(3) instead. For the shell command ulimit, see bash(1). ulimit . cmd : UL_GETFSIZE ( 512 ). UL_SETFSIZE . 3 ( Linux). 4 , (, ). On success, ulimit() returns a nonnegative value. On error, -1 is returned, and errno is set to indicate the error. EPERM . attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |ulimit() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ POSIX.1-2008. SVr4, POSIX.1-2001. POSIX.1-2008 marks it as obsolete. bash(1), getrlimit(2), setrlimit(2), sysconf(3) () Azamat Hackimov , Dmitriy Ovchinnikov , Dmitry Bolkhovskikh , Katrin Kutepova , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.9.1 2 2024 . ulimit(3)