Next: setservent
, Previous: setreuid
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
setrlimit
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/setrlimit.html
LSB specification:
https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-getrlimit-1.html
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
rlim_t
is a 32-bit type, this function does not
allow to set limits larger than 4 GB, such as for RLIMIT_FSIZE. The fix is
to use the AC_SYS_LARGEFILE
macro.