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

⟦150dc4cbb⟧ TextFile

    Length: 1539 (0x603)
    Types: TextFile
    Notes: UNIX file
    Names: »dosfio.h«

Derivation

└─⟦a6ab2eb36⟧ Bits:30004042/kconfig3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦a6ab2eb36⟧ UNIX Filesystem
    └─⟦this⟧ »kc/new/usr/include/sys/fs/dosfio.h« 

TextFile

/*
 * Copyrighted as an unpublished work.
 * (c) Copyright 1987 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 "@(#)dosfio.h	1.2 - 87/07/31"
#ident "@(#) (c) Copyright INTERACTIVE Systems Corporation 1987"

/*
 * structure that controls DOS file I/O
 */
struct dosfio {
	inode_t *ip;            /* generic inode pointer */
	long    offset;         /* offset in file for operation */
	long    startfs;        /* file system offset of section start */
	long    start;          /* file offset of section start */
	long    end;            /* file offset of section end */
	long    wcount;         /* write count on file writes */
	char    *startaddr;     /* section start addr in buffer */
	buf_t   *bp;            /* buffer header pointer */
	daddr_t blkno;          /* current block number */
	ushort  lclstr;         /* current logical cluster in file */
	ushort  pclstr;         /* current physical cluster */
	ushort  npclstr;        /* next physical cluster */

};

/* Error codes returned by "dosfread" */

#define DEOF    -1              /* EOF file on read */
#define DERROR   1              /* Error in file system */