summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2023-07-02 13:25:52 +0000
committerriastradh <riastradh@NetBSD.org>2023-07-02 13:25:52 +0000
commitc9a01b09d21c7c6da897cac3307d76418fb01ac1 (patch)
tree279710aadbd51a24dd0658c19f9b8c42e16c09e6 /lib/libc/sys
parentd0e09a00715b57874495b5d76d1d309fb6809a6e (diff)
getrandom(2): Reduce editorializing tone in man page.
XXX pullup-10
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/getrandom.28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/getrandom.2 b/lib/libc/sys/getrandom.2
index 417326035e4..0543c7be0d5 100644
--- a/lib/libc/sys/getrandom.2
+++ b/lib/libc/sys/getrandom.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: getrandom.2,v 1.2 2023/06/30 21:44:22 riastradh Exp $
+.\" $NetBSD: getrandom.2,v 1.3 2023/07/02 13:25:52 riastradh Exp $
.\"
.\" Copyright (c) 2020 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -124,7 +124,7 @@ since
never blocks.
The combination
.Dv GRND_INSECURE Ns Li "|" Ns Li GRND_RANDOM
-is nonsensical and fails with
+always fails with
.Er EINVAL .
.Sh RETURN VALUES
If successful,
@@ -240,5 +240,5 @@ see
.Pp
The
.Nm
-interface is unnecessarily complicated for no real value to
-applications, because of hysterical raisins.
+interface has more options than real-world applications need, with
+confusing and unclear semantics inherited from Linux.