Back to index

glibc  2.9
Functions
gtty.c File Reference
#include <errno.h>
#include <sgtty.h>

Go to the source code of this file.

Functions

int gtty (int fd, struct sgttyb *params)

Function Documentation

int gtty ( int  fd,
struct sgttyb params 
)

Definition at line 24 of file gtty.c.

{
  return ioctl (fd, TIOCGETP, (void *) params);
}

Here is the call graph for this function: