plan 9 kernel history: overview | file list | diff list

1990/11211/port/lib.h (diff list | history)

1990/08141/sys/src/9/port/lib.h:74,1031990/11211/sys/src/9/port/lib.h:74,103 (short | long | prev | next)
1990/08141    
#define	OCEXEC	32	/* or'ed in, close on exec */ 
#define	ORCLOSE	64	/* or'ed in, remove on close */ 
1990/0227    
 
typedef struct Error	Error; 
1990/11211    
typedef struct Qid	Qid; 
1990/0227    
typedef struct Dir	Dir; 
typedef struct Waitmsg	Waitmsg; 
 
struct Error 
1990/11211    
#define	ERRLEN	64 
#define	DIRLEN	116 
#define	NAMELEN	28 
 
struct Qid 
1990/0227    
{ 
	int	type; 
	int	dev; 
	int	code; 
1990/11211    
	ulong	path; 
	ulong	vers; 
1990/0227    
}; 
 
#define	ERRLEN	64 
#define	DIRLEN	64 
#define	NAMELEN	28 
struct Dir 
{ 
	char	name[NAMELEN]; 
	long	qid; 
	long	mode; 
1990/11211    
	char	uid[NAMELEN]; 
	char	gid[NAMELEN]; 
	Qid	qid; 
	ulong	mode; 
1990/0227    
	long	atime; 
	long	mtime; 
	Length; 
	short	uid; 
	short	gid; 
	short	type; 
	short	dev; 
}; 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)