L4Re Operating System Framework
Interface and Usage Documentation
•All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
rand.h
Go to the documentation of this file.
1
8/*
9 * (c) 2008-2009 Author(s)
10 * economic rights: Technische Universität Dresden (Germany)
11 * License: see LICENSE.spdx (in this directory or the directories above)
12 */
13
14#ifndef __L4UTIL_RAND_H
15#define __L4UTIL_RAND_H
16
17#define L4_RAND_MAX 65535
18
19#include <l4/sys/compiler.h>
20#include <l4/sys/l4int.h>
21
23
37
44L4_CV void
46
48
49#endif /* __L4UTIL_RAND_H */
L4 compiler related defines.
unsigned int l4_uint32_t
Unsigned 32bit value.
Definition l4int.h:29
#define __END_DECLS
End section with C types and functions.
Definition compiler.h:167
#define L4_CV
Define calling convention.
Definition linkage.h:33
#define __BEGIN_DECLS
Start section with C types and functions.
Definition compiler.h:164
void l4util_srand(l4_uint32_t seed)
Initialize random number generator.
l4_uint32_t l4util_rand(void)
Deliver next random number.