Back to index

glibc  2.9
Functions
tcgetattr.c File Reference
#include <stddef.h>
#include <termios.h>
#include <sys/ioctl.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 34 of file tcgetattr.c.

{
  return __ioctl (fd, TIOCGETA, termios_p);
}