Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
rand_r(3) OSS Library Calls Reference Manual
For more detailed information about writing multi-threaded or 64-bit applications for the Open |
System Services environment, see the Open System Services Programmer’s Guide.
RETURN VALUES
The rand_r( ) function returns the next pseudorandom number in the sequence.
ERRORS
No error values are returned. This function does not set the errno variable.
RELATED INFORMATION
Functions: rand(3).
STANDARDS CONFORMANCE
Interfaces documented on this reference page conform to the following industry standards:
• IEEE Std 1003.1-2004, POSIX System Application Program Interface
The use of the header file spthread.h is an HP exception to the POSIX standard.
5−136 Hewlett-Packard Company 527187-017