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;
838
838
pub const RLIMIT_UMTXP : :: c_int = 14 ;
839
839
#[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
840
840
pub 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 ;
841
850
842
851
pub const NI_NOFQDN : :: c_int = 0x00000001 ;
843
852
pub const NI_NUMERICHOST : :: c_int = 0x00000002 ;
@@ -1896,6 +1905,8 @@ pub const PUSER: ::c_int = PRI_MIN_TIMESHARE;
1896
1905
pub const PRI_MIN_IDLE : :: c_int = 224 ;
1897
1906
pub const PRI_MAX_IDLE : :: c_int = PRI_MAX ;
1898
1907
1908
+ pub const NZERO : :: c_int = 0 ;
1909
+
1899
1910
// Resource utilization information.
1900
1911
pub const RUSAGE_THREAD : :: c_int = 1 ;
1901
1912
You can’t perform that action at this time.
0 commit comments