Lines Matching refs:fd
49 static __inline__ int tcgetattr(int fd, struct termios *s) in tcgetattr() argument
51 return ioctl(fd, TCGETS, s); in tcgetattr()
54 static __inline__ int tcsetattr(int fd, int __opt, const struct termios *s) in tcsetattr() argument
56 return ioctl(fd, __opt, (void *)s); in tcsetattr()
59 static __inline__ int tcflow(int fd, int action) in tcflow() argument
61 return ioctl(fd, TCXONC, (void *)(intptr_t)action); in tcflow()
64 static __inline__ int tcflush(int fd, int __queue) in tcflush() argument
66 return ioctl(fd, TCFLSH, (void *)(intptr_t)__queue); in tcflush()
69 static __inline__ pid_t tcgetsid(int fd) in tcgetsid() argument
72 return ioctl(fd, TIOCGSID, &_pid) ? (pid_t)-1 : _pid; in tcgetsid()
75 static __inline__ int tcsendbreak(int fd, int __duration) in tcsendbreak() argument
77 return ioctl(fd, TCSBRKP, (void *)(uintptr_t)__duration); in tcsendbreak()