PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
random.h
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
11#ifndef __PS2SDK_SYS_RANDOM_H__
12#define __PS2SDK_SYS_RANDOM_H__
13
14#include <unistd.h>
15
16/* getrandom flags */
17#define GRND_NONBLOCK 1
18#define GRND_RANDOM 2
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24ssize_t getrandom (void *buf, size_t buflen, unsigned int flags);
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif