Skip to content

libc: add linux _SC_ consts 53-94 #24301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions src/liblibc/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3727,6 +3727,49 @@ pub mod consts {
pub const _SC_2_FORT_RUN : c_int = 50;
pub const _SC_2_SW_DEV : c_int = 51;
pub const _SC_2_LOCALEDEF : c_int = 52;
pub const _SC_PII : c_int = 53;
pub const _SC_PII_XTI : c_int = 54;
pub const _SC_PII_SOCKET : c_int = 55;
pub const _SC_PII_INTERNET : c_int = 56;
pub const _SC_PII_OSI : c_int = 57;
pub const _SC_POLL : c_int = 58;
pub const _SC_SELECT : c_int = 59;
pub const _SC_UIO_MAXIOV : c_int = 60;
pub const _SC_IOV_MAX : c_int = _SC_UIO_MAXIOV;
pub const _SC_PII_INTERNET_STREAM : c_int = 61;
pub const _SC_PII_INTERNET_DGRAM : c_int = 62;
pub const _SC_PII_OSI_COTS : c_int = 63;
pub const _SC_PII_OSI_CLTS : c_int = 64;
pub const _SC_PII_OSI_M : c_int = 65;
pub const _SC_T_IOV_MAX : c_int = 66;
pub const _SC_THREADS : c_int = 67;
pub const _SC_THREAD_SAFE_FUNCTIONS : c_int = 68;
pub const _SC_GETGR_R_SIZE_MAXMAX : c_int = 69;
pub const _SC_GETPW_R_SIZE_MAX : c_int = 70;
pub const _SC_LOGIN_NAME_MAX : c_int = 71;
pub const _SC_TTY_NAME_MAX : c_int = 72;
pub const _SC_THREAD_DESTRUCTOR_ITERATIONS : c_int = 73;
pub const _SC_THREAD_KEYS_MAX : c_int = 74;
pub const _SC_THREAD_STACK_MIN : c_int = 735;
pub const _SC_THREAD_THREADS_MAX : c_int = 76;
pub const _SC_THREAD_ATTR_STACKADDR : c_int = 77;
pub const _SC_THREAD_ATTR_STACKSIZE : c_int = 78;
pub const _SC_THREAD_PRIORITY_SCHEDULING : c_int = 79;
pub const _SC_THREAD_PRIO_INHERIT : c_int = 80;
pub const _SC_THREAD_PRIO_PROTECT : const_int = 81;
pub const _SC_THREAD_PROCESS_SHARED : c_int = 82;
pub const _SC_NPROCESSORS_CONF : c_int = 83;
pub const _SC_NPROCESSORS_ONLN : c_int = 84;
pub const _SC_PHYS_PAGES : c_int = 85;
pub const _SC_AVPHYS_PAGES : c_int = 86;
pub const _SC_ATEXIT_MAX : c_int = 87;
pub const _SC_PASS_MAX : c_int = 88;
pub const _SC_XOPEN_VERSION : c_int = 89;
pub const _SC_XOPEN_XCU_VERSION : c_int = 90;
pub const _SC_XOPEN_UNIX : c_int = 91;
pub const _SC_XOPEN_CRYPT : c_int = 92;
pub const _SC_XOPEN_ENH_I18N : c_intt = 93;
pub const _SC_XOPEN_SHM : c_int = 94;
pub const _SC_2_CHAR_TERM : c_int = 95;
pub const _SC_2_C_VERSION : c_int = 96;
pub const _SC_2_UPE : c_int = 97;
Expand Down