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

1998/0326/pc/u.h (diff list | history)

pc/u.h on 1996/0217
1996/0217    
#define nil		((void*)0) 
1991/0622    
typedef	unsigned short	ushort; 
typedef	unsigned char	uchar; 
1997/0327    
typedef	signed char	schar; 
1996/0608    
typedef unsigned int	uint; 
1991/0622    
typedef unsigned long	ulong; 
1997/0327    
typedef	 long long	vlong; 
1991/0622    
typedef union Length	Length; 
1991/1228    
typedef ushort		Rune; 
1991/0622    
 
union Length 
{ 
1998/0326    
	vlong	length; 
1991/0622    
}; 
1996/0214    
 
1996/0217    
typedef char *va_list; 
 
#define va_start(list, start) list = (sizeof(start)<4 ? (char *)((int *)&(start)+1) : \ 
(char *)(&(start)+1)) 
#define va_end(list) 
#define va_arg(list, mode) ((mode*)(list += sizeof(mode)))[-1] 


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