|
|
coherent
/*
* File: sys4.c
*
* Purpose:
* Non-Sytem V (compatibility) system calls introduced by the 386 port.
*
* $Log: sys4.c,v $
* Revision 1.1.1.1 2019/05/29 04:56:39 root
* coherent
*
* Revision 1.2 92/08/04 12:35:08 bin
* changed for ker 59
*
* Revision 1.2 92/01/06 12:00:58 hal
* Compile with cc.mwc.
*
*/
/*
* Includes.
*/
#include <sgtty.h>
/*
* Definitions.
* Constants.
* Macros with argument lists.
* Typedefs.
* Enums.
*/
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
/*
* Functions.
* Import Functions.
* Export Functions.
* Local Functions.
*/
int ustty();
int ugtty();
/*
* Global Data.
* Import Variables.
* Export Variables.
* Local Variables.
*/
/*
*
*/
int ustty(fd, sp)
int fd;
struct sgttyb * sp;
{
return uioctl(fd, TIOCSETP, sp);
}
int ugtty(fd, sp)
int fd;
struct sgttyb * sp;
{
return uioctl(fd, TIOCGETP, sp);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.