summaryrefslogtreecommitdiff
path: root/test/stdlib/testarc4random.c
blob: 14ff1cc368179ae9974dea89858097c8a3202434 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdlib.h>
#include <stdio.h>

int main(void)
{
	int random_number;
	random_number = arc4random() % 65536;
	printf("%d\n", random_number);
	return 0;
}