On Okt 08 2025, Grisha Levit wrote:
> It's not a big deal but it is a bit confusing to see these modes in
> the code. Is there some platform where the mode arg is used in this
> situation?
K&R2 documents a non-variadic prototype for open. There were probably
platforms that actually used that declaration at that time.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."