We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
struct termio
1 parent 34ff3a7 commit 2f671dfCopy full SHA for 2f671df
src/test/ioctl_tty.c
@@ -19,12 +19,24 @@ struct termios2 {
19
};
20
#endif
21
22
+/* glibc 2.42 removed termio:
23
+ https://sourceware.org/git/?p=glibc.git;a=commit;h=e04afb71771710cdc6025fe95908f5f17de7b72d
24
+*/
25
+struct rr_termio {
26
+ unsigned short c_iflag;
27
+ unsigned short c_oflag;
28
+ unsigned short c_cflag;
29
+ unsigned short c_lflag;
30
+ unsigned char c_line;
31
+ unsigned char c_cc[8];
32
+};
33
+
34
int main(void) {
35
int fd;
36
int ret;
37
struct termios* tc;
38
struct termios2* tc2;
- struct termio* tio;
39
+ struct rr_termio* tio;
40
pid_t* pgrp;
41
int* navail;
42
int* outq;
0 commit comments