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 @@ -802,6 +802,15 @@ pub const RLIMIT_KQUEUES: ::c_int = 13;
802
802
pub const RLIMIT_UMTXP : :: c_int = 14 ;
803
803
#[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
804
804
pub const RLIM_NLIMITS : :: rlim_t = 15 ;
805
+ pub const RLIM_SAVED_MAX : :: rlim_t = :: RLIM_INFINITY ;
806
+ pub const RLIM_SAVED_CUR : :: rlim_t = :: RLIM_INFINITY ;
807
+
808
+ pub const CP_USER : :: c_int = 0 ;
809
+ pub const CP_NICE : :: c_int = 1 ;
810
+ pub const CP_SYS : :: c_int = 2 ;
811
+ pub const CP_INTR : :: c_int = 3 ;
812
+ pub const CP_IDLE : :: c_int = 4 ;
813
+ pub const CPUSTATES : :: c_int = 5 ;
805
814
806
815
pub const NI_NOFQDN : :: c_int = 0x00000001 ;
807
816
pub const NI_NUMERICHOST : :: c_int = 0x00000002 ;
@@ -1787,6 +1796,8 @@ pub const PUSER: ::c_int = PRI_MIN_TIMESHARE;
1787
1796
pub const PRI_MIN_IDLE : :: c_int = 224 ;
1788
1797
pub const PRI_MAX_IDLE : :: c_int = PRI_MAX ;
1789
1798
1799
+ pub const NZERO : :: c_int = 0 ;
1800
+
1790
1801
// Resource utilization information.
1791
1802
pub const RUSAGE_THREAD : :: c_int = 1 ;
1792
1803
You can’t perform that action at this time.
0 commit comments