libs/bsd: add arc4random(3)
Change-Id: I86e67484f04b062a4496cb63ccb34b990868b693 Reviewed-on: https://review.haiku-os.org/c/haiku/+/32 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
#ifdef _DEFAULT_SOURCE
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -20,6 +21,9 @@ extern "C" {
|
||||
int daemon(int noChangeDir, int noClose);
|
||||
const char *getprogname(void);
|
||||
void setprogname(const char *programName);
|
||||
uint32_t arc4random(void);
|
||||
void arc4random_buf(void *buf, size_t nbytes);
|
||||
uint32_t arc4random_uniform(uint32_t upper_bound);
|
||||
|
||||
int mkstemps(char *templat, int slen);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user