System/Network
Fork로 자식 프로세스 생성 실습
(추후 수정) 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354#include #include #include #include #include int main(int argc, char *argv[], char *env[]) { pid_t my_pid, parent_pid, child_pid; int status; // get and print my pid and my parent's pid. my_pid = getpid(); parent_pid = getppid(); printf("\nParent : My PID is %d.\n\n", my_pid); printf("Paren..