Look at the [g]libc docs, there is a quite good explanation of it here
(I think the chapter is called "language support" or something like
that).
(these docs comes installed as .info files with many distributions; one
can also find the latest glibc-someversion.tar.gz at sunsite.unc.edu or
other gnu file servers, and extract the texinfo sources herefrom.
Printed copies can be made by running these through TeX)
Niels HP
[EMAIL PROTECTED]
> ----------
> From: James[SMTP:[EMAIL PROTECTED]]
> Reply To: James
> Sent: 9. september 1998 00:59
> To: Linux C Programming List
> Subject: function parameters
>
> how do i create a function that has an undetermined number of
> parameters?
> i.e printf can have 1 parameter:
>
> printf ("Hello World\n");
>
> or many...
>
> printf ("Hello","world","\n","%d%d%d", 2, 0, 35);
>
> how?
> the definition for it has '...' as a parameter... what's that mean?
> and if
> you don't know how many parameters are being passed into the function
> beforehand, how do you know what the variable names are?
>
> --
> +++ Divide By Cucumber Error, Please Re-Install Universe And Reboot
> +++
> [EMAIL PROTECTED]
> http://x-map.home.ml.org
>