Re: MEncoder build problem - probably simple... (shell stuff)



In article news:<87k5pynn2d.fsf@xxxxxxxxxxxxxxx>, Nix wrote:
It *is* somewhat annoying and inconsistent that 0 == success for
programs, but 0 == false for C code.

Not really inconsistent ... programs return an error code, with 0
representing "no error" and all non-zero (or 'true', if you like)
values meaning "there was an error" (and also telling you which one).

The semantics are consistent if you think them through.
--
Cheers,
Daniel.


.



Relevant Pages

  • Re: [PATCH] memcg: fix return value of mem_cgroup_hierarchy_write()
    ... this doesn't seem to fit the meaning of EBUSY, and is inconsistent with ... Hmm...I'm not sure what error code is the best. ... How about change swappiness to return -EBUSY? ...
    (Linux-Kernel)
  • Re: Windows XP Service Pack 2 Installation Failure
    ... The extended attributes are inconsistent ... JES wrote: ... Installation Failure ... Error Code: 0x800700C1 ...
    (microsoft.public.windowsupdate)
  • Re: What FOL Cant Prove
    ... depends on the domain of discourse. ... Asking whether a domain is consistent or not is like ... If we assume PA is inconsistent, ... What is the meaning of this brazen last-second mention ...
    (sci.logic)
  • Re: F15 Error: Panasonic SL-SV570
    ... such an error code or its meaning in the user instructions. ... Any information about the meaning of this error code, ... likely scenario is a bad laser - too expensive to fix in that event. ...
    (rec.audio.misc)
  • Re: RDP ActiveX error reason code 2824
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... but I couldn't find the meaning of this error code. ... Can you please refer me to an updated list of error codes and their meaning ...
    (microsoft.public.windows.terminal_services)