Skip to content

Commit 5d91cb3

Browse files
committed
Add FIOCLEX
1 parent e3c95f1 commit 5d91cb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/newlib/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ pub const SEEK_CUR: ::c_int = 1;
407407
pub const SEEK_END: ::c_int = 2;
408408

409409
pub const FIONBIO: ::c_int = 1;
410+
pub const FIOCLEX: ::c_ulong = 0x20006601;
410411

411412
pub const S_BLKSIZE: ::mode_t = 1024;
412413
pub const S_IREAD: ::mode_t = 256;

0 commit comments

Comments
 (0)