9 lines
121 B
C
9 lines
121 B
C
|
#include <sgtty.h>
|
||
|
int
|
||
|
_gtty(fildes,argp)
|
||
|
int fildes ;
|
||
|
struct sgttyb *argp ;
|
||
|
{
|
||
|
return ioctl(fildes,TIOCGETP,argp) ;
|
||
|
}
|