Posix and C macros
Patrick M. Rutkowski
rutski89@gmail.com
Mon Aug 17 16:30:00 GMT 2009
I started writing a website the other day, with a section for
technical articles. You might find this one relevant:
http://www.rutski89.com/dynamic/journal.html?name=proper_posix
There's some real-world concepts mentioned there that you won't find
in the POSIX spec.
-Patrick
2009/8/14 Maurício CA <mauricio.antunes@gmail.com>:
>> Also, see this page:
>>
>> http://www.opengroup.org/onlinepubs/000095399/help/codes.html
>>
>> They define subsets of Posix that affect library content,
>> but I could not find macros I could check to see if one of
>> such subsets is available or not.
>
> Just copying Patrick's answer to the list:
>
> %%%
>
> I think you're looking for this:
> http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap02.html
>
> Out of the dozens upon dozens of macros described there, I would
> suggest first learning about exactly what _XOPEN_SOURCE and
> _POSIX_C_SOURCE do; they're very important.
>
> Always here for more questions,
> -Patrick
>
> %%%
>
>
More information about the Gcc-help
mailing list