From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (kristaps@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p6B9i746032476 for ; Mon, 11 Jul 2011 05:44:08 -0400 (EDT) Received: (from kristaps@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id p6B9i7ww003228; Mon, 11 Jul 2011 05:44:07 -0400 (EDT) Date: Mon, 11 Jul 2011 05:44:07 -0400 (EDT) Message-Id: <201107110944.p6B9i7ww003228@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: kristaps@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Use mandoc.1's error codes (we use them internally). X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 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