aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_ptmx.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-20 16:31:14 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-20 16:45:35 +0100
commitbc5869180f69e2ad6c6b823e129e08a8e523d800 (patch)
tree3ed8b30b8fbba5535e993eb7b72978853a84243d /sys/linux/dev_ptmx.txt
parentf83f92fd5e8f53114eb4e4149c19f2c4d7fddc78 (diff)
sys/linux: fix 240 warnings in descriptions
Sweeping fix of everything up to socket_netlink_route.txt. Update #590
Diffstat (limited to 'sys/linux/dev_ptmx.txt')
-rw-r--r--sys/linux/dev_ptmx.txt43
1 files changed, 19 insertions, 24 deletions
diff --git a/sys/linux/dev_ptmx.txt b/sys/linux/dev_ptmx.txt
index 90ea15007..9d9f4f96c 100644
--- a/sys/linux/dev_ptmx.txt
+++ b/sys/linux/dev_ptmx.txt
@@ -124,7 +124,7 @@ ioctl$VT_RESIZE(fd fd_tty, cmd const[VT_RESIZE], arg ptr[in, vt_sizes])
ioctl$VT_RESIZEX(fd fd_tty, cmd const[VT_RESIZEX], arg ptr[in, vt_consize])
# For the TIOCLINUX ioctl, see console_ioctl(4).
-ioctl$TIOCL_SETSEL(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, tiocl_selection])
+ioctl$TIOCL_SETSEL(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, tiocl_selection_arg])
ioctl$TIOCL_PASTESEL(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, const[TIOCL_PASTESEL, int8]])
ioctl$TIOCL_UNBLANKSCREEN(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, const[TIOCL_UNBLANKSCREEN, int8]])
ioctl$TIOCL_SELLOADLUT(fd fd_tty, cmd const[TIOCLINUX], arg ptr[in, loadlut])
@@ -166,18 +166,12 @@ termiox {
}
termios {
- iflag int32
- oflag int32
- cflag int32
- lflag int32
- line int8[N_TTY:N_NULL]
- cc0 int8
- cc1 int8
- cc2 int8
- cc3_6 int32
- cc7_10 int32
- cc11_14 int32
- cc15_18 int32
+ c_iflag int32
+ c_oflag int32
+ c_cflag int32
+ c_lflag int32
+ c_line int8[N_TTY:N_NULL]
+ c_cc array[int8, NCCS]
}
termios2 {
@@ -192,16 +186,12 @@ termios2 {
}
termio {
- iflag int16
- oflag int16
- cflag int16
- lflag int16
- line int8[N_TTY:N_NULL]
- cc0 int8
- cc1 int8
- cc2 int8
- cc3_6 int32
- cc7 int8
+ c_iflag int16
+ c_oflag int16
+ c_cflag int16
+ c_lflag int16
+ c_line int8[N_TTY:N_NULL]
+ c_cc array[int8, NCC]
}
winsize {
@@ -286,6 +276,11 @@ vt_consize {
ccol int16
}
+tiocl_selection_arg {
+ subcode const[TIOCL_SETSEL, int8]
+ data tiocl_selection
+} [packed]
+
tiocl_selection {
subcode const[TIOCL_SETSEL, int8]
xs int16
@@ -324,7 +319,7 @@ serial_struct {
xmit_fifo_size int32
custom_divisor int32
baud_base int32
- close_delay int32
+ close_delay int16
io_type int8
reserved_char int8
hub6 int32