OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
test: Fix math .c dependency
[uclinux-h8/uClibc.git]
/
test
/
stdlib
/
testarc4random.c
1
#include <stdlib.h>
2
#include <stdio.h>
3
4
int main(void)
5
{
6
#ifdef __UCLIBC_HAS_ARC4RANDOM__
7
int random_number;
8
random_number = arc4random() % 65536;
9
printf("%d\n", random_number);
10
#endif
11
return 0;
12
}