File:  [MW Coherent from dump] / coherent / d / PS2_KERNEL / coh.386 / sys4.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:39 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
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);
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.