Re: RFC: error codes on exit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 5/21/21 9:53 AM, Alex Henrie wrote:
On Wed, May 19, 2021 at 6:40 PM Felipe Contreras
<felipe.contreras@xxxxxxxxx> wrote:

It's good to not include many initial codes, but I would start with at
least three:

   OK = 0,
   UNKNOWN = 1,
   NORMAL = 2,

If you go that route, could you please pick a word other than "normal"
to describe errors that are not entirely unexpected? I'm worried that
someone will see "normal" and use it instead of "OK" to indicate
success.


<sysexits.h>

	-hpa




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux