举例:
#include <stdio.h>
int main()
{
printf("hello world,pid: %d,ppid: %d\n",getpid(),getppid());
return 99;
}