<?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: Exit Codes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exit-codes/m-p/2423726#M531</link>
    <description>There really is no standard for exit codes...each program defines its own.  So you  need to look at the man page for the particular command.&lt;BR /&gt;&lt;BR /&gt;For example, "man cpio" tells us that a 2 means out-of-phase error.  But "man frecover" says 2 means "error conditions prevent the session from completing".&lt;BR /&gt;&lt;BR /&gt;There is somewhat of a standard throughout unix that 0 means success and non-zero means failure of some kind.  Even that is not completely followed.  So check the man page to be sure.</description>
    <pubDate>Tue, 23 May 2000 19:10:05 GMT</pubDate>
    <dc:creator>Paul Hite</dc:creator>
    <dc:date>2000-05-23T19:10:05Z</dc:date>
    <item>
      <title>Exit Codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exit-codes/m-p/2423725#M530</link>
      <description>What are the exit codes on HP-UX 11.0 and what do they mean?  Also, what specifically is exit code 2?</description>
      <pubDate>Tue, 23 May 2000 16:32:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exit-codes/m-p/2423725#M530</guid>
      <dc:creator>Gale W. Satre</dc:creator>
      <dc:date>2000-05-23T16:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exit Codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exit-codes/m-p/2423726#M531</link>
      <description>There really is no standard for exit codes...each program defines its own.  So you  need to look at the man page for the particular command.&lt;BR /&gt;&lt;BR /&gt;For example, "man cpio" tells us that a 2 means out-of-phase error.  But "man frecover" says 2 means "error conditions prevent the session from completing".&lt;BR /&gt;&lt;BR /&gt;There is somewhat of a standard throughout unix that 0 means success and non-zero means failure of some kind.  Even that is not completely followed.  So check the man page to be sure.</description>
      <pubDate>Tue, 23 May 2000 19:10:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exit-codes/m-p/2423726#M531</guid>
      <dc:creator>Paul Hite</dc:creator>
      <dc:date>2000-05-23T19:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exit Codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exit-codes/m-p/2423727#M532</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;System programs use to return exit codes as described in /usr/include/errno.h  ( really in /usr/include/sys/errno.h. At least it should be so. &lt;BR /&gt;i.e: dd returns $?=5. If you look 5 in errno.h this is I/O error.&lt;BR /&gt;&lt;BR /&gt;Note than i have said system programs, no users programs.&lt;BR /&gt;&lt;BR /&gt;But what paul said is really true. &lt;BR /&gt;i.e.: last versions of tar returns 5 if when extracting if same file owner is not in passwd.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 May 2000 07:59:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exit-codes/m-p/2423727#M532</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2000-05-24T07:59:40Z</dc:date>
    </item>
  </channel>
</rss>

