ack/plat/em/libsys/_gtty.c
David Given 7eaa235fd1 Bodge the ancient em monitor library into building as a libsys for the em22
plat. It's completely untested, but it builds and makes e.out executables.
2018-06-13 21:44:25 +09:00

7 lines
131 B
C

/* $Id$ */
#include <sgtty.h>
int
_gtty(fildes,argp) int fildes ; struct sgttyb *argp ; {
return _ioctl(fildes,TIOCGETP,argp) ;
}