摘要:
来源网络:View Code #include <unistd.h>#include <stdlib.h>#include <sys/types.h>#include <iostream>int main(){ int x = 5; pid_t pid = fork (); if (0 == pid) { std::cout << "pid = " << pid << std::endl; x = 6; std::cout << "x = " << 阅读全文
posted @ 2013-03-01 12:46
lc_cnblog
阅读(2559)
评论(0)
推荐(0)