Because its not supposed to?
Those bits of documentation aren't a description of what is supposed to happen, esp on every platform
Only 0 on no-error is portable
In reply to Re: Why doesn't 'system' return '-1' when a program fails to start on Windows?
by Anonymous Monk
in thread Why doesn't 'system' return '-1' when a program fails to start on Windows?
by jkahrman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |