<?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: _sys_siglist in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-siglist/m-p/4782273#M640977</link>
    <description>&amp;gt;Is there an equivalent for "_sys_siglist" which I should use in HP-UX?&lt;BR /&gt;&lt;BR /&gt;Perhaps just create an array with "Signal 1", etc. in it.  The names aren't that important vs the numbers.</description>
    <pubDate>Fri, 29 Apr 2011 06:21:29 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-04-29T06:21:29Z</dc:date>
    <item>
      <title>_sys_siglist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-siglist/m-p/4782271#M640975</link>
      <description>We are migrating our app from SunOS 5.8 to HP-UX.&lt;BR /&gt;&lt;BR /&gt;While compiling the C program, we are getting the error:&lt;BR /&gt;&lt;BR /&gt;identifier "_sys_siglist" is undefined.&lt;BR /&gt;&lt;BR /&gt;After searching through the net, I have added the headers:&lt;BR /&gt;&lt;BR /&gt;#include &lt;SIGNAL.H&gt;&lt;BR /&gt;#include &lt;UNISTD.H&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;&lt;BR /&gt;But still the error persists. When searching the hp forums for "_sys_siglist", there were no results for the keyword.&lt;BR /&gt;&lt;BR /&gt;Do I need to add any other headers for this? or Is there an equivalent for "_sys_siglist" which I should use in HP Unix.&lt;BR /&gt;&lt;/SYS&gt;&lt;/UNISTD.H&gt;&lt;/SIGNAL.H&gt;</description>
      <pubDate>Thu, 28 Apr 2011 10:03:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-siglist/m-p/4782271#M640975</guid>
      <dc:creator>rajeshmsr</dc:creator>
      <dc:date>2011-04-28T10:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: _sys_siglist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-siglist/m-p/4782272#M640976</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Do I need to add any other headers for this?&lt;BR /&gt;&lt;BR /&gt;You would probably need to create your own&lt;BR /&gt;string array on HP-UX.  The text seems to be&lt;BR /&gt;available in /usr/include/sys/signal.h.  A&lt;BR /&gt;more modern approach would be to create and&lt;BR /&gt;use your own strsignal() function, instead of&lt;BR /&gt;trying to create and use sys_siglist (and&lt;BR /&gt;sys_siglistn) directly.  You'd probably want&lt;BR /&gt;your own header file, too, to declare&lt;BR /&gt;whatever you create.  (It could be a jacket&lt;BR /&gt;for &lt;SIGNAL.H&gt;.)&lt;BR /&gt;&lt;BR /&gt;You should probably be using strsignal() on&lt;BR /&gt;Solaris, too, instead of looking directly at&lt;BR /&gt;sys_siglist.  As /usr/include/errno.h says:&lt;BR /&gt;&lt;BR /&gt; * The symbols _sys_errlist and _sys_nerr are not visible in the&lt;BR /&gt; * LP64 libc.  Use strerror(3C) instead.&lt;BR /&gt;&lt;BR /&gt;It looks to me like a trend.  (HP-UX does&lt;BR /&gt;have strerror(), but apparently not&lt;BR /&gt;strsignal(), so you still need to do&lt;BR /&gt;something yourself on HP-UX.)&lt;/SIGNAL.H&gt;</description>
      <pubDate>Thu, 28 Apr 2011 20:54:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-siglist/m-p/4782272#M640976</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-04-28T20:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: _sys_siglist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-siglist/m-p/4782273#M640977</link>
      <description>&amp;gt;Is there an equivalent for "_sys_siglist" which I should use in HP-UX?&lt;BR /&gt;&lt;BR /&gt;Perhaps just create an array with "Signal 1", etc. in it.  The names aren't that important vs the numbers.</description>
      <pubDate>Fri, 29 Apr 2011 06:21:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-siglist/m-p/4782273#M640977</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-04-29T06:21:29Z</dc:date>
    </item>
  </channel>
</rss>

