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

1996/0217/pc/u.h (diff list | history)

1996/0214/sys/src/9/pc/u.h:1,31996/0217/sys/src/9/pc/u.h:1,4 (short | long | prev | next)
Inline <stdarg.h>, add nil.
rsc Fri Mar 4 12:44:25 2005
1996/0217    
#define nil		((void*)0) 
1991/0622    
typedef	unsigned short	ushort; 
typedef	unsigned char	uchar; 
1992/1207    
typedef	signed char	schar; 
1996/0214/sys/src/9/pc/u.h:16,191996/0217/sys/src/9/pc/u.h:17,25
1991/0622    
	}; 
}; 
1996/0214    
 
#include <stdarg.h> 
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)