Static bins

Robert Connolly cendres at videotron.ca
Wed Jan 7 14:53:32 PST 2004


On January 7, 2004 05:46 pm, Christopher James Coleman wrote:
> On Wed, 7 Jan 2004, Matthew Burgess wrote:
> > On Wed, 07 Jan 2004 16:59:08 -0500
> >
> > Robert Connolly <cendres at videotron.ca> wrote:
> > > Also:
> > >
> > > cat > false.S << "EOF"
> > > .global _start
> > > _start:
> > > movl    $0,%ebx
> >
> >           ^^
> >           $1 ;surely for false? :)
>
> No, any non-zero value is true. A successful return from a program should
> signal that nothing needs to be done.
>
> .chris

$ false ; echo $?
1

$ true ; echo $?
0




More information about the hlfs-dev mailing list