|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 963 (0x3c3)
Types: TextFile
Notes: UNIX file
Names: »saio.h«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/include/sys/saio.h«
/*
* saio.h: version 2.3 of 11/15/83
*
*
* @(#)saio.h 2.3 (National Semiconductor) 11/15/83
*/
/*
* header file for standalone package
*/
/*
* io block: includes an
* inode, cells for the use of seek, etc,
* and a buffer.
*/
struct iob {
char i_flgs;
struct inode i_ino;
int i_unit;
daddr_t i_boff;
daddr_t i_cyloff;
off_t i_offset;
daddr_t i_bn;
char *i_ma;
int i_cc;
char *i_buf;
};
#define F_READ 01
#define F_WRITE 02
#define F_ALLOC 04
#define F_FILE 010
/*
* dev switch
*/
struct devsw {
char *dv_name;
int (*dv_strategy)();
int (*dv_open)();
int (*dv_close)();
};
struct devsw devsw[];
/*
* request codes. Must be the same as F_XXX above
*/
#define READ 1
#define WRITE 2
/*
* buffers reserved for the indirect blocks.
*/
#define NBUFS 4
char b[NBUFS][BSIZE];
daddr_t blknos[NBUFS];
#define NFILES 4
struct iob iob[NFILES];
/*
* Page aligned block buffers for more effective io.
*/
char bufs[NFILES*BSIZE+511];