Unix編程常見問題(doc 57頁)
Unix編程常見問題(doc 57頁)內容簡介
1. Process Control 進程控製
1.1 Creating new processes: fork() 創建新進程:fork函數
1.1.1 What does fork() do? fork函數幹什麼?
1.1.2 What's the difference between fork() and vfork()? fork函數與 vfork函數的區別在哪裏?
1.1.3 Why use _exit rather than exit in the child branch of a fork? 為何在一個fork的子進程分支中使用_exit函數而不使用exit函數?
1.2 Environment variables 環境變量
1.2.1 How can I get/set an environment variable from a program? 我怎樣在程序中獲得/設置環境變量?
1.2.2 How can I read the whole environment? 我怎樣讀取整個環境變量表?
1.3 How can I sleep for less than a second? 我怎樣睡眠小於一秒?
1.4 How can I get a finer-grained version of alarm()? 我怎樣得到一個更細分時間單位的alarm函數版本(譯者注:希望alarm的時間小於一秒)?
1.5 How can a parent and child process communicate? 父子進程如何通信?
..............................
1.1 Creating new processes: fork() 創建新進程:fork函數
1.1.1 What does fork() do? fork函數幹什麼?
1.1.2 What's the difference between fork() and vfork()? fork函數與 vfork函數的區別在哪裏?
1.1.3 Why use _exit rather than exit in the child branch of a fork? 為何在一個fork的子進程分支中使用_exit函數而不使用exit函數?
1.2 Environment variables 環境變量
1.2.1 How can I get/set an environment variable from a program? 我怎樣在程序中獲得/設置環境變量?
1.2.2 How can I read the whole environment? 我怎樣讀取整個環境變量表?
1.3 How can I sleep for less than a second? 我怎樣睡眠小於一秒?
1.4 How can I get a finer-grained version of alarm()? 我怎樣得到一個更細分時間單位的alarm函數版本(譯者注:希望alarm的時間小於一秒)?
1.5 How can a parent and child process communicate? 父子進程如何通信?
..............................
用戶登陸
信息化知識熱門資料
信息化知識相關下載