#5 Make readdbx return 0 on success

open
nobody
None
5
2004-01-10
2004-01-10
Tim Heaney
No

I added a 'return 0' to the end of main in readdbx.c
and recompiled, so it would return 0 on success. This
was so I could call it from a script and act accordingly.

I think some operating systems, such as Solaris, will
return a 0 by default. But others, such as Linux (on
which I am currently working), do not. Perhaps you
would prefer to use exit(0) or even
exit(EXIT_SUCCESS), rather than return 0, but it would
be nice to have one of those.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks