blob: d33d5224a1d01d6fd558f08ecc917f5c8bd34746 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* vi: set sw=4 ts=4: */
/*
* getrandom() for uClibc
*
* Copyright (C) 2015 Bernhard Reutner-Fischer
*
* Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
*/
#include <sys/syscall.h>
#include <sys/random.h>
#ifdef __NR_getrandom
_syscall3(int, getrandom, void *, buf, size_t, buflen, unsigned int, flags)
#endif
|