|
|
|
|
|
by mark-wagner
2974 days ago
|
|
> As it turns out, the getpid function supposedly takes no parameters, so the inclusion of the parameters in the call above perplexed me. This is due to the fact that dtruss is actually a shell script trying to emulate truss with a d script and not quite succeeding. See the section starting with the comment "print 0 arg output" in dtruss if you wish to understand the meaning of the 3 "arguments." getpid() is most likely being called with 0 arguments. |
|