|
qdiv(3) -- return quotient and remainder from division
|
The qdiv() function computes the value num/denom and returns the quotient and remainder in a structure named qdiv_t that contains two quad integer members named quot and rem. |
qsort(3) -- sort functions
|
The qsort() function is a modified partition-exchange sort, or quicksort. The heapsort() function is a modified selection sort. The mergesort() function is a modified merge sort with exponential searc... |
|
queue(3) -- implementations of singlylinked lists, lists, simple queues, tail queues, and circular queues
|
These macros define and operate on five types of data structures: singlylinked lists, lists, simple queues, tail queues, and circular queues. All five structures support the following functionality: 1... |
radixsort(3) -- radix sort
|
The radixsort() and sradixsort() functions are implementations of radix sort. These functions sort an nmemb element array of pointers to byte strings, with the initial member of which is referenced by... |
raise(3) -- send a signal to the current process
|
The raise() function sends the signal sig to the current process. |
rand(3) -- bad random number generator
|
These interfaces are obsoleted by random(3). The rand() function computes a sequence of pseudo-random integers in the range of 0 to RAND_MAX (as defined by the header file ). The srand() fun... |
rand48(3) -- pseudo random number generators and initialization routines
|
The rand48() family of functions generates pseudo-random numbers using a linear congruential algorithm working on integers 48 bits in size. The particular formula employed is r(n+1) = (a * r(n) + c) m... |
random(3) -- better random number generator; routines for changing generators
|
The random() function uses a non-linear additive feedback random number generator employing a default table of size 31 long integers to return successive pseudo-random numbers in the range from 0 to (... |
RAND_add(3) -- add entropy to the PRNG
|
RAND_add() mixes the num bytes at buf into the PRNG state. Thus, if the data at buf are unpredictable to an adversary, this increases the uncertainty about the state and makes the PRNG output less pre... |
RAND_bytes(3) -- generate random data
|
RAND_bytes() puts num cryptographically strong pseudo-random bytes into buf. An error occurs if the PRNG has not been seeded with enough randomness to ensure an unpredictable byte sequence. RAND_pseud... |
RAND_cleanup(3) -- erase the PRNG state
|
RAND_cleanup() erases the memory used by the PRNG. |
RAND_egd(3) -- query entropy gathering daemon
|
RAND_egd() queries the entropy gathering daemon EGD on socket path. It queries 255 bytes and uses RAND_add(3) to seed the OpenSSL built-in PRNG. RAND_egd(path) is a wrapper for RAND_egd_bytes(path, 25... |
RAND_load_file(3) -- PRNG seed file
|
RAND_file_name() generates a default path for the random seed file. buf points to a buffer of size num in which to store the filename. The seed file is $RANDFILE if that environment variable is set, $... |
rand_r(3) -- bad random number generator
|
These interfaces are obsoleted by random(3). The rand() function computes a sequence of pseudo-random integers in the range of 0 to RAND_MAX (as defined by the header file ). The srand() fun... |
RAND_set_rand_method(3) -- select RAND method
|
A RAND_METHOD specifies the functions that OpenSSL uses for random number generation. By modifying the method, alternative implementations such as hardware RNGs may be used. Initially, the default is ... |