getrandmax

getrandmax -- show largest possible random value

Description

int getrandmax(void );

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

See also rand() and srand().