Back to index

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

Go to the source code of this file.

Functions

int __tcgetattr (int fd, struct termios *termios_p)

Function Documentation

int __tcgetattr ( int  fd,
struct termios termios_p 
)

Definition at line 25 of file tcgetattr.c.

{
  if (fd < 0)
    {
      __set_errno (EBADF);
      return -1;
    }
  if (termios_p == NULL)
    {
      __set_errno (EINVAL);
      return -1;
    }

  __set_errno (ENOSYS);
  return -1;
}

Here is the caller graph for this function: