Re: ERANGE strikes again on my Windows build; RFH
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Dec 29, 2019, 14:43 UTC
- Message-ID
- <87mubb8a5p.fsf@igel.home>
- In-Reply-To
- <20191229142909.7bmjbrroboitvnzq@tb-raspi4>
On Dez 29 2019, Torsten Bögershausen wrote:
> At least the documentation about vsnprintf does not mention that errno is touched at all. > That is the man pages for Linux and Mac OS, or see here: > https://linux.die.net/man/3/vsnprintf
Refer to the POSIX docs for vsnprintf, which documents its errno usage. In general, any library call can touch errno, unless it is explicitly documented _not_ to touch it.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."