aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorIhor Antonov <ihor@antonovs.family>2023-02-27 15:37:41 +0000
committerWarner Losh <imp@FreeBSD.org>2023-02-27 15:40:08 +0000
commit6e9b4e3e0d4eb230586844c25bacb0620496c73b (patch)
treec63b891db6eb72dee5228f6ddd91096e251921d2 /lib/libc/gen
parent3aff4ccdd714105db340d68f1a2aea2f46e99122 (diff)
downloadsrc-6e9b4e3e0d4eb230586844c25bacb0620496c73b.tar.gz
src-6e9b4e3e0d4eb230586844c25bacb0620496c73b.zip
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
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/daemon.312
1 files 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