SIMPLE SOLUTIONS

RANDOM - reference manual online

Generate pseudo-random number.

Chapter
2013
RANDOM(3POSIX)                      POSIX Programmer's Manual                      RANDOM(3POSIX)

PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME random — generate pseudo-random number
SYNOPSIS #include <stdlib.h> long random(void);
DESCRIPTION Refer to initstate().
IEEE/The Open Group 2013 RANDOM(3POSIX)