Linux中進程和線程使用的幾個函數

1.linux進程相關函數 (1)獲取當前進程號linux         pid_t getpid(void) windows         頭文件:sys/types.h、unistd.h bash         該函數成功返回當前ID,該函數always successful 數據結構 (2)獲取父進程號函數         pid_t getppid(void) spa        
相關文章
相關標籤/搜索