Skip to content

Commit 0cf5560

Browse files
committed
Add some posix_spawn apple extension flags
1 parent 7d2a122 commit 0cf5560

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,10 +2253,14 @@ pub const DLT_LOOP: ::c_uint = 108;
22532253
// sizeof(int32_t)
22542254
pub const BPF_ALIGNMENT: ::c_int = 4;
22552255

2256+
// sys/spawn.h:
22562257
pub const POSIX_SPAWN_RESETIDS: ::c_int = 0x01;
22572258
pub const POSIX_SPAWN_SETPGROUP: ::c_int = 0x02;
22582259
pub const POSIX_SPAWN_SETSIGDEF: ::c_int = 0x04;
22592260
pub const POSIX_SPAWN_SETSIGMASK: ::c_int = 0x08;
2261+
pub const POSIX_SPAWN_SETEXEC: ::c_int = 0x40;
2262+
pub const POSIX_SPAWN_START_SUSPENDED: ::c_int = 0x80;
2263+
pub const POSIX_SPAWN_CLOEXEC_DEFAULT: ::c_int = 0x4000;
22602264

22612265
// sys/ipc.h:
22622266
pub const IPC_CREAT: ::c_int = 0x200;

0 commit comments

Comments
 (0)