random

Updated: April 19, 2023

For best security, QNX recommends you use the QNX Neutrino random service instead of the random number functions that libc provides.

The random service is the provider of the /dev/random and /dev/urandom system interfaces that provide random data. See random in the Utilities Reference.

Alternatively, you can access /dev/urandom via the QNX cryptography library by specifying urandom as the algorithm name when you request an RNG algorithm (using qcrypto_rng_request()). For more information, see QNX Cryptography Library.