3 .\" The DragonFly Project. All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in
13 .\" the documentation and/or other materials provided with the
15 .\" 3. Neither the name of The DragonFly Project nor the names of its
16 .\" contributors may be used to endorse or promote products derived
17 .\" from this software without specific, prior written permission.
19 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22 .\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23 .\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24 .\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
25 .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27 .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
29 .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 .Nd standards supported by DragonFly
39 .Fd "#define _XOPEN_SOURCE 600"
44 .Dq feature test macros ,
49 can be used by applications to indicate desired sets of features (beyond
50 those specified by the C standard) in the programming environment supplied by
52 These macros determine which prototypes are exposed by header files and so on.
58 are set, the programming environment defaults to
60 In addition, a number of
62 specific prototypes, definitions etc.\& are made visible.
63 .Ss POSIX Standards (_POSIX_C_SOURCE)
66 macro determines which
68 standard the programming environment conforms to.
69 .Bl -tag -width ".Li 199009"
71 Make definitions conforming to
77 Additionally, make definitions conforming to
87 Additionally, make definitions conforming to
91 Additionally, make definitions conforming to
95 Additionally, make definitions conforming to
102 Additionally, make definitions conforming to
111 to any value lower than
119 which makes definitions conforming to
122 No C standard is implied in this case.
124 Defining the obsolete
126 macro without defining
128 is equivalent to defining
132 .Ss X/Open CAE Specifications (_XOPEN_SOURCE)
135 macro determines which X/Open CAE specification the programming
136 environment conforms to.
137 .Bl -tag -width ".Li 500"
139 Make definitions conforming to the
147 Make definitions conforming to the
156 Make definitions conforming to
158 and to the corresponding XSI extensions visible.
161 If both CAE and POSIX conformance is required, only
164 .\".Ss Miscellaneous Macros
167 .\".Dv _DRAGONFLY_SOURCE
168 .\".Dv _NETBSD_SOURCE
171 .It Pa http://pubs.opengroup.org/onlinepubs/9699919799/
173 .It Pa http://pubs.opengroup.org/onlinepubs/009695399/
175 .It Pa http://pubs.opengroup.org/onlinepubs/7908799/
177 .It Pa http://pubs.opengroup.org/onlinepubs/9695969499/toc.pdf
183 manual page first appeared in