创建一个子进程--getid

头文件:#include<sys/types.h>

#include<unistd.h>

函数原型:pid_t getpid(void)

返回值:返回调用进程的ID号

进程控制理论_#include