title: C Program - How to get child's child pid in a parent [After fork]
body: <pre><code>Parent-&gt; fork
  ------------1st Child(A)-&gt; fork again
  --------------------&gt;1st Child's Child(Aa)
  </code></pre>
  
  <p>If <strong>I am the parent</strong>, how to get the child's child(Aa) pid in C program?
  Or how to get all the pid within this group?</p>