OSDN Git Service
(root)
/
android-x86
/
external-musl-libc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
don't set errno or return an error when getspnam[_r] finds no entry
[android-x86/external-musl-libc.git]
/
include
/
sys
/
random.h
1
#ifndef _SYS_RANDOM_H
2
#define _SYS_RANDOM_H
3
#ifdef __cplusplus
4
extern "C" {
5
#endif
6
7
#define __NEED_size_t
8
#define __NEED_ssize_t
9
#include <bits/alltypes.h>
10
11
#define GRND_NONBLOCK 0x0001
12
#define GRND_RANDOM 0x0002
13
14
ssize_t getrandom(void *, size_t, unsigned);
15
16
#ifdef __cplusplus
17
}
18
#endif
19
#endif