I am not able to include the header file <std.h>, <osfcn.h>

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srikar
    New Member
    • Sep 2006
    • 62

    I am not able to include the header file <std.h>, <osfcn.h>

    hi all,
    I am having a small issue,
    I am not able to include the header file<std.h>
    and also <osfcn.h>, these are the headers used to interface C to C++
    I am using the compiler version gcc-3,2,3 with libraray as glibc_s_so.1
    The error i am getting is unable to include the header file.
    Is there is any header file which will do the same functionality as std.h
    & osfcn.h using gcc-3.2.3.

    help me to resove my issue
    hoping for the earliest response

    regards

    srikar
  • srikar
    New Member
    • Sep 2006
    • 62

    #2
    Some help me to resolve my probelm

    regards

    srikar

    Comment

    • srikar
      New Member
      • Sep 2006
      • 62

      #3
      any one suggest me

      Comment

      • Banfa
        Recognized Expert Expert
        • Feb 2006
        • 9067

        #4
        All I can say is that I have never heard of these 2 header files. What package do they come with?

        Comment

        • tyreld
          New Member
          • Sep 2006
          • 144

          #5
          The <std.h> and <osfcn.h> headers are obsolete. They were part of libg++ back in the day. All they do is duplicate the standard C headers. They were originally around because they date back to the day when most people didn't have standard ANSI C headers on their systems.

          Use the standard C headers instead (ie. <stdlib.h>, <string.h>, etc).

          Comment

          Working...