[issue1983] Return from fork() is pid_t, not int

Christian Heimes report at bugs.python.org
Thu Jan 31 22:30:03 CET 2008


Christian Heimes added the comment:

It's probably better to use pid_t through the code and add a typedef int
pid_t for system's without pid_t. Or better typedef long pid_t?

On my Linux, pid_t is defined as __PID_T_TYPE, which is defines as
__S32_TYPE which ends up as int.

----------
nosy: +tiran
priority:  -> normal
type:  -> behavior

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1983>
__________________________________


More information about the Python-bugs-list mailing list