in reply to Return codes from a system() call
That's because it's only seemingly simple. The return value is whatever exit status the command you executed returned. The only general convention is that 0 indicates success and not-zero means something went some degree of wrong. You have to look at the documentation for whatever it is you ran to know exactly what it means when /usr/bin/fnord exited with status 23.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Return codes from a system() call
by oltranzista (Initiate) on Jan 29, 2008 at 20:38 UTC |