4.2.28 rand

int rand(void)

The rand function returns a pseudo-random integer. Because the number that is returned is a weak pseudo-random number, it therefore should not be used for any cryptographic application.