Skip to content

Commit 2507e7f

Browse files
leahneukirchenrichfelker
authored andcommitted
define RLIMIT_RTTIME, bump RLIMIT_NLIMITS
This macro exists since Linux 2.6.25 and is defined in glibc since 2011.
1 parent 70d8060 commit 2507e7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/sys/resource.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
9090
#define RLIMIT_MSGQUEUE 12
9191
#define RLIMIT_NICE 13
9292
#define RLIMIT_RTPRIO 14
93-
#define RLIMIT_NLIMITS 15
93+
#define RLIMIT_RTTIME 15
94+
#define RLIMIT_NLIMITS 16
9495

9596
#define RLIM_NLIMITS RLIMIT_NLIMITS
9697

0 commit comments

Comments
 (0)