| Updated: October 28, 2024 | 
Wait until output has drained
#include <sys/ioctl.h>
#define TIOCDRAIN       _IO('t',  94)
| Argument | Value | 
|---|---|
| fd | A file descriptor that you obtained by opening the device | 
| request | TIOCDRAIN | 
It's also implemented as the DCMD_CHR_TCDRAIN devctl() command.
None.
None.