Initial revision

This commit is contained in:
ceriel 1986-12-16 10:23:21 +00:00
parent 78aaf2fd9d
commit 7e78bd904d
3 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,5 @@
exit(code)
{
_cleanup() ;
_exit(code) ;
}

View file

@ -0,0 +1,7 @@
#include <sgtty.h>
int gtty(fildes,argp)
int fildes ;
struct sgttyb *argp ;
{
return ioctl(fildes,TIOCGETP,argp) ;
}

View file

@ -0,0 +1,7 @@
#include <sgtty.h>
int stty(fildes,argp)
int fildes ;
struct sgttyb *argp ;
{
return ioctl(fildes,TIOCSETP,argp) ;
}