<?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 Help! Wrong /usr/include/stdio.h in HP-UX 11.00 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040308#M718997</link>
    <description>Hi!&lt;BR /&gt;/usr/include/stdio.h contains the prototype:&lt;BR /&gt;extern int snprintf(char *, __size_t, char *,...);&lt;BR /&gt;According to man page the 3rd parameter must be of type "const char *"&lt;BR /&gt;C-standard, Solaris, Linux have "const char *".&lt;BR /&gt;Because of that bug I can't compile my portable app.&lt;BR /&gt;I tried to apply patch PHCO_26111 - with no&lt;BR /&gt;fix.&lt;BR /&gt;Any help will be appreciated.&lt;BR /&gt;Sincerely, &lt;BR /&gt;Lev</description>
    <pubDate>Mon, 04 Aug 2003 08:40:07 GMT</pubDate>
    <dc:creator>Lev Assinovsky</dc:creator>
    <dc:date>2003-08-04T08:40:07Z</dc:date>
    <item>
      <title>Help! Wrong /usr/include/stdio.h in HP-UX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040308#M718997</link>
      <description>Hi!&lt;BR /&gt;/usr/include/stdio.h contains the prototype:&lt;BR /&gt;extern int snprintf(char *, __size_t, char *,...);&lt;BR /&gt;According to man page the 3rd parameter must be of type "const char *"&lt;BR /&gt;C-standard, Solaris, Linux have "const char *".&lt;BR /&gt;Because of that bug I can't compile my portable app.&lt;BR /&gt;I tried to apply patch PHCO_26111 - with no&lt;BR /&gt;fix.&lt;BR /&gt;Any help will be appreciated.&lt;BR /&gt;Sincerely, &lt;BR /&gt;Lev</description>
      <pubDate>Mon, 04 Aug 2003 08:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040308#M718997</guid>
      <dc:creator>Lev Assinovsky</dc:creator>
      <dc:date>2003-08-04T08:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help! Wrong /usr/include/stdio.h in HP-UX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040309#M718998</link>
      <description>Have you tried this patch??&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_28425&amp;amp;context=hpux:800:11:00" target="_blank"&gt;http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_28425&amp;amp;context=hpux:800:11:00&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and my 11.00 systems don't have "const char" either, though my 11.11 (11i) systems do. I've haven't heard of any issues from our developers, though they might not be using snprintf.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 04 Aug 2003 12:42:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040309#M718998</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2003-08-04T12:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help! Wrong /usr/include/stdio.h in HP-UX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040310#M718999</link>
      <description>this took some finding ....&lt;BR /&gt;&lt;BR /&gt;a) it is a bug, 11.11 reflects the man page correctly.&lt;BR /&gt;&lt;BR /&gt;b) I've been unable to find an internal defect ID but suspect no patch is available as yet ... it was reported recently.&lt;BR /&gt;&lt;BR /&gt;c) advise : raise a call with HP support in case there is a more recent update : 3201730260 is a good internal ref to quote.&lt;BR /&gt;&lt;BR /&gt;OR &lt;BR /&gt;&lt;BR /&gt;Correct the stdio.h snprintf definition to add the "const" in front of "char *format" but be aware any C header files patch may return the format filed definition to it's original incorrect state</description>
      <pubDate>Mon, 04 Aug 2003 13:20:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040310#M718999</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2003-08-04T13:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help! Wrong /usr/include/stdio.h in HP-UX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040311#M719000</link>
      <description>Thank you guys!&lt;BR /&gt;Are you sure snprintf 11.0 doesn't destroy&lt;BR /&gt;char * format ?&lt;BR /&gt;&lt;BR /&gt;Lev</description>
      <pubDate>Mon, 04 Aug 2003 13:43:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040311#M719000</guid>
      <dc:creator>Lev Assinovsky</dc:creator>
      <dc:date>2003-08-04T13:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help! Wrong /usr/include/stdio.h in HP-UX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040312#M719001</link>
      <description>I haven't tried it but a Programming support colleague seems to think it should work.&lt;BR /&gt;&lt;BR /&gt;Also since this has made it into 11.11 it would imply it may not get fixed at 11.00.&lt;BR /&gt;&lt;BR /&gt;I presume your application complained of warnings .... or did it actual error ?</description>
      <pubDate>Mon, 04 Aug 2003 13:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040312#M719001</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2003-08-04T13:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help! Wrong /usr/include/stdio.h in HP-UX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040313#M719002</link>
      <description>Yes, in my case it is an error&lt;BR /&gt;"Can't convert const char * to char *":&lt;BR /&gt;const char fmt = "%d...";&lt;BR /&gt;snprintf(buf, size, fmt);&lt;BR /&gt;&lt;BR /&gt;Thanks a lot again!&lt;BR /&gt;Lev&lt;BR /&gt;P.S. Does hpux 11i provides more&lt;BR /&gt;support for wchar?&lt;BR /&gt;Does it have swscanf for example?</description>
      <pubDate>Mon, 04 Aug 2003 15:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040313#M719002</guid>
      <dc:creator>Lev Assinovsky</dc:creator>
      <dc:date>2003-08-04T15:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help! Wrong /usr/include/stdio.h in HP-UX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040314#M719003</link>
      <description>Hi Lev:&lt;BR /&gt;&lt;BR /&gt;Yes, 'swscanf' and 'wconv' provide wide-character support.  See the man pages for 'fwscan(3C)', 'fwprintf', 'fwide(3C)'  and 'wconv(3C)' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 04 Aug 2003 16:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040314#M719003</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-08-04T16:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help! Wrong /usr/include/stdio.h in HP-UX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040315#M719004</link>
      <description>Hi James:&lt;BR /&gt;Well, hp-ux 11.0 doesn't have &lt;BR /&gt;fwprintf and man fwprintf as well.&lt;BR /&gt;Could you please tell me do you have any&lt;BR /&gt;statistics what the majority of HP customers&lt;BR /&gt;use: 10.xx, 11.00 or 11.i?&lt;BR /&gt;&lt;BR /&gt;Best regards, &lt;BR /&gt;Lev&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Aug 2003 07:07:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-wrong-usr-include-stdio-h-in-hp-ux-11-00/m-p/3040315#M719004</guid>
      <dc:creator>Lev Assinovsky</dc:creator>
      <dc:date>2003-08-05T07:07:46Z</dc:date>
    </item>
  </channel>
</rss>

