Home
last modified time | relevance | path

Searched refs:k_termios (Results 1 – 3 of 3) sorted by relevance

/glibc-2.36/sysdeps/unix/sysv/linux/
Dtcgetattr.c35 struct __kernel_termios k_termios; in __tcgetattr() local
38 retval = INLINE_SYSCALL (ioctl, 3, fd, TCGETS, &k_termios); in __tcgetattr()
42 termios_p->c_iflag = k_termios.c_iflag; in __tcgetattr()
43 termios_p->c_oflag = k_termios.c_oflag; in __tcgetattr()
44 termios_p->c_cflag = k_termios.c_cflag; in __tcgetattr()
45 termios_p->c_lflag = k_termios.c_lflag; in __tcgetattr()
46 termios_p->c_line = k_termios.c_line; in __tcgetattr()
49 termios_p->c_ispeed = k_termios.c_ispeed; in __tcgetattr()
51 termios_p->c_ispeed = k_termios.c_cflag & (CBAUD | CBAUDEX); in __tcgetattr()
56 termios_p->c_ospeed = k_termios.c_ospeed; in __tcgetattr()
[all …]
Dtcsetattr.c46 struct __kernel_termios k_termios; in __tcsetattr() local
64 k_termios.c_iflag = termios_p->c_iflag & ~IBAUD0; in __tcsetattr()
65 k_termios.c_oflag = termios_p->c_oflag; in __tcsetattr()
66 k_termios.c_cflag = termios_p->c_cflag; in __tcsetattr()
67 k_termios.c_lflag = termios_p->c_lflag; in __tcsetattr()
68 k_termios.c_line = termios_p->c_line; in __tcsetattr()
70 k_termios.c_ispeed = termios_p->c_ispeed; in __tcsetattr()
73 k_termios.c_ospeed = termios_p->c_ospeed; in __tcsetattr()
75 memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0], in __tcsetattr()
78 return INLINE_SYSCALL (ioctl, 3, fd, cmd, &k_termios); in __tcsetattr()
/glibc-2.36/ChangeLog.old/
DChangeLog.91474 read-only struct termios_p* but change k_termios member directly.