repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix setgroups behavior in multithreaded process
[musl.git]
/
src
/
linux
/
getrandom.c
blob
6cc6f6b047c18c9c8c564b5ece3f80a2f2b1f65f
1
#include <sys/random.h>
2
#include
"syscall.h"
3
4
ssize_t
getrandom
(
void
*
buf
,
size_t
buflen
,
unsigned
flags
)
5
{
6
return
syscall_cp
(
SYS_getrandom
,
buf
,
buflen
,
flags
);
7
}