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

⟦5652eb4d6⟧ TextFile

    Length: 2145 (0x861)
    Types: TextFile
    Notes: UNIX file
    Names: »dosdir.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/dosdir.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 "@(#)dosdir.h	1.2 - 87/07/31"
#ident "@(#) (c) Copyright INTERACTIVE Systems Corporation 1987"

/* dos directory structure on disk */

#define DOSDIRSZ        32
#define DOSDIRSHFT      5

#define NAMESZ        8
#define EXTSZ         3

#ifdef  DFSSEXT
#define RSRVSZ        3
#define DIR_SIGNISC   'I'               /* ISC signature in entries     */
#else
#define RSRVSZ        10
#endif

struct dosdir {
	char    d_name[NAMESZ];         /* filename                     */
	char    d_ext[EXTSZ];           /* filename extension           */
	unchar  d_attrib;               /* attributes                   */
	char    d_reserved[RSRVSZ];     /* reserved                     */
#ifdef  DFSSEXT
	char    d_signature;            /* ISC signature                */
	ushort  d_uid;                  /* user id of owner of entry    */
	ushort  d_gid;                  /* group id of owner of entry   */
	ushort  d_mode;                 /* permissions bits for entry   */
#endif
	ushort  d_time;                 /* creation/update time         */
	ushort  d_date;                 /* creation/update date         */
	ushort  d_startclst;            /* starting cluster             */
	long    d_filesz;               /* file size in bytes           */
};


/*
 * The first character of the filename has special meaning.
 */
#define DIRNEVERUSED    0x00    /* entry never used                     */
#define DIRCHARE5       0x05    /* character is actually 0xE5           */
#define DIRERASED       0xE5    /* file was erased                      */
#define DIRINERASE      0xF5    /* file being erased                    */