Commit 755613e
Add missing TIOCGETA/TIOCSETA constants for macOS
- Add TIOCGETA (0x40487413) for getting termios state
- Add TIOCSETA (0x80487414) for setting termios state immediately
- Add TIOCSETAW (0x80487415) for draining output then setting
- Add TIOCSETAF (0x80487416) for draining output, flushing input, then setting
These constants are present in macOS system headers but were missing
from the libc crate. Fixes issue rust-lang#4735.1 parent b1be455 commit 755613e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3150 | 3150 | | |
3151 | 3151 | | |
3152 | 3152 | | |
| 3153 | + | |
| 3154 | + | |
| 3155 | + | |
| 3156 | + | |
3153 | 3157 | | |
3154 | 3158 | | |
3155 | 3159 | | |
| |||
0 commit comments