git: 6e9b4e3e0d4e - main - man 3 daemon: remove double negation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Feb 2023 15:41:58 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=6e9b4e3e0d4eb230586844c25bacb0620496c73b
commit 6e9b4e3e0d4eb230586844c25bacb0620496c73b
Author: Ihor Antonov <ihor@antonovs.family>
AuthorDate: 2023-02-27 15:37:41 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-02-27 15:40:08 +0000
man 3 daemon: remove double negation
Rephrase double negated sentences to improve readability
OpenBSD has done the same in the past to their man 3 daemon
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/671
---
lib/libc/gen/daemon.3 | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lib/libc/gen/daemon.3 b/lib/libc/gen/daemon.3
index f4129fc47144..bc346e022d4f 100644
--- a/lib/libc/gen/daemon.3
+++ b/lib/libc/gen/daemon.3
@@ -28,7 +28,7 @@
.\" @(#)daemon.3 8.1 (Berkeley) 6/9/93
.\" $FreeBSD$
.\"
-.Dd December 23, 2017
+.Dd February 27, 2023
.Dt DAEMON 3
.Os
.Sh NAME
@@ -48,18 +48,18 @@ The
function is for programs wishing to detach themselves from the
controlling terminal and run in the background as system daemons.
.Pp
-Unless the argument
+If the argument
.Fa nochdir
-is non-zero,
+is zero,
.Fn daemon
changes the current working directory to the root
.Pq Pa / .
.Pp
-Unless the argument
+If the argument
.Fa noclose
-is non-zero,
+is zero,
.Fn daemon
-will redirect standard input, standard output, and standard error to
+redirects standard input, standard output, and standard error to
.Pa /dev/null .
.Pp
The