diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-09-09 07:22:39 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-09-09 07:22:39 +0000 |
commit | 456e9ebf40a66cc20f4da77dbd097479607938d9 (patch) | |
tree | 55db87e349ee6e88aaa828ebfe6899a6f9e90fdd | |
parent | e755761ebc698ac2b58246333fd256065a774e5c (diff) |
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 |