File:  [Research Unix] / researchv10no / cmd / spitbol / spitio.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

/*
	spitbol i/o control blocks
*/

struct	bfblk {
		int	typ;
		int	len;
		int	siz;
		int	rem;
		int	off;
		char	buf[1];
};

struct	ioblk {
		int	typ;
		int	len;
		struct	scblk	*fnm;
		int	pid;
		struct	bfblk	*buf;
		int	fdn;
		int	flg;
};


#define	IO_INP	1
#define	IO_OUP	2
#define IO_APP	4
#define	IO_OPN	8
#define IO_EOF	16
#define	IO_ERR	32
#define	IO_SYS	64
#define	IO_WRC	128
#define	IO_PIP	256
#define	IO_DED	512

#define	RECSIZ	4096
#define	BUFSIZ	1024

struct	fcblk {
		int	typ;
		int	len;
		int	rsz;
		struct	ioblk	*iob;
};

unix.superglobalmegacorp.com

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