summaryrefslogtreecommitdiffstats
path: root/newlib/libc/unix/pwrite.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-03-20 22:29:03 +0100
committerCorinna Vinschen <corinna@vinschen.de>2016-03-20 22:29:03 +0100
commit2519f0ef0c24e4a0fec98b58e6f3481d5dd57acd (patch)
tree846b50429adea0b7d6eb0ff5b8ad7cd611990406 /newlib/libc/unix/pwrite.c
parent58988463cc16b95ca111b177fb89d666db33e546 (diff)
downloadcygnal-2519f0ef0c24e4a0fec98b58e6f3481d5dd57acd.tar.gz
cygnal-2519f0ef0c24e4a0fec98b58e6f3481d5dd57acd.tar.bz2
cygnal-2519f0ef0c24e4a0fec98b58e6f3481d5dd57acd.zip
srandom: Replace accessing /dev/random by equivalent getentropy call
/dev/random calls getentropy. So there's no good reason to go out of our way to open /dev/random just to call getentropy anyway. * random.cc (srandomdev): Drop opening /dev/random in favor of calling getentropy. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/unix/pwrite.c')
0 files changed, 0 insertions, 0 deletions