☰
Debian Codegraph
@
3.3.2-22
/
/
contrib
/
fingergoodies
/
random.c
☽
☼
contrib/fingergoodies/random.c
code
plain
raw
symbols
SCIP
1
/*
2
random.c
3
This program randomly picks one of its command line arguments and prints it.
4
[Raphael Quinet, 07 Feb 92, 13 May 93]
5
*/
6
main
(v,c)
char
**c;{
srandom
((
int
)
time
(!++c)*
getpid
());v-->
1
?
printf
(
"%s\n"
,c[
random
()%v]):(
int
)v;}