<?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: Missing C Posix header files in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/missing-c-posix-header-files/m-p/6963600#M37708</link>
    <description>&lt;P&gt;Note that VSI has on its roadmap for this quarter some CRTL and header updates that should help with this sort of thing.&lt;/P&gt;&lt;P&gt;See:&lt;/P&gt;&lt;P&gt;&lt;A href="http://vmssoftware.com/pdfs/VSI_Roadmap_20170306.pdf" target="_blank"&gt;http://vmssoftware.com/pdfs/VSI_Roadmap_20170306.pdf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2017 17:03:05 GMT</pubDate>
    <dc:creator>Craig A Berry</dc:creator>
    <dc:date>2017-05-08T17:03:05Z</dc:date>
    <item>
      <title>Missing C Posix header files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/missing-c-posix-header-files/m-p/6962890#M37704</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am quite new to OpenVMS, so forgive me if I ask something stupid. I am trying to compile a small C++ program with the Boost libraries on OpenVMS. I have managed to copy over all the header-only parts of Boost and that is enough for me at the moment. I also managed to compile one small test program that works. However in the next program, using Boost Interprocess, my compilation fails because&lt;/P&gt;&lt;P&gt;&amp;lt;sched.h&amp;gt;&lt;/P&gt;&lt;P&gt;is missing. This is a header from the C POSIX library, so I was expecting it to be there.&lt;/P&gt;&lt;P&gt;I am using the HP C++ compiler under OpenVMS 8.4.&lt;/P&gt;&lt;P&gt;&amp;gt;cxx /version&lt;/P&gt;&lt;P&gt;HP C++ V7.4-005 on OpenVMS IA64 V8.4&lt;/P&gt;&lt;P&gt;What to do? Any help is much appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 20:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/missing-c-posix-header-files/m-p/6962890#M37704</guid>
      <dc:creator>MartinNi</dc:creator>
      <dc:date>2017-05-04T20:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Missing C Posix header files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/missing-c-posix-header-files/m-p/6962894#M37705</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp; I know nothing, but I'd guess that VMS offers no support for the&lt;BR /&gt;"POSIX realtime extensions as defined in POSIX 1003.1b-1993 (POSIX.1b)".&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; What's "Boost"?&amp;nbsp; What does it do?&amp;nbsp; What are you trying to do with it?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; What to do? Any help is much appreciated.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; The missing header file may be only the beginning of your problems.&lt;BR /&gt;If you also need the sched_*() functions which, I gather, are declared&lt;BR /&gt;in &amp;lt;sched.h&amp;gt;, then you might need to implement the whole pile yourself.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Scheduling on VMS may be significantly different from scheduling on a&lt;BR /&gt;UNIX/POSIX system.&amp;nbsp; At this point, I'd probably start looking for a&lt;BR /&gt;different way to do whatever this stuff would be doing.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 21:21:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/missing-c-posix-header-files/m-p/6962894#M37705</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2017-05-04T21:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Missing C Posix header files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/missing-c-posix-header-files/m-p/6963234#M37706</link>
      <description>&lt;P&gt;&amp;gt; What's "Boost"?&amp;nbsp; What does it do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C++ template libs:&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Boost_(C%2B%2B_libraries" target="_blank"&gt;https://en.wikipedia.org/wiki/Boost_(C%2B%2B_libraries&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2017 22:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/missing-c-posix-header-files/m-p/6963234#M37706</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2017-05-06T22:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Missing C Posix header files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/missing-c-posix-header-files/m-p/6963359#M37707</link>
      <description>&lt;P&gt;Thank you, Steven.&lt;/P&gt;&lt;P&gt;I think you may be right. The Boost libraries are multi-platform and really handy if you want to write something portable. If it doesn't know anything else, it assumes POSIX. However, the POSIX support in OpenVMS seems rather sketchy, unfortunately.&lt;/P&gt;&lt;P&gt;I investigated a bit further and would like to share my findings here, if someone else wonders. Wikipedia has a list of the POSIX C header files here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/C_POSIX_library" target="_blank"&gt;https://en.wikipedia.org/wiki/C_POSIX_library&lt;/A&gt;&lt;/P&gt;&lt;P&gt;By trial and error I came up with the following ones being supported by OpenVMS (the commented ones are not supported)&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;aio.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;arpa/inet.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;assert.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;complex.h&amp;gt; // error "C99 header &amp;lt;complex.h&amp;gt; is not supported by this compiler."&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;cpio.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;ctype.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;dirent.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;dlfcn.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;errno.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;fcntl.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;fenv.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;float.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;fmtmsg.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;fnmatch.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;ftw.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;glob.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;grp.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;iconv.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;inttypes.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;iso646.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;langinfo.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;libgen.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;limits.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;locale.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;math.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;monetary.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;mqueue.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;ndbm.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;net/if.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;netdb.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;netinet/in.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;netinet/tcp.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;nl_types.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;poll.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;pthread.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;pwd.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;regex.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;sched.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;search.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;semaphore.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;setjmp.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;signal.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;spawn.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;stdarg.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;stdbool.h&amp;gt; // error "C99 header &amp;lt;stdbool.h&amp;gt; is not supported by this compiler."&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;stddef.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;stdint.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;stdlib.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;string.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;strings.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;stropts.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/ipc.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/mman.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;sys/msg.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/resource.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;sys/select.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/sem.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/shm.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/socket.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/stat.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/statvfs.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/time.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/times.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/types.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/uio.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/un.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/utsname.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;sys/wait.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;syslog.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;tar.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;termios.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;tgmath.h&amp;gt; // error "C99 header &amp;lt;tgmath.h&amp;gt; is not supported by this compiler."&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;time.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;trace.h&amp;gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;ulimit.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;unistd.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;utime.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;utmpx.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;wchar.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include &amp;lt;wctype.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//#include &amp;lt;wordexp.h&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I am back to the drawing board, but maybe I saved someone else from doing my mistakes.&lt;/P&gt;&lt;P&gt;/Martin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 07:13:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/missing-c-posix-header-files/m-p/6963359#M37707</guid>
      <dc:creator>MartinNi</dc:creator>
      <dc:date>2017-05-08T07:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Missing C Posix header files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/missing-c-posix-header-files/m-p/6963600#M37708</link>
      <description>&lt;P&gt;Note that VSI has on its roadmap for this quarter some CRTL and header updates that should help with this sort of thing.&lt;/P&gt;&lt;P&gt;See:&lt;/P&gt;&lt;P&gt;&lt;A href="http://vmssoftware.com/pdfs/VSI_Roadmap_20170306.pdf" target="_blank"&gt;http://vmssoftware.com/pdfs/VSI_Roadmap_20170306.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 17:03:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/missing-c-posix-header-files/m-p/6963600#M37708</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2017-05-08T17:03:05Z</dc:date>
    </item>
  </channel>
</rss>

