UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: sqrtChapter 11
The awk Programming Language
Next: Reference: strftime
 

srand

srand([expr])

Use optional expr to set a new seed for the random number generator. Default is the time of day. Return value is the old seed. {N}


Previous: Reference: sqrtUNIX in a Nutshell: System V EditionNext: Reference: strftime
Reference: sqrtBook IndexReference: strftime

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System