mailing list of musl libc
 help / color / mirror / code / Atom feed
5b09e3944bc98b4a54180e2a8777203f9aad1468 blob 361 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
#ifndef _SYS_RANDOM_H
#define _SYS_RANDOM_H
#ifdef __cplusplus
extern "C" {
#endif

#define __NEED_size_t
#define __NEED_ssize_t
#include <bits/alltypes.h>

#define GRND_NONBLOCK	0x0001
#define GRND_RANDOM	0x0002

ssize_t getrandom(void *buf, size_t buflen, unsigned int flags);

int getentropy(void *buffer, size_t length);

#ifdef __cplusplus
}
#endif
#endif
debug log:

solving 5b09e394 ...
found 5b09e394 in https://inbox.vuxu.org/musl/20180106220809.10078-1-hauke@hauke-m.de/

applying [1/1] https://inbox.vuxu.org/musl/20180106220809.10078-1-hauke@hauke-m.de/
diff --git a/include/sys/random.h b/include/sys/random.h
new file mode 100644
index 00000000..5b09e394

Checking patch include/sys/random.h...
Applied patch include/sys/random.h cleanly.

index at:
100644 5b09e3944bc98b4a54180e2a8777203f9aad1468	include/sys/random.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).