Commit 329a5e7
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 #4735.
(backport <#4736>)
(cherry picked from commit 755613e)1 parent 72a40e2 commit 329a5e7
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3341 | 3341 | | |
3342 | 3342 | | |
3343 | 3343 | | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
3344 | 3348 | | |
3345 | 3349 | | |
3346 | 3350 | | |
| |||
0 commit comments