Add sysconf constants for Illumos
This commit is contained in:
parent
948d36d6c4
commit
41404970a3
@ -884,9 +884,12 @@ pub const _SC_OPEN_MAX: ::c_int = 5;
|
||||
pub const _SC_JOB_CONTROL: ::c_int = 6;
|
||||
pub const _SC_SAVED_IDS: ::c_int = 7;
|
||||
pub const _SC_VERSION: ::c_int = 8;
|
||||
pub const _SC_PASS_MAX: ::c_int = 9;
|
||||
pub const _SC_LOGNAME_MAX: ::c_int = 10;
|
||||
pub const _SC_PAGESIZE: ::c_int = 11;
|
||||
pub const _SC_PAGE_SIZE: ::c_int = _SC_PAGESIZE;
|
||||
pub const _SC_XOPEN_VERSION: ::c_int = 12;
|
||||
pub const _SC_NPROCESSORS_CONF: ::c_int = 14;
|
||||
pub const _SC_NPROCESSORS_ONLN: ::c_int = 15;
|
||||
pub const _SC_STREAM_MAX: ::c_int = 16;
|
||||
pub const _SC_TZNAME_MAX: ::c_int = 17;
|
||||
@ -912,11 +915,14 @@ pub const _SC_SEM_NSEMS_MAX: ::c_int = 36;
|
||||
pub const _SC_SEM_VALUE_MAX: ::c_int = 37;
|
||||
pub const _SC_SHARED_MEMORY_OBJECTS: ::c_int = 38;
|
||||
pub const _SC_SIGQUEUE_MAX: ::c_int = 39;
|
||||
pub const _SC_SIGRT_MIN: ::c_int = 40;
|
||||
pub const _SC_SIGRT_MAX: ::c_int = 41;
|
||||
pub const _SC_SYNCHRONIZED_IO: ::c_int = 42;
|
||||
pub const _SC_TIMERS: ::c_int = 43;
|
||||
pub const _SC_TIMER_MAX: ::c_int = 44;
|
||||
pub const _SC_2_C_BIND: ::c_int = 45;
|
||||
pub const _SC_2_C_DEV: ::c_int = 46;
|
||||
pub const _SC_2_C_VERSION: ::c_int = 47;
|
||||
pub const _SC_2_FORT_DEV: ::c_int = 48;
|
||||
pub const _SC_2_FORT_RUN: ::c_int = 49;
|
||||
pub const _SC_2_LOCALEDEF: ::c_int = 50;
|
||||
@ -939,6 +945,25 @@ pub const _SC_XOPEN_XCU_VERSION: ::c_int = 67;
|
||||
pub const _SC_ATEXIT_MAX: ::c_int = 76;
|
||||
pub const _SC_IOV_MAX: ::c_int = 77;
|
||||
pub const _SC_XOPEN_UNIX: ::c_int = 78;
|
||||
pub const _SC_T_IOV_MAX: ::c_int = 79;
|
||||
pub const _SC_PHYS_PAGES: ::c_int = 500;
|
||||
pub const _SC_AVPHYS_PAGES: ::c_int = 501;
|
||||
pub const _SC_COHER_BLKSZ: ::c_int = 503;
|
||||
pub const _SC_SPLIT_CACHE: ::c_int = 504;
|
||||
pub const _SC_ICACHE_SZ: ::c_int = 505;
|
||||
pub const _SC_DCACHE_SZ: ::c_int = 506;
|
||||
pub const _SC_ICACHE_LINESZ: ::c_int = 507;
|
||||
pub const _SC_DCACHE_LINESZ: ::c_int = 508;
|
||||
pub const _SC_ICACHE_BLKSZ: ::c_int = 509;
|
||||
pub const _SC_DCACHE_BLKSZ: ::c_int = 510;
|
||||
pub const _SC_DCACHE_TBLKSZ: ::c_int = 511;
|
||||
pub const _SC_ICACHE_ASSOC: ::c_int = 512;
|
||||
pub const _SC_DCACHE_ASSOC: ::c_int = 513;
|
||||
pub const _SC_MAXPID: ::c_int = 514;
|
||||
pub const _SC_STACK_PROT: ::c_int = 515;
|
||||
pub const _SC_NPROCESSORS_MAX: ::c_int = 516;
|
||||
pub const _SC_CPUID_MAX: ::c_int = 517;
|
||||
pub const _SC_EPHID_MAX: ::c_int = 518;
|
||||
pub const _SC_THREAD_DESTRUCTOR_ITERATIONS: ::c_int = 568;
|
||||
pub const _SC_GETGR_R_SIZE_MAX: ::c_int = 569;
|
||||
pub const _SC_GETPW_R_SIZE_MAX: ::c_int = 570;
|
||||
@ -958,6 +983,49 @@ pub const _SC_THREAD_SAFE_FUNCTIONS: ::c_int = 583;
|
||||
pub const _SC_XOPEN_LEGACY: ::c_int = 717;
|
||||
pub const _SC_XOPEN_REALTIME: ::c_int = 718;
|
||||
pub const _SC_XOPEN_REALTIME_THREADS: ::c_int = 719;
|
||||
pub const _SC_XBS5_ILP32_OFF32: ::c_int = 720;
|
||||
pub const _SC_XBS5_ILP32_OFFBIG: ::c_int = 721;
|
||||
pub const _SC_XBS5_LP64_OFF64: ::c_int = 722;
|
||||
pub const _SC_XBS5_LPBIG_OFFBIG: ::c_int = 723;
|
||||
pub const _SC_2_PBS: ::c_int = 724;
|
||||
pub const _SC_2_PBS_ACCOUNTING: ::c_int = 725;
|
||||
pub const _SC_2_PBS_CHECKPOINT: ::c_int = 726;
|
||||
pub const _SC_2_PBS_LOCATE: ::c_int = 728;
|
||||
pub const _SC_2_PBS_MESSAGE: ::c_int = 729;
|
||||
pub const _SC_2_PBS_TRACK: ::c_int = 730;
|
||||
pub const _SC_ADVISORY_INFO: ::c_int = 731;
|
||||
pub const _SC_BARRIERS: ::c_int = 732;
|
||||
pub const _SC_CLOCK_SELECTION: ::c_int = 733;
|
||||
pub const _SC_CPUTIME: ::c_int = 734;
|
||||
pub const _SC_HOST_NAME_MAX: ::c_int = 735;
|
||||
pub const _SC_MONOTONIC_CLOCK: ::c_int = 736;
|
||||
pub const _SC_READER_WRITER_LOCKS: ::c_int = 737;
|
||||
pub const _SC_REGEXP: ::c_int = 738;
|
||||
pub const _SC_SHELL: ::c_int = 739;
|
||||
pub const _SC_SPAWN: ::c_int = 740;
|
||||
pub const _SC_SPIN_LOCKS: ::c_int = 741;
|
||||
pub const _SC_SPORADIC_SERVER: ::c_int = 742;
|
||||
pub const _SC_SS_REPL_MAX: ::c_int = 743;
|
||||
pub const _SC_SYMLOOP_MAX: ::c_int = 744;
|
||||
pub const _SC_THREAD_CPUTIME: ::c_int = 745;
|
||||
pub const _SC_THREAD_SPORADIC_SERVER: ::c_int = 746;
|
||||
pub const _SC_TIMEOUTS: ::c_int = 747;
|
||||
pub const _SC_TRACE: ::c_int = 748;
|
||||
pub const _SC_TRACE_EVENT_FILTER: ::c_int = 749;
|
||||
pub const _SC_TRACE_EVENT_NAME_MAX: ::c_int = 750;
|
||||
pub const _SC_TRACE_INHERIT: ::c_int = 751;
|
||||
pub const _SC_TRACE_LOG: ::c_int = 752;
|
||||
pub const _SC_TRACE_NAME_MAX: ::c_int = 753;
|
||||
pub const _SC_TRACE_SYS_MAX: ::c_int = 754;
|
||||
pub const _SC_TRACE_USER_EVENT_MAX: ::c_int = 755;
|
||||
pub const _SC_TYPED_MEMORY_OBJECTS: ::c_int = 756;
|
||||
pub const _SC_V6_ILP32_OFF32: ::c_int = 757;
|
||||
pub const _SC_V6_ILP32_OFFBIG: ::c_int = 758;
|
||||
pub const _SC_V6_LP64_OFF64: ::c_int = 759;
|
||||
pub const _SC_V6_LPBIG_OFFBIG: ::c_int = 760;
|
||||
pub const _SC_XOPEN_STREAMS: ::c_int = 761;
|
||||
pub const _SC_IPV6: ::c_int = 762;
|
||||
pub const _SC_RAW_SOCKETS: ::c_int = 763;
|
||||
|
||||
pub const _MUTEX_MAGIC: u16 = 0x4d58; // MX
|
||||
pub const _COND_MAGIC: u16 = 0x4356; // CV
|
||||
|
Loading…
x
Reference in New Issue
Block a user