Messages in this thread | | | Subject | Re: true & false | From | (Alexander L. Belikoff) | Date | 05 Apr 1999 19:47:25 +0300 |
| |
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/
| |