SYNOPSIS
#include <termios.h>
int tcdrain(int fildes);
DESCRIPTION
The
PARAMETERS
RETURN VALUES
If successful,
- EBADF
-
The fildes parameter is not a valid file descriptor.
- EINTR
-
A signal interrupted the call.
- ENOTTY
-
The file associated with fildes is not a terminal.
CONFORMANCE
POSIX.1 (1996).
MULTITHREAD SAFETY LEVEL
Async-signal-safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
ioctl() ,tcflow() ,tcflush() ,tcsendbreak()
- Miscellaneous:
- struct termios
PTC MKS Toolkit 10.4 Documentation Build 39.