Explorar o código

prototypes for arc4random

Mike Frysinger %!s(int64=20) %!d(string=hai) anos
pai
achega
965f9f7907
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      include/stdlib.h

+ 6 - 0
include/stdlib.h

@@ -845,6 +845,12 @@ extern int getloadavg (double __loadavg[], int __nelem)
      __THROW __nonnull ((1));
 #endif
 
+#ifdef __UCLIBC_HAS_ARC4RANDOM__
+extern u_int32_t arc4random(void);
+extern void arc4random_stir(void);
+extern void arc4random_addrandom(unsigned char *, int);
+#endif
+
 #endif /* don't just need malloc and calloc */
 #undef __need_malloc_and_calloc