File:  [WindowsNT SDKs] / mstools / posix / samples / psxarc / tarhead.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:24:38 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

#ifndef _TARHEAD_
#define _TARHEAD_

#define TNAMSIZ 100

typedef union _TAR_HEAD {
	unsigned char	buf[512];
	struct {
		char	name[TNAMSIZ];		/* nul-terminated unless full */
		char	mode[8];
		char	uid[8];
		char	gid[8];
		char	size[12];
		char	mtime[12];
		char	chksum[8];
		char	typeflag;
		char	linkname[TNAMSIZ];	/* nul-terminated unless full */
		char	magic[TMAGLEN];		/* nul-terminated	*/
		char	version[2];
		char	uname[32];		/* nul-terminated	*/
		char	gname[32];		/* nul-terminated	*/
		char	devmajor[8];
		char	devminor[8];
		char	prefix[155];		/* nul-terminated unless full */
	} s;
} TAR_HEAD, *PTAR_HEAD;

#endif	// _TARHEAD_

unix.superglobalmegacorp.com

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