fork函数创建子进程
时间: 2023-10-12 20:59:21 浏览: 127
举例讲解C语言的fork()函数创建子进程的用法
fork函数是一个在操作系统中创建子进程的函数。当调用fork函数时,操作系统会复制当前进程的副本,创建一个新的子进程。原有的进程被称为父进程,复制的进程被称为子进程。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *3* [fork()函数如何创建进程?【详细步骤】](https://blog.csdn.net/zy1992As/article/details/128836399)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
- *2* [fork()创建子进程步骤、函数用法及常见考点(内附fork()过程图)](https://blog.csdn.net/yangcs2009/article/details/39267733)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文