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;
802802pub const RLIMIT_UMTXP : :: c_int = 14 ;
803803#[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
804804pub 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 ;
805814
806815pub const NI_NOFQDN : :: c_int = 0x00000001 ;
807816pub const NI_NUMERICHOST : :: c_int = 0x00000002 ;
@@ -1787,6 +1796,8 @@ pub const PUSER: ::c_int = PRI_MIN_TIMESHARE;
17871796pub const PRI_MIN_IDLE : :: c_int = 224 ;
17881797pub const PRI_MAX_IDLE : :: c_int = PRI_MAX ;
17891798
1799+ pub const NZERO : :: c_int = 0 ;
1800+
17901801// Resource utilization information.
17911802pub const RUSAGE_THREAD : :: c_int = 1 ;
17921803
You can’t perform that action at this time.
0 commit comments