Sign in
third-party-mirror
/
linux-rdma
/
rdma-core
/
faaf85c5e7163a49e68842487fdf9e6036178f7e
/
.
/
buildlib
/
fixup-include
/
sys-random.h
blob: 47b0b814dc53e3c08086b1ef725c3ec45f53d4b3 [
file
] [
log
] [
blame
]
#ifndef
_FIXUP_SYS_RANDOM_H
#define
_FIXUP_SYS_RANDOM_H
#include
<sys/types.h>
/* Flags for use with getrandom. */
#define
GRND_NONBLOCK
0x01
static
inline
ssize_t
getrandom
(
void
*
buf
,
size_t
buflen
,
unsigned
int
flags
)
{
return
-
1
;
}
#endif