Variarg Neophyte Question

robert.g.robillard rgr at cbnewsm.ATT.COM
Sat Aug 12 04:49:04 AEST 1989


I was just looking at variargs.h for the first time and
found a little inconsistency.  In K&R 2, it says (page 254)
that va_start() gets two arguments :

	va_start(va_list ap, lastarg);
	
but on my Sun (running SunOS 4.0) it only wants the first
argument.  What's up?  Is somebody out of date?  

Thanks in Advance

-- 
|  Duke Robillard                                                        |
|  Internet: rgr at m21ux.att.com         | BITNET: rgr%m21ux.uucp at psuvax1  |
|  UUCP:     {backbone!}att!m21ux!rgr  |          (maybe)                |



More information about the Comp.lang.c mailing list