<?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 C library for vsnprintf in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795160#M99773</link>
    <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I'm trying to compile povray on a c3000 under hpux 11.11. but it reports that the C library is too old and does not support vsnprintf(..) function. Does anybody know if there is a C library available which support vsnprintf function? &lt;BR /&gt;thanks in advance.&lt;BR /&gt;&lt;BR /&gt;YZ&lt;BR /&gt;</description>
    <pubDate>Fri, 26 May 2006 03:49:13 GMT</pubDate>
    <dc:creator>John712_1</dc:creator>
    <dc:date>2006-05-26T03:49:13Z</dc:date>
    <item>
      <title>C library for vsnprintf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795160#M99773</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I'm trying to compile povray on a c3000 under hpux 11.11. but it reports that the C library is too old and does not support vsnprintf(..) function. Does anybody know if there is a C library available which support vsnprintf function? &lt;BR /&gt;thanks in advance.&lt;BR /&gt;&lt;BR /&gt;YZ&lt;BR /&gt;</description>
      <pubDate>Fri, 26 May 2006 03:49:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795160#M99773</guid>
      <dc:creator>John712_1</dc:creator>
      <dc:date>2006-05-26T03:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: C library for vsnprintf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795161#M99774</link>
      <description>hi john,&lt;BR /&gt;here is the link for c library;&lt;BR /&gt;&lt;A href="http://www.mibsoftware.com/userkt/inn/dev/inn2.0-beta/inn/include/clibrary.h" target="_blank"&gt;http://www.mibsoftware.com/userkt/inn/dev/inn2.0-beta/inn/include/clibrary.h&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards;&lt;BR /&gt;mustafa</description>
      <pubDate>Fri, 26 May 2006 04:11:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795161#M99774</guid>
      <dc:creator>Mustafa Gulercan</dc:creator>
      <dc:date>2006-05-26T04:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: C library for vsnprintf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795162#M99775</link>
      <description>Hi John, &lt;BR /&gt;&lt;BR /&gt;Are you trying to compile with Ansi-C or bundled compiler ? Probably, you can try with GCC. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 26 May 2006 04:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795162#M99775</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-05-26T04:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: C library for vsnprintf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795163#M99776</link>
      <description>Below is the piece of code in the configure file which, I think, is&lt;BR /&gt;related to the vsnprintf-check.&lt;BR /&gt;As I am totally new to unix things, could anybody give me some clue that&lt;BR /&gt;how can I modify it please.&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;------------------------------------------&lt;BR /&gt;#AC_FUNC_STRFTIME&lt;BR /&gt;#AC_FUNC_VPRINTF&lt;BR /&gt;&lt;BR /&gt;# vsnprintf &lt;STDARG.H&gt; (C99)&lt;BR /&gt;if test x"$enable_vsnprintf_check" != x"no"; then&lt;BR /&gt;  echo "$as_me:$LINENO: checking for vsnprintf"&amp;gt;&amp;amp;5&lt;BR /&gt;echo $ECHO_N "checking for vsnprintf... $ECHO_C"&amp;gt;&amp;amp;6&lt;BR /&gt;if test "${ac_cv_func_vsnprintf+set}" = set; then&lt;BR /&gt;  echo $ECHO_N "(cached) $ECHO_C"&amp;gt;&amp;amp;6&lt;BR /&gt;else&lt;BR /&gt;  cat&amp;gt;conftest.$ac_ext &amp;lt;&amp;lt;_ACEOF&lt;BR /&gt;#line $LINENO "configure"&lt;BR /&gt;/* confdefs.h.  */&lt;BR /&gt;_ACEOF&lt;BR /&gt;cat confdefs.h&amp;gt;&amp;gt;conftest.$ac_ext&lt;BR /&gt;cat&amp;gt;&amp;gt;conftest.$ac_ext &amp;lt;&amp;lt;_ACEOF&lt;BR /&gt;/* end confdefs.h.  */&lt;BR /&gt;/* System header to define __stub macros and hopefully few prototypes,&lt;BR /&gt;    which can conflict with char vsnprintf (); below.&lt;BR /&gt;    Prefer &lt;LIMITS.H&gt; to &lt;ASSERT.H&gt; if __STDC__ is defined, since&lt;BR /&gt;    &lt;LIMITS.H&gt; exists even on freestanding compilers.  */&lt;BR /&gt;#ifdef __STDC__&lt;BR /&gt;# include &lt;LIMITS.H&gt;&lt;BR /&gt;#else&lt;BR /&gt;# include &lt;ASSERT.H&gt;&lt;BR /&gt;#endif&lt;BR /&gt;/* Override any gcc2 internal prototype to avoid an error.  */&lt;BR /&gt;#ifdef __cplusplus&lt;BR /&gt;extern "C"&lt;BR /&gt;{&lt;BR /&gt;#endif&lt;BR /&gt;/* We use char because int might match the return type of a gcc2&lt;BR /&gt;   builtin and then its argument prototype would still apply.  */&lt;BR /&gt;char vsnprintf ();&lt;BR /&gt;/* The GNU C library defines this for functions which it implements&lt;BR /&gt;    to always fail with ENOSYS.  Some functions are actually named&lt;BR /&gt;    something starting with __ and the normal name is an alias.  */&lt;BR /&gt;#if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)&lt;BR /&gt;choke me&lt;BR /&gt;#else&lt;BR /&gt;char (*f) () = vsnprintf;&lt;BR /&gt;#endif&lt;BR /&gt;#ifdef __cplusplus&lt;BR /&gt;}&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;int&lt;BR /&gt;main ()&lt;BR /&gt;{&lt;BR /&gt;return f != vsnprintf;&lt;BR /&gt;  ;&lt;BR /&gt;  return 0;&lt;BR /&gt;}&lt;BR /&gt;_ACEOF&lt;BR /&gt;rm -f conftest.$ac_objext conftest$ac_exeext&lt;BR /&gt;if { (eval echo "$as_me:$LINENO: \"$ac_link\"")&amp;gt;&amp;amp;5&lt;BR /&gt;  (eval $ac_link) 2&amp;gt;&amp;amp;5&lt;BR /&gt;  ac_status=$?&lt;BR /&gt;  echo "$as_me:$LINENO: \$? = $ac_status"&amp;gt;&amp;amp;5&lt;BR /&gt;  (exit $ac_status); } &amp;amp;&amp;amp;&lt;BR /&gt;         { ac_try='test -s conftest$ac_exeext'&lt;BR /&gt;  { (eval echo "$as_me:$LINENO: \"$ac_try\"")&amp;gt;&amp;amp;5&lt;BR /&gt;  (eval $ac_try) 2&amp;gt;&amp;amp;5&lt;BR /&gt;  ac_status=$?&lt;BR /&gt;  echo "$as_me:$LINENO: \$? = $ac_status"&amp;gt;&amp;amp;5&lt;BR /&gt;  (exit $ac_status); }; }; then&lt;BR /&gt;  ac_cv_func_vsnprintf=yes&lt;BR /&gt;else&lt;BR /&gt;  echo "$as_me: failed program was:"&amp;gt;&amp;amp;5&lt;BR /&gt;sed 's/^/| /' conftest.$ac_ext&amp;gt;&amp;amp;5&lt;BR /&gt;&lt;BR /&gt;ac_cv_func_vsnprintf=no&lt;BR /&gt;fi&lt;BR /&gt;rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext&lt;BR /&gt;fi&lt;BR /&gt;echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf"&amp;gt;&amp;amp;5&lt;BR /&gt;echo "${ECHO_T}$ac_cv_func_vsnprintf"&amp;gt;&amp;amp;6&lt;BR /&gt;if test $ac_cv_func_vsnprintf = yes; then&lt;BR /&gt;  :&lt;BR /&gt;else&lt;BR /&gt;  { { echo "$as_me:$LINENO: error:&lt;BR /&gt;*** This system does not provide the C99 vsnprintf() function which&lt;BR /&gt;*** is required to compile $PACKAGE_NAME.  You should consider updating&lt;BR /&gt;*** your C library as it is too old.  Alternatively you might install&lt;BR /&gt;*** a specific library implementing the (v)snprintf family of functions.&lt;BR /&gt;*** Searching the web should give you appropriate pointers.&lt;BR /&gt;***&lt;BR /&gt;*** In case you want to try compiling $PACKAGE_NAME while your system&lt;BR /&gt;lacks&lt;BR /&gt;*** this function (meaning that compilation *will* fail unless you&lt;BR /&gt;provide&lt;BR /&gt;*** a replacement function), try the --disable-vsnprintf-check option.&lt;BR /&gt;"&amp;gt;&amp;amp;5&lt;BR /&gt;echo "$as_me: error:&lt;BR /&gt;*** This system does not provide the C99 vsnprintf() function which&lt;BR /&gt;*** is required to compile $PACKAGE_NAME.  You should consider updating&lt;BR /&gt;*** your C library as it is too old.  Alternatively you might install&lt;BR /&gt;*** a specific library implementing the (v)snprintf family of functions.&lt;BR /&gt;*** Searching the web should give you appropriate pointers.&lt;BR /&gt;***&lt;BR /&gt;*** In case you want to try compiling $PACKAGE_NAME while your system&lt;BR /&gt;lacks&lt;BR /&gt;*** this function (meaning that compilation *will* fail unless you&lt;BR /&gt;provide&lt;BR /&gt;*** a replacement function), try the --disable-vsnprintf-check option.&lt;BR /&gt;"&amp;gt;&amp;amp;2;}&lt;BR /&gt;   { (exit 1); exit 1; }; }&lt;BR /&gt;&lt;BR /&gt;---------------------------------------------------&lt;/ASSERT.H&gt;&lt;/LIMITS.H&gt;&lt;/LIMITS.H&gt;&lt;/ASSERT.H&gt;&lt;/LIMITS.H&gt;&lt;/STDARG.H&gt;</description>
      <pubDate>Tue, 30 May 2006 04:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795163#M99776</guid>
      <dc:creator>John712_1</dc:creator>
      <dc:date>2006-05-30T04:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: C library for vsnprintf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795164#M99777</link>
      <description>Back at 10.20, vsnprintf was in included&lt;BR /&gt;in libc but for some reason there wasn't a&lt;BR /&gt;prototype for it in stdio.h.  Perhaps you're&lt;BR /&gt;in a similar situation.  Get up to date on&lt;BR /&gt;libc and/or C DevKit patches.&lt;BR /&gt;&lt;BR /&gt;Failing that, do a 'nm /usr/lib/libc.sl' to&lt;BR /&gt;see if vsnprintf  is already in your libc.&lt;BR /&gt;If so, and you're just missing the prototype,&lt;BR /&gt;then either disable the autoconf check for&lt;BR /&gt;vsnprintf (I dunno how to do that) or simply&lt;BR /&gt;provide the prototype yourself:&lt;BR /&gt;&lt;BR /&gt;extern int vsnprintf(char *, __size_t, const char *, __va_list);&lt;BR /&gt;&lt;BR /&gt;If vsnprintf is not in your libc and there&lt;BR /&gt;aren't any patches for it, you could write&lt;BR /&gt;a pass-through version of vsnprintf which&lt;BR /&gt;just calls vsprintf.  However you'd lose&lt;BR /&gt;the buffer safety properties of vsnprintf.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 May 2006 20:40:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795164#M99777</guid>
      <dc:creator>Gregory Fruth</dc:creator>
      <dc:date>2006-05-30T20:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: C library for vsnprintf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795165#M99778</link>
      <description>Thanks,  Gregory and Mustafa and Arun. I will give a try.&lt;BR /&gt;&lt;BR /&gt;YZ&lt;BR /&gt;</description>
      <pubDate>Wed, 31 May 2006 08:53:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-library-for-vsnprintf/m-p/3795165#M99778</guid>
      <dc:creator>John712_1</dc:creator>
      <dc:date>2006-05-31T08:53:37Z</dc:date>
    </item>
  </channel>
</rss>

