On Thu, 17 Nov 2022 17:18:35 +0100, Stefan Sperling wrote:
> These functions read files or yellow pages and can fail for reasons
> such as i/o failures. Our getpwuid implementation sets errno on failure.
> Since errno is not mentioned in the man page, I agree that we should
> probably not check it. I ended up reading the implementation because
> the man page was too vague. I have no idea how portable checking for
> errno is in this case... :-/
I don't think it is portable at all.