Often I see a function declared like this:
void Feeder(char *buff, ...)
what does "..." mean?
it allows a variable number of arguments of unspecified type (like printf does).
printf
you have to access them with va_start, va_arg and va_end
va_start
va_arg
va_end
see http://publications.gbdirect.co.uk/c_book/chapter9/stdarg.html for more information
1.4m articles
1.4m replys
5 comments
57.0k users