aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Wibo <obiwac@FreeBSD.org>2026-05-30 19:00:02 +0000
committerAymeric Wibo <obiwac@FreeBSD.org>2026-05-30 19:07:29 +0000
commiteda74fe47993f1d62e7c110850def6960b55291e (patch)
tree44e86d14a490708b26ff23f23c5d3f35c603cb4c
parentc115aad996d52f5270ccd22b27d1f34b4f0f4160 (diff)
rand(3): Normalize function ordering
Align ordering between NAME & SYNOPSIS sections. Obtained from: https://github.com/apple-oss-distributions/libc Sponsored by: Klara, Inc.
-rw-r--r--lib/libc/stdlib/rand.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/stdlib/rand.3 b/lib/libc/stdlib/rand.3
index 33eaa191b4fe..200e770b6daf 100644
--- a/lib/libc/stdlib/rand.3
+++ b/lib/libc/stdlib/rand.3
@@ -29,24 +29,24 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd February 1, 2020
+.Dd May 30, 2026
.Dt RAND 3
.Os
.Sh NAME
.Nm rand ,
-.Nm srand ,
-.Nm rand_r
+.Nm rand_r ,
+.Nm srand
.Nd bad random number generator
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.In stdlib.h
-.Ft void
-.Fn srand "unsigned seed"
.Ft int
.Fn rand void
.Ft int
.Fn rand_r "unsigned *ctx"
+.Ft void
+.Fn srand "unsigned seed"
.Sh DESCRIPTION
.Bf -symbolic
The functions described in this manual page are not cryptographically