Skip to content

Commit 25498ef

Browse files
committed
FIO* for *-apple-*
1 parent 8565755 commit 25498ef

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/unix/bsd/apple/b64.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,3 @@ pub const __PTHREAD_RWLOCKATTR_SIZE__: usize = 16;
6363

6464
pub const TIOCTIMESTAMP: ::c_ulong = 0x40107459;
6565
pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40107458;
66-
67-
pub const FIONREAD: ::c_ulong = 0x4004667f;

src/unix/bsd/apple/mod.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,15 @@ pub const TIOCPTYGRANT: ::c_uint = 0x20007454;
10851085
pub const TIOCPTYGNAME: ::c_uint = 0x40807453;
10861086
pub const TIOCPTYUNLK: ::c_uint = 0x20007452;
10871087

1088+
pub const FIOCLEX: ::c_uint = 0x20006601;
1089+
pub const FIONCLEX: ::c_uint = 0x20006602;
1090+
pub const FIONREAD: ::c_ulong = 0x4004667f;
1091+
pub const FIONBIO: ::c_ulong = 0x8004667e;
1092+
pub const FIOASYNC: ::c_ulong = 0x8004667d;
1093+
pub const FIOSETOWN: ::c_ulong = 0x8004667c;
1094+
pub const FIOGETOWN: ::c_ulong = 0x4004667b;
1095+
pub const FIODTYPE: ::c_ulong = 0x4004667a;
1096+
10881097
pub const B0: speed_t = 0;
10891098
pub const B50: speed_t = 50;
10901099
pub const B75: speed_t = 75;

0 commit comments

Comments
 (0)