Skip to content
Commit ef258166 authored by Patryk Duda's avatar Patryk Duda Committed by Fabio Baltieri
Browse files

posix: Introduce getentropy() function



The function writes random data to the provided buffer. Maximum
permitted buffer size is 256 bytes. On success the function returns 0,
otherwise it returns -1 and sets errno to appropriate value.

Signed-off-by: default avatarPatryk Duda <patrykd@google.com>
parent 1542140e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment