On some systems, system would be implemented using fork, exec* and waitpid. exec* alone would not be equivalent, and it wouldn't be as portable. (Windows can't fork and I think it can't exec.)
In reply to Re^2: Equivalence of System Call in C/C++
by ikegami
in thread Equivalence of System Call in C/C++
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |