This function returns the process ID of the calling process.
Since this function has a direct analog in Windows, the only
changes that should be needed are to rename the function in your
source code, and include the needed Windows header file.
Example of Use in Windows
#include <process.h>
printf("The process ID is %d.", _getpid());