sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
random.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
15
#ifndef COMMON_SYS_RANDOM_H
16
#define COMMON_SYS_RANDOM_H
17
18
#include <
unistd.h
>
19
20
/* getrandom flags */
21
#define GRND_NONBLOCK 1
22
#define GRND_RANDOM 2
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
extern
ssize_t getrandom (
void
*buf,
size_t
buflen,
unsigned
int
flags);
29
30
#ifdef __cplusplus
31
}
32
#endif
33
34
#endif
unistd.h
core
common
include
sys
random.h
Generated by
1.18.0