mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
LibC: Define RLIM_NLIMITS constant
This is required by programs that want to either iterate over all resources, or check that a resource identifier is valid before passing it down.
This commit is contained in:
parent
84f0d2aece
commit
2c22ff94b4
Notes:
sideshowbarker
2024-07-18 04:21:48 +09:00
Author: https://github.com/rtobar Commit: https://github.com/SerenityOS/serenity/commit/2c22ff94b43 Pull-request: https://github.com/SerenityOS/serenity/pull/9914
@ -44,6 +44,8 @@ int getrusage(int who, struct rusage* usage);
|
||||
#define RLIMIT_STACK 6
|
||||
#define RLIMIT_AS 7
|
||||
|
||||
#define RLIM_NLIMITS 8
|
||||
|
||||
#define RLIM_INFINITY SIZE_MAX
|
||||
|
||||
typedef size_t rlim_t;
|
||||
|
Loading…
Reference in New Issue
Block a user