🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #744

Re: variadic min and max, (any some and none, cat and more)

#744
From: Lawrence D’Oliveiro
Date: Sat, 24 Oct 2026 22:24
11 lines
1777 bytes
On Sat, 24 Oct 2026 03:25:02 -0700, chine.bleu wrote:

> The compiler cannot be certain which function calls are variadic.
> Old style function declarations are allowed which provide no
> information about arguments.

*None* of the styles of function declarations that C currently
supports provide any kind of runtime information about arguments. The
whole stdarg(3) mechanism relies on calling and called code agreeing
on their own convention for how to indicate the end of the argument
list, and what types of arguments to expect.
Technical Details
Message-ID: <11bjb7n$340l8$4@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-mail
References: <11bes8b$1gncr$1@dont-email.me> <11bi11u$2k5ua$2@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: Lawrence D’Oliveiro <ldo@nz.invalid>
Newsgroups: comp.lang.c
Subject: Re: variadic min and max, (any some and none, cat and more)
Date: Sat, 24 Oct 2026 22:24:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <11bjb7n$340l8$4@dont-email.me>
References: <11bes8b$1gncr$1@dont-email.me> <11bi11u$2k5ua$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 24 Oct 2026 22:24:56 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3277480"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19jRMvXPhq3A1J2bvLuipo7"; posting-host="2f0c6f23b3422283e8fcbe6e904c474e"
User-Agent: Pan/0.165 (Kostiantynivka)
Cancel-Lock: sha1:p/dN1pzFN9Gb55O1AhIF140MUfA= sha256:g3jAoN+7/C06k1sBLfap5QFq7esorXQkoNrm7qB6NWY=
	sha1:ZSfNI5RMKTLSyC2vymxa9cdSvWM= sha256:x2U8coWFwG5ubHu1Fj0hWv44WQmhG/od6D5flLVPlMo=