Lines Matching refs:fd
88 __BIONIC_TERMIOS_INLINE int tcdrain(int fd) { in tcdrain() argument
91 return ioctl(fd, TCSBRK, __BIONIC_CAST(static_cast, unsigned long, 1)); in tcdrain()
94 __BIONIC_TERMIOS_INLINE int tcflow(int fd, int action) { in tcflow() argument
95 return ioctl(fd, TCXONC, __BIONIC_CAST(static_cast, unsigned long, action)); in tcflow()
98 __BIONIC_TERMIOS_INLINE int tcflush(int fd, int queue) { in tcflush() argument
99 return ioctl(fd, TCFLSH, __BIONIC_CAST(static_cast, unsigned long, queue)); in tcflush()
102 __BIONIC_TERMIOS_INLINE int tcgetattr(int fd, struct termios* s) { in tcgetattr() argument
103 return ioctl(fd, TCGETS, s); in tcgetattr()
106 __BIONIC_TERMIOS_INLINE pid_t tcgetsid(int fd) { in tcgetsid() argument
108 return (ioctl(fd, TIOCGSID, &sid) == -1) ? -1 : sid; in tcgetsid()
111 __BIONIC_TERMIOS_INLINE int tcsendbreak(int fd, int duration) { in tcsendbreak() argument
112 return ioctl(fd, TCSBRKP, __BIONIC_CAST(static_cast, unsigned long, duration)); in tcsendbreak()
115 __BIONIC_TERMIOS_INLINE int tcsetattr(int fd, int optional_actions, const struct termios* s) { in tcsetattr() argument
123 return ioctl(fd, cmd, s); in tcsetattr()