mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-21 07:15:49 +00:00
libc: Note that getentropy is nearly POSIX 2024
Our implementation currently diverges from POSIX 2024 in a couple of ways, as now noted in the BUGS section. Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47589
This commit is contained in:
parent
18a8f4e586
commit
95b71a659a
@ -15,7 +15,7 @@
|
|||||||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
.\"
|
.\"
|
||||||
.Dd February 24, 2018
|
.Dd November 20, 2024
|
||||||
.Dt GETENTROPY 3
|
.Dt GETENTROPY 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -69,10 +69,8 @@ Too many bytes requested, or some other fatal error occurred.
|
|||||||
.Xr random 4
|
.Xr random 4
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
.Fn getentropy
|
.Fn getentropy
|
||||||
is non-standard.
|
nearly conforms to
|
||||||
It is present on
|
.St -p1003.1-2024 .
|
||||||
.Ox
|
|
||||||
and Linux.
|
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Fn getentropy
|
.Fn getentropy
|
||||||
@ -82,3 +80,9 @@ The
|
|||||||
.Fx
|
.Fx
|
||||||
libc compatibility shim first appeared in
|
libc compatibility shim first appeared in
|
||||||
.Fx 12.0 .
|
.Fx 12.0 .
|
||||||
|
.Sh BUGS
|
||||||
|
.In limits.h
|
||||||
|
does not define
|
||||||
|
.Dv GETENTROPY_MAX .
|
||||||
|
Some error values do not match
|
||||||
|
.St -p1003.1-2024 .
|
||||||
|
Loading…
Reference in New Issue
Block a user