File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -69,3 +69,5 @@ pub const F_GETLK: ::c_int = 7;
69
69
pub const F_SETLK : :: c_int = 8 ;
70
70
pub const F_SETLKW : :: c_int = 9 ;
71
71
pub const ELAST : :: c_int = 99 ;
72
+ pub const RLIM_POSIXLOCKS : :: c_int = 11 ;
73
+ pub const RLIM_NLIMITS : :: rlim_t = 12 ;
Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ pub const F_GETLK: ::c_int = 11;
54
54
pub const F_SETLK : :: c_int = 12 ;
55
55
pub const F_SETLKW : :: c_int = 13 ;
56
56
pub const ELAST : :: c_int = 96 ;
57
+ pub const RLIMIT_NPTS : :: c_int = 11 ;
58
+ pub const RLIMIT_SWAP : :: c_int = 12 ;
59
+ pub const RLIM_NLIMITS : :: rlim_t = 13 ;
57
60
58
61
extern {
59
62
pub fn __error ( ) -> * mut :: c_int ;
Original file line number Diff line number Diff line change @@ -395,12 +395,6 @@ pub const RLIMIT_NOFILE: ::c_int = 8;
395
395
pub const RLIMIT_SBSIZE : :: c_int = 9 ;
396
396
pub const RLIMIT_VMEM : :: c_int = 10 ;
397
397
pub const RLIMIT_AS : :: c_int = RLIMIT_VMEM ;
398
- #[ cfg( not( target_os = "dragonfly" ) ) ]
399
- pub const RLIMIT_NPTS : :: c_int = 11 ;
400
- #[ cfg( not( target_os = "dragonfly" ) ) ]
401
- pub const RLIMIT_SWAP : :: c_int = 12 ;
402
-
403
- pub const RLIM_NLIMITS : rlim_t = 13 ;
404
398
pub const RLIM_INFINITY : rlim_t = 0x7fff_ffff_ffff_ffff ;
405
399
406
400
pub const RUSAGE_SELF : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments