objc

random.h
Go to the documentation of this file.
1 
10 #pragma once
11 #include <stdint.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
24 extern uint32_t sys_random_uint32(void);
25 
33 extern uint64_t sys_random_uint64(void);
34 
35 #ifdef __cplusplus
36 }
37 #endif
uint64_t sys_random_uint64(void)
Returns a random number as a 64-bit unsigned integer.
uint32_t sys_random_uint32(void)
Returns a random number as a 32-bit unsigned integer.