Back to index

glibc  2.9
Functions
tcdrain.c File Reference
#include <errno.h>
#include <stddef.h>
#include <termios.h>
#include <unistd.h>
#include <sysv_termio.h>
#include <sys/ioctl.h>

Go to the source code of this file.

Functions

int __libc_tcdrain (int fd)

Function Documentation

Definition at line 28 of file tcdrain.c.

{
  /* With an argument of 1, TCSBRK just waits for output to drain.  */
  return __ioctl (fd, _TCSBRK, 1);
}