Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys getrandom(2): Reduce editorializing tone in man...



details:   https://anonhg.NetBSD.org/src/rev/c8268999fd82
branches:  trunk
changeset: 377233:c8268999fd82
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Jul 02 13:25:52 2023 +0000

description:
getrandom(2): Reduce editorializing tone in man page.

XXX pullup-10

diffstat:

 lib/libc/sys/getrandom.2 |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r e2a5bbdd98a0 -r c8268999fd82 lib/libc/sys/getrandom.2
--- a/lib/libc/sys/getrandom.2  Sun Jul 02 12:39:05 2023 +0000
+++ b/lib/libc/sys/getrandom.2  Sun Jul 02 13:25:52 2023 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index