Re: _XOPEN_SOURCE 600

Discussion in 'C++' started by Ian Collins, Apr 29, 2010.

  1. Ian Collins

    Ian Collins Guest

    On 04/29/10 01:54 PM, Michael D. Berger wrote:
    > On a system using g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46),
    > I looked at some code I had written years ago, and found the
    > lines:
    >
    > #define _XOPEN_SOURCE 600
    > #include<string.h>
    >
    > I must say I have no memory of writing this. I googed
    > around and it appears to specify a minimum requirement.
    >
    > I am running much code without this, and I am guessing
    > that I don't need it any more. Right?
    >
    > BTW, the class that contains it merely implements simple
    > file reading and writing.


    More a Unix than a C++ question, see

    http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html

    --
    Ian Collins
     
    Ian Collins, Apr 29, 2010
    #1
    1. Advertising

  2. Ian Collins

    Jorgen Grahn Guest

    On Thu, 2010-04-29, Ian Collins wrote:
    > On 04/29/10 01:54 PM, Michael D. Berger wrote:
    >> On a system using g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46),
    >> I looked at some code I had written years ago, and found the
    >> lines:
    >>
    >> #define _XOPEN_SOURCE 600
    >> #include<string.h>
    >>
    >> I must say I have no memory of writing this. I googed
    >> around and it appears to specify a minimum requirement.
    >>
    >> I am running much code without this, and I am guessing
    >> that I don't need it any more. Right?
    >>
    >> BTW, the class that contains it merely implements simple
    >> file reading and writing.

    >
    > More a Unix than a C++ question, see
    >
    > http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html


    Also see Gnu libc's features.h.

    /Jorgen

    --
    // Jorgen Grahn <grahn@ Oo o. . .
    \X/ snipabacken.se> O o .
     
    Jorgen Grahn, May 2, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. okaminer
    Replies:
    2
    Views:
    553
    IPGrunt
    Feb 16, 2005
  2. Peter Swanson

    Re: Website width for 800 x 600 pixel

    Peter Swanson, Aug 8, 2003, in forum: HTML
    Replies:
    0
    Views:
    500
    Peter Swanson
    Aug 8, 2003
  3. Peter Swanson

    Re: Website width for 800 x 600 pixel

    Peter Swanson, Aug 8, 2003, in forum: HTML
    Replies:
    14
    Views:
    9,565
    Some One
    Aug 10, 2003
  4. Black Tractor
    Replies:
    47
    Views:
    1,829
    (Pete Cresswell)
    Jan 7, 2005
  5. darwinist
    Replies:
    0
    Views:
    432
    darwinist
    Aug 1, 2006
Loading...

Share This Page