variable argument lists and ..

From: Peteris Krumins (
Date: 12/18/03

Date: 17 Dec 2003 23:43:49 GMT


  Is it possible to use va lists if i prefare to define
  functions as following:

(won't compile)

die(file, line, fn, fmt, ...)
const char *file;
const int line;
const char *fn;
const char *fmt;
    /* code */

 ps. also how is such function definition called?
    (when i do not write 'int f(int i) { }' but 'int f(i) int i; { }')


Relevant Pages