in reply to does system() return a pid?
G'day sciguy,
"... is that value the PID of the child process?"
As already pointed out, the answer is no; however, that's exactly what's returned (to the parent process) by fork. Perhaps that's what you were thinking of or looking for.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: does system() return a pid?
by sciguy (Novice) on Oct 10, 2015 at 17:02 UTC | |
by kcott (Archbishop) on Oct 11, 2015 at 01:27 UTC |