Subject: Re: ERANGE strikes again on my Windows build; RFH

From: Andreas Schwab <[email-masked]>
Date: Sun, 29 Dec 2019 15:43:30 +0100

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, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."