diff options
Diffstat (limited to 'src/sysdeps/tryarc4random.c')
-rw-r--r-- | src/sysdeps/tryarc4random.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sysdeps/tryarc4random.c b/src/sysdeps/tryarc4random.c new file mode 100644 index 0000000..b2f596a --- /dev/null +++ b/src/sysdeps/tryarc4random.c @@ -0,0 +1,11 @@ +/* ISC license. */ + +#undef _POSIX_C_SOURCE +#undef _XOPEN_SOURCE + +#include <stdlib.h> + +int main (void) +{ + return arc4random_uniform(1) ; +} |