lua-arc4random

Cryptographically secure PRNG for Lua
Log | Files | Refs | README

stdlib.h (287B)


      1 /*
      2  * stdlib.h compatibility shim
      3  * Public domain
      4  */
      5 
      6 #include_next <stdlib.h>
      7 
      8 #ifndef LIBCRYPTOCOMPAT_STDLIB_H
      9 #define LIBCRYPTOCOMPAT_STDLIB_H
     10 
     11 #include <stdint.h>
     12 
     13 uint32_t arc4random(void);
     14 uint32_t arc4random_uniform(uint32_t);
     15 void arc4random_buf(void *_buf, size_t n);
     16 
     17 #endif