Skip to content

Commit cab41d7

Browse files
committed
Add missing termios constants for Mac
1 parent 83f5543 commit cab41d7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,18 @@ pub const NOTE_TRACK: ::uint32_t = 0x00000001;
12331233
pub const NOTE_TRACKERR: ::uint32_t = 0x00000002;
12341234
pub const NOTE_CHILD: ::uint32_t = 0x00000004;
12351235

1236+
pub const OCRNL: ::c_int = 0x00000010;
1237+
pub const ONOCR: ::c_int = 0x00000020;
1238+
pub const ONLRET: ::c_int = 0x00000040;
1239+
pub const OFILL: ::c_int = 0x00000080;
1240+
pub const NLDLY: ::c_int = 0x00000300;
1241+
pub const TABDLY: ::c_int = 0x00000c04;
1242+
pub const CRDLY: ::c_int = 0x00003000;
1243+
pub const FFDLY: ::c_int = 0x00004000;
1244+
pub const BSDLY: ::c_int = 0x00008000;
1245+
pub const VTDLY: ::c_int = 0x00010000;
1246+
pub const OFDEL: ::c_int = 0x00020000;
1247+
12361248
pub const NL0: ::c_int = 0x00000000;
12371249
pub const NL1: ::c_int = 0x00000100;
12381250
pub const TAB0: ::c_int = 0x00000000;

0 commit comments

Comments
 (0)