source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Use mandoc.1's error codes (we use them internally).
@ 2011-07-11  9:44 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-07-11  9:44 UTC (permalink / raw)
  To: source

Log Message:
-----------
Use mandoc.1's error codes (we use them internally).

Modified Files:
--------------
    mdocml:
        makewhatis.1

Revision Data
-------------
Index: makewhatis.1
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/makewhatis.1,v
retrieving revision 1.11
retrieving revision 1.12
diff -Lmakewhatis.1 -Lmakewhatis.1 -u -p -r1.11 -r1.12
--- makewhatis.1
+++ makewhatis.1
@@ -146,7 +146,24 @@ A
 database of indexed file-names.
 .El
 .Sh EXIT STATUS
-.Ex -std
+The
+.Nm
+utility exits with one of the following values:
+.Pp
+.Bl -tag -width Ds -compact
+.It 0
+No errors occurred.
+.It 5
+Invalid command line arguments were specified.
+No input files have been read.
+.It 6
+An operating system error occurred, for example memory exhaustion or an
+error accessing input files.
+Such errors cause
+.Nm
+to exit at once, possibly in the middle of parsing or formatting a file.
+The output databases are corrupt and should be removed .
+.El
 .Sh SEE ALSO
 .Xr mandoc 1
 .Sh AUTHORS
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-11  9:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-11  9:44 mdocml: Use mandoc.1's error codes (we use them internally) kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).