lkml.org 
[lkml]   [1999]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: true & false
    From
    Date
    Alex Buell <alex.buell@tahallah.demon.co.uk> writes:

    > /* true.c */
    > int main(void)
    > {
    > return 1;
    > }
    >
    > /* false.c */
    > int main(void)
    > {
    > return 0;
    > }
    >

    I believe, you have to use exit(EXIT_{SUCCESS,FAILURE}) instead of
    'return' for POSIX compliance...


    --
    Alexander L. Belikoff
    Bloomberg L.P. / BFM Financial Research Ltd.
    abel@vallinor4.com, abel@bfr.co.il

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:51    [W:0.019 / U:29.644 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site