ack/mach/sun2/libsys/gtty.c

9 lines
120 B
C
Raw Normal View History

1987-03-03 09:37:26 +00:00
#include <sgtty.h>
1990-01-22 11:56:01 +00:00
int
gtty(fildes,argp)
1987-03-03 09:37:26 +00:00
int fildes ;
struct sgttyb *argp ;
{
return ioctl(fildes,TIOCGETP,argp) ;
}