FIONREAD, TIOCINQ, TIOCOUTQ, TCFLSH, TIOCSERGETLSR
buffer count and flushing
- Provided by: manpages-dev (Version: 6.17-1)
- Source: manpages
- Report a bug
buffer count and flushing
Standard C library (libc, -lc)
#include <asm/termbits.h> /* Definition of constants */ #include <sys/ioctl.h>
int ioctl(int fd, FIONREAD, int *argp); int ioctl(int fd, TIOCINQ, int *argp); int ioctl(int fd, TIOCOUTQ, int *argp); int ioctl(int fd, TCFLSH, int arg); int ioctl(int fd, TIOCSERGETLSR, int *argp);
On success, 0 is returned. On error, -1 is returned, and errno is set to indicate the error.