Back to index

glibc  2.9
Functions
tcflush.c File Reference
#include <errno.h>
#include <termios.h>
#include <stub-tag.h>

Go to the source code of this file.

Functions

int tcflush (int fd, int queue_selector)
 stub_warning (tcflush)

Function Documentation

int tcflush ( int  fd,
int  queue_selector 
)

Definition at line 24 of file tcflush.c.

{
  switch (queue_selector)
    {
    case TCIFLUSH:
    case TCOFLUSH:
    case TCIOFLUSH:
      break;

    default:
      __set_errno (EINVAL);
      return -1;
    }

  __set_errno (ENOSYS);
  return -1;
}