linux 下創建子進程

1.創建單個子進程 #include <stdio.h> #include <stdlib.h> #include <unistd.h> int main() { pid_t pid; printf("the program is begining ...\n "); pid = fork(); if(pid == -1){         perror("fork son process fai
相關文章
相關標籤/搜索