File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -838,6 +838,15 @@ pub const RLIMIT_KQUEUES: ::c_int = 13;
838838pub const RLIMIT_UMTXP : :: c_int = 14 ;
839839#[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
840840pub const RLIM_NLIMITS : :: rlim_t = 15 ;
841+ pub const RLIM_SAVED_MAX : :: rlim_t = :: RLIM_INFINITY ;
842+ pub const RLIM_SAVED_CUR : :: rlim_t = :: RLIM_INFINITY ;
843+
844+ pub const CP_USER : :: c_int = 0 ;
845+ pub const CP_NICE : :: c_int = 1 ;
846+ pub const CP_SYS : :: c_int = 2 ;
847+ pub const CP_INTR : :: c_int = 3 ;
848+ pub const CP_IDLE : :: c_int = 4 ;
849+ pub const CPUSTATES : :: c_int = 5 ;
841850
842851pub const NI_NOFQDN : :: c_int = 0x00000001 ;
843852pub const NI_NUMERICHOST : :: c_int = 0x00000002 ;
@@ -1896,6 +1905,8 @@ pub const PUSER: ::c_int = PRI_MIN_TIMESHARE;
18961905pub const PRI_MIN_IDLE : :: c_int = 224 ;
18971906pub const PRI_MAX_IDLE : :: c_int = PRI_MAX ;
18981907
1908+ pub const NZERO : :: c_int = 0 ;
1909+
18991910// Resource utilization information.
19001911pub const RUSAGE_THREAD : :: c_int = 1 ;
19011912
You can’t perform that action at this time.
0 commit comments