What does "..." in a function declartion mean?
Here is what I'm trying to do:
Code:
int ds_fscanf(FILE *f , const char *format, ...)
{
return KOS_fscanf( (KOS_FILE*) f, format, ...);
}
The error I'm getting is on the return line...
Quote:
error: syntax error before '...' token
If I comment out the return line then it compiles fine, so the "..." in the function declartion work fine, but it seems like I am unable to pass the "..." to ANOTHER function. How can I do this? What do the three dots even mean?
Thanks!