tcdrain3
Block until output is transmitted
Usage
#include <termios.h>
int tcdrain(int fd);
Library
Standard C library (libc, -lc)
Overview
tcdrain() waits until all output written to the object referred to by fd has been transmitted.
Return value
|
on success. |
|---|---|
|
on failure and set errno to indicate the error. |
Attributes
For an explanation of the terms used in this section, see attributes(7).
| Interface | Attribute | Value |
| tcdrain() | Thread safety | MT-Safe |
Releases
19 releases since Debian 1.1 (Buzz); the text changed 15 times.