getrandom.c\linux\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/linux/getrandom.c
blob: 6cc6f6b047c18c9c8c564b5ece3f80a2f2b1f65f (plain) (blame)
1
2
3
4
5
6
7
#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);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月12日 01:18:04 +0000

AltStyle によって変換されたページ (->オリジナル) /