ack/mach/minix/libsys/_gtty.c

12 lines
173 B
C
Raw Permalink Normal View History

#include <lib.h>
#define gtty _gtty
#define ioctl _ioctl
#include <sgtty.h>
PUBLIC int gtty(fd, argp)
int fd;
struct sgttyb *argp;
{
return(ioctl(fd, TIOCGETP, argp));
}