"Prof A Olowofoyeku (The African Chief)" wrote:
... snip ...
Win32 API functions mainly use the stdcall convention. But while this is an interesting discussion, none of this is what I was referring to in my original mail ;-). I was talking about gcc's (and now GPC's) ability to pass an arbitrary number of parameters to certain function pointers.
I certainly hope you are misinterpreting the built in expansion for read, write, readln, writeln, and with. Variadic functions are one of the fundamental insecurities of C, and simply cannot be made secure. They have no place in a grown up language.