L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
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 * This file is part of TUD:OS and distributed under the terms of the
12 * GNU Lesser General Public License 2.1.
13 * Please see the COPYING-LGPL-2.1 file for details.
14 */
15
16#ifndef __L4UTIL_RAND_H
17#define __L4UTIL_RAND_H
18
19#define L4_RAND_MAX 65535
20
21#include <l4/sys/compiler.h>
22#include <l4/sys/l4int.h>
23
25
39
46L4_CV void
48
50
51#endif /* __L4UTIL_RAND_H */
L4 compiler related defines.
unsigned int l4_uint32_t
Unsigned 32bit value.
Definition l4int.h:40
#define L4_CV
Define calling convention.
Definition linkage.h:44
#define EXTERN_C_BEGIN
Start section with C types and functions.
Definition compiler.h:192
#define EXTERN_C_END
End section with C types and functions.
Definition compiler.h:193
void l4util_srand(l4_uint32_t seed)
Initialize random number generator.
l4_uint32_t l4util_rand(void)
Deliver next random number.