Article View: comp.lang.c
Article #710Re: variadic min and max, (any some and none, cat and more)
From: David Brown
Date: Fri, 23 Oct 2026 12:56
Date: Fri, 23 Oct 2026 12:56
16 lines
1901 bytes
1901 bytes
On 23/10/2026 14:42, fir wrote: > David Brown pisze: >> Variadic functions have no way of counting their arguments, or >> identifying their types. > > > this is silly becouse it cos t one register to use so its totally not a > problem > > It doesn't matter whether you think this is "silly" or not. It is a fact of the way variadic functions work in C, which goes back to the way all functions have always worked in C. The called variadic function has no way to determine the number of arguments - the information is lost by then.
Technical Details
Message-ID:
<11bflhp$1ojh8$2@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11bes8b$1gncr$1@dont-email.me> <11bf84v$1jkb5$1@dont-email.me> <11bfko4$1q1en$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.lang.c Subject: Re: variadic min and max, (any some and none, cat and more) Date: Fri, 23 Oct 2026 14:56:25 +0200 Organization: A noiseless patient Spider Lines: 16 Message-ID: <11bflhp$1ojh8$2@dont-email.me> References: <11bes8b$1gncr$1@dont-email.me> <11bf84v$1jkb5$1@dont-email.me> <11bfko4$1q1en$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 23 Oct 2026 12:56:26 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1855016"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19aXdJwvkKrpEC9z1BhAyh5cOy+pW4SQnc="; posting-host="7400fcdb32ce88f15c58e9bcb96ebcf6" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Ua1TI4Rxm1WUR3gnxbG6uC6L6Xc= sha256:0arKkspX8fIiCqUzi+Xc7t7PHGj+833QLuyn0cqZ0KM= sha1:zMs0Ivvg58xfxo94UcutJL3gFnY= sha256:xITAexal5bjAMau5BlLBdqCE/w5I6zXzI62QpTYmcUE= In-Reply-To: <11bfko4$1q1en$1@dont-email.me> Content-Language: en-GB, nb-NO