repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
syscalls
/
sysgetentropy.c
blob
d68ccbc72af72b62ad9b2e555ed4953afde7ba4c
1
/* connector for getentropy */
2
3
#include <reent.h>
4
#include <sys/types.h>
5
#include <sys/time.h>
6
7
int
8
getentropy
(
void
*
buf
,
9
size_t
buflen
)
10
{
11
return
_getentropy_r
(
_REENT
,
buf
,
buflen
);
12
}