[PATCH v2] stdlib: Consolidate getentropy and adapt to POSIX 2024 semantics

Andreas Schwab schwab@suse.de
Thu Mar 27 14:29:29 GMT 2025


On Mär 27 2025, Adhemerval Zanella wrote:

>   2. There is no defined error if no entropy could be obtained.
>      It means that the function should not fail.

The standard says:

        The getentropy() function may fail if:

        [ENOSYS]
                The system does not provide the necessary source of entropy.

-- 
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."


More information about the Libc-alpha mailing list