Skip to content

Commit 81c333f

Browse files
committed
Auto merge of #2825 - devnexen:haiku_sigaltstack, r=JohnTitor
haiku sigaltstack api completion.
2 parents 6b07546 + 18d8131 commit 81c333f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,6 +1051,7 @@ pub const LOCK_EX: ::c_int = 0x02;
10511051
pub const LOCK_NB: ::c_int = 0x04;
10521052
pub const LOCK_UN: ::c_int = 0x08;
10531053

1054+
pub const MINSIGSTKSZ: ::size_t = 8192;
10541055
pub const SIGSTKSZ: ::size_t = 16384;
10551056

10561057
pub const IOV_MAX: ::c_int = 1024;
@@ -1067,6 +1068,9 @@ pub const SA_NOMASK: ::c_int = SA_NODEFER;
10671068
pub const SA_STACK: ::c_int = SA_ONSTACK;
10681069
pub const SA_ONESHOT: ::c_int = SA_RESETHAND;
10691070

1071+
pub const SS_ONSTACK: ::c_int = 0x1;
1072+
pub const SS_DISABLE: ::c_int = 0x2;
1073+
10701074
pub const FD_SETSIZE: usize = 1024;
10711075

10721076
pub const RTLD_LOCAL: ::c_int = 0x0;

0 commit comments

Comments
 (0)