TIOCDRAIN
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Wait until output has drained
Synopsis:
#include <sys/ioctl.h>
#define TIOCDRAIN _IO('t', 94)
Arguments to ioctl():
Argument | Value |
---|---|
fd | A file descriptor that you obtained by opening the device |
request | TIOCDRAIN |
Description:
It's also implemented as the DCMD_CHR_TCDRAIN devctl() command.
Note:
This command is for internal use, and you shouldn't use it directly.
Instead use the
tcdrain()
cover function.
Input:
None.
Output:
None.
See also:
ioctl() in the QNX OS C Library Reference
Page updated: