diff options
author | 2016-05-18 11:41:16 +0000 | |
---|---|---|
committer | 2016-05-18 11:41:16 +0000 | |
commit | 15362652c3947ed1118ea70e706ff5da2c88e0cc (patch) | |
tree | 321520c94347eb0d679e608a28438ba2ff0064e3 /lib/libc | |
parent | In hostap mode, don't re-use association IDs (AIDs) of nodes which are (diff) | |
download | wireguard-openbsd-15362652c3947ed1118ea70e706ff5da2c88e0cc.tar.xz wireguard-openbsd-15362652c3947ed1118ea70e706ff5da2c88e0cc.zip |
Reduce quadruple negation to double negation;
from Edgar Pettijohn <edgar at pettijohn minus web dot com>.
OK jmc@ deraadt@
While here, remove two instances of inconsistent future tense.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/daemon.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/gen/daemon.3 b/lib/libc/gen/daemon.3 index f221c0ede22..4bcb462704e 100644 --- a/lib/libc/gen/daemon.3 +++ b/lib/libc/gen/daemon.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: daemon.3,v 1.12 2013/06/05 03:39:22 tedu Exp $ +.\" $OpenBSD: daemon.3,v 1.13 2016/05/18 11:41:16 schwarze Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: May 18 2016 $ .Dt DAEMON 3 .Os .Sh NAME @@ -43,18 +43,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 . .Sh RETURN VALUES Upon success, @@ -78,11 +78,11 @@ The function first appeared in .Bx 4.4 . .Sh CAVEATS -Unless the +If the .Ar noclose -argument is non-zero, +argument is zero, .Fn daemon -will close the first three file descriptors and redirect them to +closes the first three file descriptors and redirects them to .Pa /dev/null . Normally, these correspond to standard input, standard output and standard error. |