ack/plat/pdpv7/libsys/gtty.c

8 lines
192 B
C
Raw Permalink Normal View History

2022-08-01 20:08:23 +00:00
extern int ioctl(int fd, unsigned int request, ...);
extern int _ioctl(int fd, int ioc, void* ptr);
int gtty(int fildes, char* argp)
1987-01-07 17:13:41 +00:00
{
1987-05-14 17:45:41 +00:00
return ioctl(fildes,/*TIOCGETP*/(('t'<<8)|8),argp) ;
1987-01-07 17:13:41 +00:00
}