Skip to content

Commit a3c843b

Browse files
author
Ian Henry
committed
Add TIOCGWINSZ accessor to solaris module
Signed-off-by: Ian Henry <[email protected]>
1 parent f31d0f7 commit a3c843b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/solaris/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,9 @@ pub const PORT_SOURCE_FILE: ::c_int = 7;
11951195
pub const PORT_SOURCE_POSTWAIT: ::c_int = 8;
11961196
pub const PORT_SOURCE_SIGNAL: ::c_int = 9;
11971197

1198+
pub const TIOCGWINSZ: ::c_int = 0x5468;
1199+
pub const TIOCSWINSZ: ::c_int = 0x5467;
1200+
11981201
pub const EPOLLIN: ::c_int = 0x1;
11991202
pub const EPOLLPRI: ::c_int = 0x2;
12001203
pub const EPOLLOUT: ::c_int = 0x4;

0 commit comments

Comments
 (0)