Lines Matching refs:fd
39 static __inline int tcgetattr(int fd, struct termios *s) { in tcgetattr() argument
40 return ioctl(fd, TCGETS, s); in tcgetattr()
43 static __inline int tcsetattr(int fd, int __opt, const struct termios *s) { in tcsetattr() argument
44 return ioctl(fd, __opt, (void *)s); in tcsetattr()
47 static __inline int tcflow(int fd, int action) { in tcflow() argument
48 return ioctl(fd, TCXONC, (void *)(intptr_t)action); in tcflow()
51 static __inline int tcflush(int fd, int __queue) { in tcflush() argument
52 return ioctl(fd, TCFLSH, (void *)(intptr_t)__queue); in tcflush()
55 static __inline pid_t tcgetsid(int fd) { in tcgetsid() argument
57 return ioctl(fd, TIOCGSID, &_pid) ? (pid_t)-1 : _pid; in tcgetsid()
60 static __inline int tcsendbreak(int fd, int __duration) { in tcsendbreak() argument
61 return ioctl(fd, TCSBRKP, (void *)(uintptr_t)__duration); in tcsendbreak()