_gtty.c 122 B

12345678
  1. #include <sgtty.h>
  2. int
  3. _gtty(fildes,argp)
  4. int fildes ;
  5. struct sgttyb *argp ;
  6. {
  7. return _ioctl(fildes,TIOCGETP,argp) ;
  8. }