rand

Section: User Commands (1)
Index Return to Main Contents
 

Name

rand - gives a random number  

Syntax

rand [[low] high]

rand -h  

Description

Outputs a random number between low and high (inclusive). If low is omitted, 0 is assumed. If both omitted, 0 and RAND_MAX is used.  

See Also

rand(3)  

Environment

PATH=$PATH:/home/joppa/horton/bin/{HPPA,RISC}

MANPATH=$MANPATH:/home/joppa/horton/man  

Author

David Horton - CiTR  

Copyright

Centre for Information Technology Research, 1994


 

Index

Name
Syntax
Description
See Also
Environment
Author
Copyright

This document was created by man2html, using the manual pages.
Time: 23:34:46 GMT, September 27, 2019