variable argument lists and ..
From: Peteris Krumins (pkruminsREMOVETHIS_at_inbox.lv)
Date: 12/18/03
- Next message: Ben Pfaff: "Re: variable argument lists and .."
- Previous message: Ben Pfaff: "Re: A question on incomplete definitions"
- Next in thread: Ben Pfaff: "Re: variable argument lists and .."
- Reply: Ben Pfaff: "Re: variable argument lists and .."
- Reply: Kevin Goodsell: "Re: variable argument lists and .."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Dec 2003 23:43:49 GMT
Hello,
Is it possible to use va lists if i prefare to define
functions as following:
(won't compile)
void
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; { }')
Thanks,
P.Krumins
- Next message: Ben Pfaff: "Re: variable argument lists and .."
- Previous message: Ben Pfaff: "Re: A question on incomplete definitions"
- Next in thread: Ben Pfaff: "Re: variable argument lists and .."
- Reply: Ben Pfaff: "Re: variable argument lists and .."
- Reply: Kevin Goodsell: "Re: variable argument lists and .."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|