From nobody Mon Feb 27 15:41:58 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PQPr70DJjz3vGh1; Mon, 27 Feb 2023 15:41:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PQPr66rXWz3PqT; Mon, 27 Feb 2023 15:41:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677512519; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HDjIHEeM/qxs3jbFZn4SeP6iA5YNn9ZaW+VrbYJCZZI=; b=p6EDOZrqFxUF9pK1U4gnFcf87zzOCjwrevplFN8mUX6JCax5QRNf3rPAt230O9xpzLNFsk tXySODSKz7O4vVKFtPJBSwGSQsgTBeUq96hkABAlN/TIHUjZXVftIvePn7pjSdMWrF3L3k 7K4Gfi8MXOd8bBfa0ca6x0wawSAXxEuwUa3o4TVMgQWH+JVpzsvSbN3K3Dw+1+HjTEn2Xf FGYGZsir1QblZPrWXe2yLRde1aRnvpYF6w1H8zFDugo5f+4tSkiJsg/KMRYp07Z8j09NC3 1iFr3du6Ppe1NOdC14QnthMZL205Lx9Z1a0tCRxfq6ZLqiyFNz2xtayv+oHYqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677512519; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HDjIHEeM/qxs3jbFZn4SeP6iA5YNn9ZaW+VrbYJCZZI=; b=nddJWe8NhPml29i1fhk9K5g6pma8DZA6ZLCWNkZnteRXjb6bZETLVySgsGI4QZNW86wPOO lvTmIXyjKvOvx0wX2EEMZnnvA+fh7qal2RHMj6SOzz1goGK1XJWdFzJ0Ucj9WGrnmWjDzp fCvFXKFX12O3P8noIkoA4KF+ix+Azy3pq33BaCW6VGZz5OWlrP38/8yecREGBm2L7xuyaz WDpxqeYTA36KCU/nVqz6ZWJxxAXqo4aLqXZJW8XfZjDMyBJ4N9IH1Y4GUz9L4kIVQ2+glS bCmZXuouillLLv4glXmURrEd0+zHyErs9zufdT+rUJC0vrgHenhMnVpAJO5SlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677512519; a=rsa-sha256; cv=none; b=MnB1Ppty2HNVhd14arqGvwHjVqe2WcOx8fxcjG6iDLXjgSgh8dwI61SnRrH/8dy67a8i1M ICfFRAkDZLOpvanoBfTSghKaW0bKQheapynHB2UP6mHMx817R80Ha8S6136Qvf2jhBh0Ja pSlu0cOZ+vKYGJnA1VNamvcfx1c00I9Aauq9l4NoxjYen9PbtZi7LupQSXDNY0HcLqDz/y qfljTE2SPXnUQ21WZ9Xb0s+OytY6uSk/KFaqfjdMMcCK2f/MFXl3Mr1rEAugQjDa7/EP86 xwN3uNuWVvIyqPRkPq9QMOYH8gqNDmP4F1j/5aRR/K9qYXBmPR0wkYa2vWwquA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PQPr65vHLzWWj; Mon, 27 Feb 2023 15:41:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31RFfwxY081471; Mon, 27 Feb 2023 15:41:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31RFfwAm081470; Mon, 27 Feb 2023 15:41:58 GMT (envelope-from git) Date: Mon, 27 Feb 2023 15:41:58 GMT Message-Id: <202302271541.31RFfwAm081470@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 6e9b4e3e0d4e - main - man 3 daemon: remove double negation List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6e9b4e3e0d4eb230586844c25bacb0620496c73b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=6e9b4e3e0d4eb230586844c25bacb0620496c73b commit 6e9b4e3e0d4eb230586844c25bacb0620496c73b Author: Ihor Antonov AuthorDate: 2023-02-27 15:37:41 +0000 Commit: Warner Losh 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