ack/plat/em/libsys/gtty.c

7 lines
115 B
C
Raw Permalink Normal View History

1994-06-24 14:02:31 +00:00
/* $Id$ */
1985-01-01 22:27:02 +00:00
#include <sgtty.h>
2022-08-01 20:08:23 +00:00
int gtty(int fildes, struct sgttyb* argp) {
1985-01-01 22:27:02 +00:00
return ioctl(fildes,TIOCGETP,argp) ;
}