In article <20230603120221.0766b60...@jupiter.mumble.net>, Taylor R Campbell <campbell+netbsd-tech-userle...@mumble.net> wrote: >> Date: Sat, 3 Jun 2023 13:45:44 +0200 >> From: tlaro...@polynum.com >> >> So I suggest to add a mention of sysexits(7) to style. > >I don't think sysexits(7) is consistently used enough, or really >useful enough, to warrant being a part of the style guide. Very few >programs, even those in src, use it, and I don't think anything >_relies_ on it for semantics in calling programs.
I agree; nothing really uses sysexits except inside sendmail perhaps... It has been around for more than 40 years: ^As 00062/00000/00000 ^Ad D 1.1 81/10/15 20:29:54 eric 1 0 ^Ac date and time created 81/10/15 20:29:54 by eric and one would think that if it was useful, it would have caught on by now. I think that it is best for most programs to use EXIT_SUCCESS/EXIT_FAILURE instead except for ones like init(8)... christos