diff options
author | 2008-09-09 07:22:38 +0000 | |
---|---|---|
committer | 2008-09-09 07:22:38 +0000 | |
commit | 970435caf19fcc1f1785760c4bf85e7f57a225e7 (patch) | |
tree | 89c2461b896cc102dd4e3d9a142e3b94fb840fc0 | |
parent | regen (diff) | |
download | wireguard-openbsd-970435caf19fcc1f1785760c4bf85e7f57a225e7.tar.xz wireguard-openbsd-970435caf19fcc1f1785760c4bf85e7f57a225e7.zip |
style(9) does not recommend sysexits, so don;t claim it does;
also swap the style Xr for _exit(2);
prodded by two PRs from FreeBSD, 127219 and 127220, submitted
by Bruce Cran, though we've taken the opposite fix;
help/ok otto
-rw-r--r-- | share/man/man3/sysexits.3 | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/share/man/man3/sysexits.3 b/share/man/man3/sysexits.3 index 94f2f9aa9ef..58ff8ba7341 100644 --- a/share/man/man3/sysexits.3 +++ b/share/man/man3/sysexits.3 @@ -23,10 +23,10 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: sysexits.3,v 1.7 2007/05/31 19:19:48 jmc Exp $ +.\" $OpenBSD: sysexits.3,v 1.8 2008/09/09 07:22:38 jmc Exp $ .\" $FreeBSD: src/share/man/man3/sysexits.3,v 1.4.2.1 1999/08/29 16:45:41 peter Exp $ .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 9 2008 $ .Dt SYSEXITS 3 .Os .Sh NAME @@ -35,9 +35,7 @@ .Sh SYNOPSIS .Fd #include <sysexits.h> .Sh DESCRIPTION -According to -.Xr style 9 , -it is not good practice to call +It is not good practice to call .Xr exit 3 with arbitrary values to indicate a failure condition when ending a program. Instead, the pre-defined exit codes from @@ -119,8 +117,8 @@ Something was found in an unconfigured or misconfigured state. The numerical values corresponding to the symbolical ones are given in parentheses for easy reference. .Sh SEE ALSO -.Xr exit 3 , -.Xr style 9 +.Xr _exit 2 , +.Xr exit 3 .Sh HISTORY The .Nm |