Solaris Dynamic Tracing Guide

rand()

int rand(void)

rand() returns a pseudo-random integer. The number returned is a weak pseudo-random number, and should not be used for any cryptographic application.