<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: question on fork in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659932#M659823</link>
    <description>&lt;P&gt;(It would be more helpful if you used a subject that included your question and not the name of the forum.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;how I can adopt with HP-UX very quickly&lt;BR /&gt;&amp;gt;learn the basic Unix commands and the shell programming&lt;BR /&gt;&lt;BR /&gt;If you know the command, fork, you can use man to look it up. Unfortunately there isn't an example there.&lt;BR /&gt;You could just search the web for: C fork examples&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jul 2011 23:12:25 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-07-09T23:12:25Z</dc:date>
    <item>
      <title>language and scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659929#M659820</link>
      <description>&lt;!--!*#--&gt;sorry i have another question&lt;BR /&gt;&lt;BR /&gt;this time for the multiprocessing&lt;BR /&gt;&lt;BR /&gt;in c we write&lt;BR /&gt;&lt;BR /&gt; int main()&lt;BR /&gt;  {&lt;BR /&gt;   int pid=fork();&lt;BR /&gt;    if(pid&amp;lt;0)&lt;BR /&gt;     {&lt;BR /&gt;       printf("error");&lt;BR /&gt;       exit(-1);&lt;BR /&gt;      }&lt;BR /&gt;     else if(pid==0)&lt;BR /&gt;      {&lt;BR /&gt;      .....&lt;BR /&gt;       }&lt;BR /&gt;     else&lt;BR /&gt;      {&lt;BR /&gt;        wait(NULL);/* wait for child to complete*/&lt;BR /&gt;        exit(0);&lt;BR /&gt;       }&lt;BR /&gt;  &lt;BR /&gt;here how karnel can understand that the parent&lt;BR /&gt;process waiting for it's child to complete&lt;BR /&gt;plese reply&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jul 2010 09:07:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659929#M659820</guid>
      <dc:creator>Soumya Poddar</dc:creator>
      <dc:date>2010-07-12T09:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: language and scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659930#M659821</link>
      <description>fork() returns 0 in the child process&lt;BR /&gt;and returns the pid of the child in the parent process.&lt;BR /&gt;So if pid!=0 it means that we are executed in the parent process.&lt;BR /&gt;then wait() check if child process are zombies, else wait for the next child process dying. When a child process die it wakes up the parent process.&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jul 2010 17:21:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659930#M659821</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2010-07-12T17:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: language and scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659931#M659822</link>
      <description>can you please tell me &lt;BR /&gt;how I can adopt with HPUX very quickly&lt;BR /&gt;&lt;BR /&gt;learn the basic unix commands and the shell programing &lt;BR /&gt;&lt;BR /&gt;it will help me a lot</description>
      <pubDate>Tue, 13 Jul 2010 03:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659931#M659822</guid>
      <dc:creator>Soumya Poddar</dc:creator>
      <dc:date>2010-07-13T03:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: question on fork</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659932#M659823</link>
      <description>&lt;P&gt;(It would be more helpful if you used a subject that included your question and not the name of the forum.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;how I can adopt with HP-UX very quickly&lt;BR /&gt;&amp;gt;learn the basic Unix commands and the shell programming&lt;BR /&gt;&lt;BR /&gt;If you know the command, fork, you can use man to look it up. Unfortunately there isn't an example there.&lt;BR /&gt;You could just search the web for: C fork examples&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2011 23:12:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659932#M659823</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-07-09T23:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: language and scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659933#M659824</link>
      <description>thank you sir</description>
      <pubDate>Tue, 13 Jul 2010 05:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659933#M659824</guid>
      <dc:creator>Soumya Poddar</dc:creator>
      <dc:date>2010-07-13T05:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: question on fork</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659934#M659825</link>
      <description>&lt;P&gt;&amp;gt;thank you sir&lt;BR /&gt;&lt;BR /&gt;If you are happy with the answers you were given, please read the following on how to assign points:&lt;BR /&gt;&lt;A target="_blank" href="http://forums.itrc.hp.com/service/forums/helptips.do?#33"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Your unassigned points:&lt;BR /&gt;&lt;A target="_blank" href="http://forums.itrc.hp.com/service/forums/pageList.do?userId=WW459660&amp;amp;listType=unassigned"&gt;http://forums.itrc.hp.com/service/forums/pageList.do?userId=WW459660&amp;amp;listType=unassigned&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2011 23:13:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659934#M659825</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-07-09T23:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: language and scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659935#M659826</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; learn the basic unix commands and the shell programing&lt;BR /&gt;&lt;BR /&gt;A good quick look at using various shells can be found here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90046/index.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90046/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 09 Nov 2010 11:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/language-and-scripting/m-p/4659935#M659826</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-11-09T11:24:48Z</dc:date>
    </item>
  </channel>
</rss>

