TIOCDRAIN

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:

DCMD_CHR_TCDRAIN

ioctl() in the QNX Neutrino C Library Reference