Add RLIM_NLIMITS constant as alias of RLIMIT_NLIMITS on linux_like
This commit is contained in:
parent
32457ddd8f
commit
4b60b769e4
@ -2717,6 +2717,7 @@ pub const POSIX_MADV_DONTNEED: ::c_int = 4;
|
||||
pub const RLIM_INFINITY: ::rlim_t = !0;
|
||||
pub const RLIMIT_RTTIME: ::c_int = 15;
|
||||
pub const RLIMIT_NLIMITS: ::c_int = 16;
|
||||
pub const RLIM_NLIMITS: ::c_int = RLIMIT_NLIMITS;
|
||||
|
||||
pub const MAP_ANONYMOUS: ::c_int = MAP_ANON;
|
||||
|
||||
|
@ -1337,6 +1337,7 @@ pub const POSIX_MADV_DONTNEED: ::c_int = 0;
|
||||
|
||||
pub const RLIM_INFINITY: ::rlim_t = !0;
|
||||
pub const RLIMIT_NLIMITS: ::c_int = 15;
|
||||
pub const RLIM_NLIMITS: ::c_int = RLIMIT_NLIMITS;
|
||||
|
||||
pub const MAP_ANONYMOUS: ::c_int = MAP_ANON;
|
||||
|
||||
|
@ -541,6 +541,7 @@ pub const RLIMIT_NICE: ::__rlimit_resource_t = 13;
|
||||
pub const RLIMIT_RTPRIO: ::__rlimit_resource_t = 14;
|
||||
pub const RLIMIT_RTTIME: ::__rlimit_resource_t = 15;
|
||||
pub const RLIMIT_NLIMITS: ::__rlimit_resource_t = 16;
|
||||
pub const RLIM_NLIMITS: ::__rlimit_resource_t = RLIMIT_NLIMITS;
|
||||
|
||||
pub const PRIO_PROCESS: ::__priority_which_t = 0;
|
||||
pub const PRIO_PGRP: ::__priority_which_t = 1;
|
||||
|
@ -171,6 +171,7 @@ pub const RLIMIT_AS: ::c_int = 9;
|
||||
pub const RLIMIT_NPROC: ::c_int = 6;
|
||||
pub const RLIMIT_MEMLOCK: ::c_int = 8;
|
||||
pub const RLIMIT_NLIMITS: ::c_int = 15;
|
||||
pub const RLIM_NLIMITS: ::c_int = RLIMIT_NLIMITS;
|
||||
|
||||
pub const MADV_SOFT_OFFLINE: ::c_int = 101;
|
||||
pub const MCL_CURRENT: ::c_int = 0x0001;
|
||||
|
@ -182,6 +182,7 @@ pub const RLIMIT_AS: ::c_int = 6;
|
||||
pub const RLIMIT_NPROC: ::c_int = 8;
|
||||
pub const RLIMIT_MEMLOCK: ::c_int = 9;
|
||||
pub const RLIMIT_NLIMITS: ::c_int = 15;
|
||||
pub const RLIM_NLIMITS: ::c_int = RLIMIT_NLIMITS;
|
||||
|
||||
pub const MCL_CURRENT: ::c_int = 0x0001;
|
||||
pub const MCL_FUTURE: ::c_int = 0x0002;
|
||||
|
@ -175,6 +175,7 @@ pub const RLIMIT_AS: ::c_int = 9;
|
||||
pub const RLIMIT_NPROC: ::c_int = 6;
|
||||
pub const RLIMIT_MEMLOCK: ::c_int = 8;
|
||||
pub const RLIMIT_NLIMITS: ::c_int = 15;
|
||||
pub const RLIM_NLIMITS: ::c_int = RLIMIT_NLIMITS;
|
||||
|
||||
pub const MCL_CURRENT: ::c_int = 0x2000;
|
||||
pub const MCL_FUTURE: ::c_int = 0x4000;
|
||||
|
@ -231,6 +231,7 @@ pub const RLIMIT_AS: ::c_int = 9;
|
||||
pub const RLIMIT_NPROC: ::c_int = 6;
|
||||
pub const RLIMIT_MEMLOCK: ::c_int = 8;
|
||||
pub const RLIMIT_NLIMITS: ::c_int = 15;
|
||||
pub const RLIM_NLIMITS: ::c_int = RLIMIT_NLIMITS;
|
||||
|
||||
pub const MADV_SOFT_OFFLINE: ::c_int = 101;
|
||||
pub const MCL_CURRENT: ::c_int = 0x0001;
|
||||
|
@ -517,6 +517,7 @@ pub const SYS_pkey_free: ::c_long = 290;
|
||||
pub const SYS_statx: ::c_long = 291;
|
||||
|
||||
pub const RLIMIT_NLIMITS: ::c_int = 15;
|
||||
pub const RLIM_NLIMITS: ::c_int = RLIMIT_NLIMITS;
|
||||
pub const TIOCINQ: ::c_int = ::FIONREAD;
|
||||
pub const MCL_CURRENT: ::c_int = 0x0001;
|
||||
pub const MCL_FUTURE: ::c_int = 0x0002;
|
||||
|
@ -667,6 +667,7 @@ pub const TIOCGRS485: ::c_int = 0x542E;
|
||||
pub const TIOCSRS485: ::c_int = 0x542F;
|
||||
|
||||
pub const RLIMIT_NLIMITS: ::c_int = 15;
|
||||
pub const RLIM_NLIMITS: ::c_int = RLIMIT_NLIMITS;
|
||||
pub const TIOCINQ: ::c_int = ::FIONREAD;
|
||||
pub const MCL_CURRENT: ::c_int = 0x2000;
|
||||
pub const MCL_FUTURE: ::c_int = 0x4000;
|
||||
|
@ -822,6 +822,7 @@ pub const MAP_HUGETLB: ::c_int = 0x040000;
|
||||
pub const MAP_SYNC: ::c_int = 0x080000;
|
||||
|
||||
pub const RLIMIT_NLIMITS: ::c_int = 15;
|
||||
pub const RLIM_NLIMITS: ::c_int = RLIMIT_NLIMITS;
|
||||
pub const TIOCINQ: ::c_int = ::FIONREAD;
|
||||
pub const MCL_CURRENT: ::c_int = 0x0001;
|
||||
pub const MCL_FUTURE: ::c_int = 0x0002;
|
||||
|
@ -49,6 +49,7 @@ pub const RLIMIT_RSS: ::c_int = 7;
|
||||
pub const RLIMIT_NPROC: ::c_int = 8;
|
||||
pub const RLIMIT_MEMLOCK: ::c_int = 9;
|
||||
pub const RLIMIT_NLIMITS: ::c_int = 15;
|
||||
pub const RLIM_NLIMITS: ::c_int = RLIMIT_NLIMITS;
|
||||
|
||||
pub const O_APPEND: ::c_int = 8;
|
||||
pub const O_CREAT: ::c_int = 256;
|
||||
|
Loading…
Reference in New Issue
Block a user