Posix and C macros

Maurí­cio CA mauricio.antunes@gmail.com
Sat Aug 15 03:03:00 GMT 2009


> 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