fix setgroups behavior in multithreaded process
[musl.git] / src / linux / getrandom.c
blob6cc6f6b047c18c9c8c564b5ece3f80a2f2b1f65f
1 #include <sys/random.h>
2 #include "syscall.h"
4 ssize_t getrandom(void *buf, size_t buflen, unsigned flags)
6 return syscall_cp(SYS_getrandom, buf, buflen, flags);