diff options
author | David Carlier <devnexen@gmail.com> | 2022-06-12 16:50:05 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2022-06-12 16:50:05 +0000 |
commit | 18d8131e5291e99f195f4222dc44a32f2cea9ce0 (patch) | |
tree | ead094add7fc74b7acd171134d9a29bc4c665e4f /src/unix/haiku | |
parent | 4042ce2ee148a5051f4609f00ef074e6b4e252f3 (diff) | |
download | rust-libc-18d8131e5291e99f195f4222dc44a32f2cea9ce0.tar.gz |
haiku sigaltstack api completion.
Diffstat (limited to 'src/unix/haiku')
-rw-r--r-- | src/unix/haiku/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unix/haiku/mod.rs b/src/unix/haiku/mod.rs index 9d0c57a3bb..3cf12800f6 100644 --- a/src/unix/haiku/mod.rs +++ b/src/unix/haiku/mod.rs @@ -1051,6 +1051,7 @@ pub const LOCK_EX: ::c_int = 0x02; pub const LOCK_NB: ::c_int = 0x04; pub const LOCK_UN: ::c_int = 0x08; +pub const MINSIGSTKSZ: ::size_t = 8192; pub const SIGSTKSZ: ::size_t = 16384; pub const IOV_MAX: ::c_int = 1024; @@ -1067,6 +1068,9 @@ pub const SA_NOMASK: ::c_int = SA_NODEFER; pub const SA_STACK: ::c_int = SA_ONSTACK; pub const SA_ONESHOT: ::c_int = SA_RESETHAND; +pub const SS_ONSTACK: ::c_int = 0x1; +pub const SS_DISABLE: ::c_int = 0x2; + pub const FD_SETSIZE: usize = 1024; pub const RTLD_LOCAL: ::c_int = 0x0; |