os.getrandom on freebsd should use the getrandom
C function
#2993
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
os-freebsd
standard library
This issue involves writing Zig code for the standard library.
Milestone
As of FreeBSD 12, FreeBSD now has a
ssize_t getrandom(void *buf, size_t buflen, unsigned int flags);
function that could be used byos.getrandom()
in the same way thatgetrandom()
is used on Linux.The text was updated successfully, but these errors were encountered: