File:  [CSRG BSD Unix] / 3BSD / sys / h / ino.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:53 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, CSRG
CVS tags: HEAD, BSD3
BSD 3.0

/*	ino.h	2.1	1/5/80 */

/*
 * Inode structure as it appears on
 * a disk block.
 */
struct dinode
{
	unsigned short di_mode;	/* mode and type of file */
	short	di_nlink;	/* number of links to file */
	short	di_uid;		/* owner's user id */
	short	di_gid;		/* owner's group id */
	off_t	di_size;	/* number of bytes in file */
	char	di_addr[40];	/* disk block addresses */
	time_t	di_atime;	/* time last accessed */
	time_t	di_mtime;	/* time last modified */
	time_t	di_ctime;	/* time created */
};
/*
 * the 40 address bytes:
 *	39 used; 13 addresses
 *	of 3 bytes each.
 */

unix.superglobalmegacorp.com

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