getrandmax

Show largest possible random value

Description

int getrandmax ( void )

Returns the maximum value that can be returned by a call to rand.

Return Values

The largest possible random value returned by rand

See Also

  • rand
  • srand
  • mt_getrandmax