File:  [WindowsNT SDKs] / mstools / posix / psxarc / tarhead.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:22:18 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-oct-1992, HEAD
Microsoft Windows NT Build 328 10-12-1992

#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.