DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

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

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦309830465⟧ TextFile

    Length: 1074 (0x432)
    Types: TextFile
    Notes: UNIX file
    Names: »ar.h«

Derivation

└─⟦eafc30061⟧ Bits:30001199 Commodore 900 hard disk image
    └─⟦8281d0872⟧ UNIX V7 Filesystem
        └─ ⟦294235107⟧ »vol3.fd« UNIX V7 Filesystem
            └─ ⟦this⟧ »usr/include/ar.h« 
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦2d53db1df⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »include/ar.h« 
└─⟦eafc30061⟧ Bits:30001199 Commodore 900 hard disk image
    └─⟦5ec4c54f2⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »usr/include/ar.h« 

TextFile

/*
 * This is the format of the
 * header at the start of every
 * archive member. This is not
 * the same as V7. To prevent
 * confusion the magic number is
 * different.
 */
#ifndef TYPES_H
#if RSX
typedef	long	size_t;
typedef	long	time_t;
#endif
#endif

#ifndef DIRSIZ
#if RSX
#define	DIRSIZ	14
#else
#include <dir.h>
#endif
#endif

#if RSX
#include <f11.h>
#endif

#define ARMAG	0177535			/* Magic number */

struct	ar_hdr {
	char	ar_name[DIRSIZ];	/* Member name */
	time_t	ar_date;		/* Time inserted */
	short	ar_gid;			/* Group id */
	short	ar_uid;			/* User id */
	short	ar_mode;		/* Mode */
	size_t	ar_size;		/* File size */
#if RSX
	struct	ufat ar_ufat;		/* File attributes */
#endif
};
/*
 * Name of header module for ranlib
 */
#ifndef	HDRNAME
#define	HDRNAME "__.SYMDEF"
#endif
/*
 * Header module is list of all global defined symbols
 * in all load modules
 */
#ifndef	L_OUT_H
#include <l.out.h>
#endif
typedef	struct	ar_sym {
	char	ar_id[NCPLN];		/* symbol name */
	size_t	ar_off;			/* offset of load module */
} ar_sym;				/* ...from end of header module */