Mail Archives: djgpp-workers/2000/06/04/10:50:04
On Sat, 3 Jun 2000, Laurynas Biveinis wrote:
> #include <stdarg.h>
> #include <stdio.h>
> int vfprintf(..., va_list args);
>
> Note that stdarg.h should be included as well. Why?
Because that's where va_list is supposed to be defined.
> I found FreeBSD definition by accident in gcc mail archives:
>
> int vfprintf __P((FILE *, const char *, _BSD_VA_LIST_));
> int vprintf __P((const char *, _BSD_VA_LIST_));
> ...
>
> with _BSD_VA_LIST_ declared in /usr/include/machine/ansi.h as:
>
> #define _BSD_VA_LIST_ char *
And where do they make the link to va_list?
- Raw text -