I'm trying to migrate a set of unix codes to windows platform.
It is said PID ranges from 0 to 0x7fff in unix and PID was stored in an int32 datatype variable.
However, i find a definition "int _getpid(void);"in process.h.
Do i need to expand PID from int32 to int64? What would happen if i continue using int32 datatype?