Re: MEncoder build problem - probably simple... (shell stuff)
- From: Daniel James <wastebasket@xxxxxxxxxxxxxxxx>
- Date: Mon, 08 Oct 2007 11:57:51 +0100
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.
.
- References:
- MEncoder build problem - probably simple... (shell stuff)
- From: Michael Rozdoba
- Re: MEncoder build problem - probably simple... (shell stuff)
- From: Geoffrey Clements
- Re: MEncoder build problem - probably simple... (shell stuff)
- From: Michael Rozdoba
- Re: MEncoder build problem - probably simple... (shell stuff)
- From: Michael Rozdoba
- Re: MEncoder build problem - probably simple... (shell stuff)
- From: Nix
- MEncoder build problem - probably simple... (shell stuff)
- Prev by Date: Re: Simple but fast control
- Next by Date: Re: Simple but fast control
- Previous by thread: Re: MEncoder build problem - probably simple... (shell stuff)
- Next by thread: Re: MEncoder build problem - probably simple... (shell stuff)
- Index(es):
Relevant Pages
|