Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
musl
/
src
/
linux
/
getrandom.c
blob: 6cc6f6b047c18c9c8c564b5ece3f80a2f2b1f65f [
file
] [
log
] [
blame
]
#include
<sys/random.h>
#include
"syscall.h"
ssize_t
getrandom
(
void
*
buf
,
size_t
buflen
,
unsigned
flags
)
{
return
syscall_cp
(
SYS_getrandom
,
buf
,
buflen
,
flags
);
}