Often I see a function declared like this:
void Feeder(char *buff, ...)
what does “…” mean?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It allows a variable number of arguments of unspecified type (like
printfdoes).You have to access the arguments with the
va_start,va_argandva_endfunctions.See http://publications.gbdirect.co.uk/c_book/chapter9/stdarg.html or Where in the C standard variadic functions are described? for more information