<?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 UX - Return Codes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443430#M8526</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;maybe a simlpe question, but it would help very much:&lt;BR /&gt;On UX systems, comands return a zero when they terminate normaly and a nonzero value when they don't. I a shell script the "exit" command may be used to retun an explicit value. Now my question: Are there any UX - "predefined" exit codes, which the system uses for, let's say, irregular termination?&lt;BR /&gt;And what are the values therefor?&lt;BR /&gt;&lt;BR /&gt;Hope you can help me in that matter, and thx a lot.&lt;BR /&gt;&lt;BR /&gt;Thomas</description>
    <pubDate>Thu, 07 Sep 2000 10:53:26 GMT</pubDate>
    <dc:creator>Thomas A. Feichtegger</dc:creator>
    <dc:date>2000-09-07T10:53:26Z</dc:date>
    <item>
      <title>UX - Return Codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443430#M8526</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;maybe a simlpe question, but it would help very much:&lt;BR /&gt;On UX systems, comands return a zero when they terminate normaly and a nonzero value when they don't. I a shell script the "exit" command may be used to retun an explicit value. Now my question: Are there any UX - "predefined" exit codes, which the system uses for, let's say, irregular termination?&lt;BR /&gt;And what are the values therefor?&lt;BR /&gt;&lt;BR /&gt;Hope you can help me in that matter, and thx a lot.&lt;BR /&gt;&lt;BR /&gt;Thomas</description>
      <pubDate>Thu, 07 Sep 2000 10:53:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443430#M8526</guid>
      <dc:creator>Thomas A. Feichtegger</dc:creator>
      <dc:date>2000-09-07T10:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: UX - Return Codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443431#M8527</link>
      <description>Each command may return different codes, as it is programmer dependant. Therefore you'll have to check the man pages for the commands your interested in to see what they return when.</description>
      <pubDate>Thu, 07 Sep 2000 10:55:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443431#M8527</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-09-07T10:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: UX - Return Codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443432#M8528</link>
      <description>May be of use --- IF however you want to , block users entering certain commands you can also look at ( kill -l ) signals e.g. in your script block users shelling out by pressing ctrl +c &lt;BR /&gt;etc..</description>
      <pubDate>Thu, 07 Sep 2000 11:02:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443432#M8528</guid>
      <dc:creator>Devbinder Singh Marway</dc:creator>
      <dc:date>2000-09-07T11:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: UX - Return Codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443433#M8529</link>
      <description>Thomas,&lt;BR /&gt;&lt;BR /&gt;The file /usr/include/sys/errno.h defines standard C library error codes. The comments define what the error number is used for and may be of assistance to you.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Thu, 07 Sep 2000 11:39:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443433#M8529</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-07T11:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: UX - Return Codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443434#M8530</link>
      <description>John, the /usr/include/sys/errno.h file is the return codes for system calls and not hp-ux commands. Although some commands will exit and report the system error (like dd), most do not.</description>
      <pubDate>Thu, 07 Sep 2000 12:25:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443434#M8530</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-09-07T12:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: UX - Return Codes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443435#M8531</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Some utilities follow at least use:&lt;BR /&gt;&lt;BR /&gt;0=OK, 1=fault 2=warning&lt;BR /&gt;&lt;BR /&gt;...but don't count on that!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 07 Sep 2000 12:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ux-return-codes/m-p/2443435#M8531</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-09-07T12:51:18Z</dc:date>
    </item>
  </channel>
</rss>

