|
pw_scan(3) -- utility functions for interactive passwd file updates
|
These functions are designed as conveniences for interactive programs which update the passwd file and do nothing else. They generally handle errors by printing out a message to the standard error str... |
pw_setprefix(3) -- passwd file update functions
|
The pw_lock(), pw_mkdb(), and pw_abort() functions allow a program to update the system passwd database. The pw_lock() function attempts to lock the passwd database by creating the file /etc/ptmp, and... |
qabs(3) -- return the absolute value of a quad integer
|
The qabs() function returns the absolute value of the quad integer j. |
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... |