From ff00eac2401732e9efb6170ffb90100dcf6332a7 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 23 Apr 2024 07:14:25 -0700 Subject: Move some supplemental APIs to reduce friction in using them. The supplemental/util/platform.h is kind of a pain, so we move move the prototypes for commonly used functions out of there, into nng.h proper. --- docs/man/nng_random.3supp.adoc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'docs/man/nng_random.3supp.adoc') diff --git a/docs/man/nng_random.3supp.adoc b/docs/man/nng_random.3supp.adoc index 3f8ac39e..c2cd4bac 100644 --- a/docs/man/nng_random.3supp.adoc +++ b/docs/man/nng_random.3supp.adoc @@ -1,6 +1,6 @@ = nng_random(3supp) // -// Copyright 2018 Staysail Systems, Inc. +// Copyright 2024 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // // This document is supplied under the terms of the MIT License, a @@ -18,7 +18,6 @@ nng_random - get random number [source, c] ---- #include -#include uint32_t nng_random(void); ---- @@ -26,8 +25,6 @@ uint32_t nng_random(void); == DESCRIPTION The `nng_random()` returns a random number. -The value returned is suitable for use with cryptographic functions such as -key generation. The value is obtained using platform specific cryptographically strong random number facilities when available. -- cgit v1.2.3-70-g09d2