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

1993/0501/port/lib.h (diff list | history)

1993/0330/sys/src/9/port/lib.h:26,351993/0501/sys/src/9/port/lib.h:26,35 (short | long | prev | next)
Format edit. Add MRECOV, MMASK.
rsc Fri Mar 4 12:44:25 2005
1990/0227    
 
1992/1024    
enum 
{ 
	UTFmax		= 3,		/* maximum bytes per rune */ 
	Runesync	= 0x80,		/* cannot represent part of a UTF sequence (<) */ 
	Runeself	= 0x80,		/* rune and UTF sequences are the same (<) */ 
	Runeerror	= 0x80,		/* decoding error in UTF */ 
1993/0501    
	UTFmax		= 3,	/* maximum bytes per rune */ 
	Runesync	= 0x80,	/* cannot represent part of a UTF sequence */ 
	Runeself	= 0x80,	/* rune and UTF sequences are the same (<) */ 
	Runeerror	= 0x80,	/* decoding error in UTF */ 
1992/1024    
}; 
 
1990/0227    
/* 
1993/0330/sys/src/9/port/lib.h:70,851993/0501/sys/src/9/port/lib.h:70,86
1992/0319    
extern	char	etext[]; 
extern	char	edata[]; 
extern	char	end[]; 
1993/0501    
 
1990/0227    
/* 
 * Syscall data structures 
 */ 
                 
#define	MORDER	0x0003	/* mask for bits defining order of mounting */ 
#define	MREPL	0x0000	/* mount replaces object */ 
#define	MBEFORE	0x0001	/* mount goes before others in union directory */ 
#define	MAFTER	0x0002	/* mount goes after others in union directory */ 
#define	MCREATE	0x0004	/* permit creation in mounted directory */ 
#define	MMASK	0x0007	/* all bits on */ 
1993/0501    
#define MRECOV	0x0008	/* perform recovery if mount channel is lost */ 
#define	MMASK	0x000F	/* all bits on */ 
1990/0227    
 
#define	OREAD	0	/* open for read */ 
#define	OWRITE	1	/* write */ 


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