[patch] save ~600B

Mike Frysinger vapier at gentoo.org
Wed Jun 7 14:38:06 UTC 2006


On Monday 05 June 2006 08:41, Paul Fox wrote:
> wharm wrote:
>  > personally i am the fan of
>  >    exit( EXIT_FAILURE ) ;
>
> and "EXIT_FAILURE" is cleverly defined as "1", right?  why
> not just "exit(1)"?  this keeps it simple, concise, and transparent.

funny, i find EXIT_FAILURE a lot easier to read ... especially when some 
functions return 0 to mean success while others return 0 to mean failure
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060607/a94be6a2/attachment-0002.pgp 


More information about the busybox mailing list