<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>进程控制 on CialloKing 的博客</title>
    <link>https://cialloking.com/tags/%E8%BF%9B%E7%A8%8B%E6%8E%A7%E5%88%B6/</link>
    <description>Recent content from CialloKing 的博客</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    
    <managingEditor>xxx@example.com (CialloKing)</managingEditor>
    <webMaster>xxx@example.com (CialloKing)</webMaster>
    
    <copyright>本博客所有文章除特别声明外，均采用 BY-NC-SA 许可协议。转载请注明出处！</copyright>
    
    <lastBuildDate>Wed, 15 Apr 2026 00:00:00 +0800</lastBuildDate>
    
    
    <atom:link href="https://cialloking.com/tags/%E8%BF%9B%E7%A8%8B%E6%8E%A7%E5%88%B6/index.xml" rel="self" type="application/rss&#43;xml" />
    

    
    

    <item>
      <title>【Linux】06 - 进程控制</title>
      <link>https://cialloking.com/post/linux06---%E8%BF%9B%E7%A8%8B%E6%8E%A7%E5%88%B6/</link>
      <pubDate>Fri, 10 Apr 2026 00:00:00 &#43;0800</pubDate>
      <author>xxx@example.com (CialloKing)</author>
      <guid>https://cialloking.com/post/linux06---%E8%BF%9B%E7%A8%8B%E6%8E%A7%E5%88%B6/</guid>
      <description>
        <![CDATA[<h1>【Linux】06 - 进程控制</h1><p>作者：CialloKing（xxx@example.com）</p>
        
          <h1 id="进程控制">
<a class="header-anchor" href="#%e8%bf%9b%e7%a8%8b%e6%8e%a7%e5%88%b6"></a>
进程控制
</h1><h2 id="进程创建">
<a class="header-anchor" href="#%e8%bf%9b%e7%a8%8b%e5%88%9b%e5%bb%ba"></a>
进程创建
</h2><h3 id="fork函数">
<a class="header-anchor" href="#fork%e5%87%bd%e6%95%b0"></a>
fork函数
</h3><p>linux中<code>fork</code>函数是非常重要的函数，它从已存在进程中创建一个新进程。新进程为子进程，而原进程为父进程，给子进程返回0，父进程返回子进程pid，创建进程失败返回-1。</p>
        
        <hr><p>本文2026-04-10首发于<a href='https://cialloking.com/'>CialloKing 的博客</a>，最后修改于2026-04-15</p>]]>
      </description>
      
        <category>Linux</category>
      
    </item>
    
  </channel>
</rss>
