diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/unix/bsd/apple/mod.rs | 2 | ||||
-rw-r--r-- | src/unix/bsd/mod.rs | 2 | ||||
-rw-r--r-- | src/unix/bsd/openbsdlike/mod.rs | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs index e15d8d67f7..0c7a17b214 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -571,8 +571,6 @@ pub const SO_DONTTRUNC: ::c_int = 0x2000; pub const SO_WANTMORE: ::c_int = 0x4000; pub const SO_WANTOOBFLAG: ::c_int = 0x8000; -pub const PATH_MAX: ::c_int = 1024; - pub const _SC_ARG_MAX: ::c_int = 1; pub const _SC_CHILD_MAX: ::c_int = 2; pub const _SC_CLK_TCK: ::c_int = 3; diff --git a/src/unix/bsd/mod.rs b/src/unix/bsd/mod.rs index 80746a8843..327e12c19c 100644 --- a/src/unix/bsd/mod.rs +++ b/src/unix/bsd/mod.rs @@ -79,6 +79,8 @@ s! { pub const FIOCLEX: ::c_ulong = 0x20006601; pub const FIONBIO: ::c_ulong = 0x8004667e; +pub const PATH_MAX: ::c_int = 1024; + pub const SA_ONSTACK: ::c_int = 0x0001; pub const SA_SIGINFO: ::c_int = 0x0040; pub const SA_RESTART: ::c_int = 0x0002; diff --git a/src/unix/bsd/openbsdlike/mod.rs b/src/unix/bsd/openbsdlike/mod.rs index eb19963419..d78c15d369 100644 --- a/src/unix/bsd/openbsdlike/mod.rs +++ b/src/unix/bsd/openbsdlike/mod.rs @@ -324,8 +324,6 @@ pub const CTL_KERN : ::c_int = 1; pub const IPPROTO_RAW : ::c_int = 255; -pub const PATH_MAX: ::c_int = 1024; - pub const _SC_ARG_MAX : ::c_int = 1; pub const _SC_CHILD_MAX : ::c_int = 2; pub const _SC_NGROUPS_MAX : ::c_int = 4; |