DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦ab9ed5f2d⟧ TextFile

    Length: 1420 (0x58c)
    Types: TextFile
    Notes: UNIX file
    Names: »Space.c«

Derivation

└─⟦f660c3862⟧ Bits:30004068/disk1.imd Interactive TCP/IP v.1.2
└─⟦f660c3862⟧ UNIX Filesystem
    └─⟦this⟧ »hb/driver/pty/Space.c« 

TextFile

/*
 *	space allocation for pty driver
 *
 *	Copyrighted as an unpublished work.
 *	(c) Copyright 1988 INTERACTIVE Systems Corporation
 *	All rights reserved.
 *
 *	RESTRICTED RIGHTS:
 *
 *	These programs are supplied under a license.  They may be used,
 *	disclosed, and/or copied only as permitted under such license
 *	agreement.  Any copy must contain the above copyright notice and
 *	this restricted rights notice.  Use, copying, and/or disclosure
 *	of the programs is strictly prohibited unless otherwise provided
 *	in the license agreement.
 */
#ident "@(#)Space.c	1.4 - 89/04/27"
#ident "@(#) (c) Copyright INTERACTIVE Systems Corporation 1988"

#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysmacros.h>
#include <sys/conf.h>
#include <sys/dir.h>
#include <sys/signal.h>
#include <sys/user.h>
#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/tty.h>
#include <sys/termio.h>
#include <sys/errno.h>
#include <sys/sioctl.h>
#include <sys/pty.h>
#ifdef VPIX
#include "sys/immu.h"
#include "sys/region.h"
#include "sys/proc.h"
#include "sys/tss.h"
#include "sys/v86.h"
#endif


#ifdef MERGE
#include "config.h"
#define NPTY PTC_UNITS
#else
#define NPTY 16
#endif
struct tty ptx_tty[NPTY];
struct pty ptx_pty[NPTY];
struct pt_ioctl pt_ioctl[NPTY];
int    pty_cnt = NPTY;
#ifdef VPIX
v86_t ptx_v86stash[NPTY];
int   ptx_intmask[NPTY];
struct termss ptx_ss[NPTY];
#endif