Initial revision
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
exit(code)
|
||||
{
|
||||
_cleanup() ;
|
||||
_exit(code) ;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
#include <sgtty.h>
|
||||
int gtty(fildes,argp)
|
||||
int fildes ;
|
||||
struct sgttyb *argp ;
|
||||
{
|
||||
return ioctl(fildes,TIOCGETP,argp) ;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
#include <sgtty.h>
|
||||
int stty(fildes,argp)
|
||||
int fildes ;
|
||||
struct sgttyb *argp ;
|
||||
{
|
||||
return ioctl(fildes,TIOCSETP,argp) ;
|
||||
}
|
||||
Reference in New Issue
Block a user