home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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: sqrt UNIX in a Nutshell: System V Edition Next: Reference: strftime
Reference: sqrt Book Index Reference: 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