Nov. 2, 2011
7:53 p.m.
<<On Wed, 2 Nov 2011 15:34:49 -0400, Bennett Todd <bet@rahul.net> said:
That sounds all superb, and excellent. The one question I'd ask is, would it be practical and reasonable to lose the _z and _rz suffixes, and make the timezone arg an optional extra arg to localtime/mktine, with varargs?
The C standard does not allow this. There are no "optional extra args" in C. (A variadic function must have enough information from mandatory arguments to determine exactly how many arguments there are.) Besides which, the prototype of the functions from the C standard is fixed by the standard. -GAWollman