Re: variable arguments in ObjC
Re: variable arguments in ObjC
- Subject: Re: variable arguments in ObjC
- From: "Erik M. Buck" <email@hidden>
- Date: Fri, 22 Feb 2002 12:43:29 -0600
See the following for all the discussion of va_arg you could ever want:
http://www.google.com/search?num=100&hl=en&as_qdr=all&q=va_arg+man+page
----- Original Message -----
From: "Nicholas Shanks" <email@hidden>
To: "Apple Cocoa Dev" <email@hidden>
Sent: Friday, February 22, 2002 11:54 AM
Subject: Re: variable arguments in ObjC
>
On Friday, February 22, 2002, at 05:34 pm, Eric Ridge wrote:
>
>
>> Now I've got this thing almost working, but I'm losing the
>
>> first argument.
>
>> Any ideas where it's gone?
>
>
>
> The va_arg macro expands to an expression that has the type and value of
>
> the _next_ argument in the call. Check the man page for va_arg.
>
>
there is no man page under OS X:
>
man: no entry for va_arg in the manual.
>
>
Thanks for the rest of it though, it works fine :)
>
>
Nicholas Shanks
>
--
>
>
http://nickshanks.com/
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.