Debian Codegraph @

po/es/man7/feature_test_macros.7.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: manpages-l10n 4.11.0\n"
7 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
8 "PO-Revision-Date: 2021-09-03 20:30+0200\n"
9 "Last-Translator: Automatically generated\n"
10 "Language-Team: Spanish <[email protected]>\n"
11 "Language: es\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
17 #. type: TH
18 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
19 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
20 #, no-wrap
21 msgid "feature_test_macros"
22 msgstr ""
23
24 #. type: TH
25 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
26 #: opensuse-tumbleweed
27 #, no-wrap
28 msgid "2026-02-10"
29 msgstr "10 Febrero 2026"
30
31 #. type: TH
32 #: archlinux debian-unstable
33 #, fuzzy, no-wrap
34 #| msgid "Linux man-pages 6.17"
35 msgid "Linux man-pages 6.18"
36 msgstr "Páginas de Manual de Linux 6.17"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "NOMBRE"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "feature_test_macros - feature test macros"
49 msgstr ""
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "DESCRIPTION"
56 msgstr "DESCRIPCIÓN"
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 msgid ""
62 "Feature test macros allow the programmer to control the definitions that are "
63 "exposed by system header files when a program is compiled."
64 msgstr ""
65
66 #. type: Plain text
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 msgid ""
70 "B<NOTE:> In order to be effective, a feature test macro I<must be defined "
71 "before including any header files>. This can be done either in the "
72 "compilation command (I<cc -DMACRO=value>) or by defining the macro within "
73 "the source code before including any headers. The requirement that the "
74 "macro must be defined before including any header file exists because header "
75 "files may freely include one another. Thus, for example, in the following "
76 "lines, defining the B<_GNU_SOURCE> macro may have no effect because the "
77 "header I<E<lt>abc.hE<gt>> itself includes I<E<lt>xyz.hE<gt>> (POSIX "
78 "explicitly allows this):"
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "#include E<lt>abc.hE<gt>\n"
87 "#define _GNU_SOURCE\n"
88 "#include E<lt>xyz.hE<gt>\n"
89 msgstr ""
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 msgid ""
95 "Some feature test macros are useful for creating portable applications, by "
96 "preventing nonstandard definitions from being exposed. Other macros can be "
97 "used to expose nonstandard definitions that are not exposed by default."
98 msgstr ""
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid ""
104 "The precise effects of each of the feature test macros described below can "
105 "be ascertained by inspecting the I<E<lt>features.hE<gt>> header file. "
106 "B<Note>: applications do I<not> need to directly include "
107 "I<E<lt>features.hE<gt>>; indeed, doing so is actively discouraged. See "
108 "NOTES."
109 msgstr ""
110
111 #. type: SS
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid "Specification of feature test macro requirements in manual pages"
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "When a function requires that a feature test macro is defined, the manual "
123 "page SYNOPSIS typically includes a note of the following form (this example "
124 "from the B<acct>(2) manual page):"
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid "B<#include E<lt>unistd.hE<gt>>"
131 msgstr "B<#include E<lt>unistd.hE<gt>>"
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid "B<int acct(const char *>I<filename>B<);>"
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 #, no-wrap
143 msgid ""
144 "Feature Test Macro Requirements for glibc (see\n"
145 "B<feature_test_macros>(7)):\n"
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid "B<acct>(): _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)"
152 msgstr ""
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "The B<||> means that in order to obtain the declaration of B<acct>(2) from "
159 "I<E<lt>unistd.hE<gt>>, I<either> of the following macro definitions must be "
160 "made before including any header files:"
161 msgstr ""
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 #, no-wrap
167 msgid ""
168 "#define _BSD_SOURCE\n"
169 "#define _XOPEN_SOURCE /* or any value E<lt> 500 */\n"
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "Alternatively, equivalent definitions can be included in the compilation "
177 "command:"
178 msgstr ""
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid ""
185 "cc -D_BSD_SOURCE\n"
186 "cc -D_XOPEN_SOURCE # Or any value E<lt> 500\n"
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "Note that, as described below, B<some feature test macros are defined by "
194 "default>, so that it may not always be necessary to explicitly specify the "
195 "feature test macro(s) shown in the SYNOPSIS."
196 msgstr ""
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "In a few cases, manual pages use a shorthand for expressing the feature test "
203 "macro requirements (this example from B<readahead>(2)):"
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, fuzzy, no-wrap
210 #| msgid ""
211 #| "B<#define _GNU_SOURCE>\n"
212 #| "B<#include E<lt>unistd.hE<gt>>\n"
213 msgid ""
214 "B<#define _GNU_SOURCE>\n"
215 "B<#define _FILE_OFFSET_BITS 64>\n"
216 "B<#include E<lt>fcntl.hE<gt>>\n"
217 msgstr ""
218 "B<#define _GNU_SOURCE>\n"
219 "B<#include E<lt>unistd.hE<gt>>\n"
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, fuzzy, no-wrap
225 #| msgid "B<void *memset(void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
226 msgid "B<ssize_t readahead(int >I<fd>B<, off_t *>I<offset>B<, size_t >I<count>B<);>\n"
227 msgstr "B<void *memset(void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid ""
233 "This format is employed when the feature test macros ensure that the proper "
234 "function declarations are visible, and the macros are not defined by default."
235 msgstr ""
236
237 #. type: SS
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "Feature test macros understood by glibc"
242 msgstr ""
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid ""
248 "The paragraphs below explain how feature test macros are handled in glibc "
249 "2.I<x>, I<x> E<gt> 0."
250 msgstr ""
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 msgid "First, though, a summary of a few details for the impatient:"
256 msgstr ""
257
258 #. type: IP
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "\\[bu]"
263 msgstr "\\[bu]"
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid ""
269 "The macros that you most likely need to use in modern source code are "
270 "B<_POSIX_C_SOURCE> (for definitions from various versions of POSIX.1), "
271 "B<_XOPEN_SOURCE> (for definitions from various versions of SUS), "
272 "B<_GNU_SOURCE> (for GNU and/or Linux specific stuff), and B<_DEFAULT_SOURCE> "
273 "(to get definitions that would normally be provided by default)."
274 msgstr ""
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 msgid ""
280 "Certain macros are defined with default values. Thus, although one or more "
281 "macros may be indicated as being required in the SYNOPSIS of a man page, it "
282 "may not be necessary to define them explicitly. Full details of the "
283 "defaults are given later in this man page."
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "Defining B<_XOPEN_SOURCE> with a value of 600 or greater produces the same "
291 "effects as defining B<_POSIX_C_SOURCE> with a value of 200112L or greater. "
292 "Where one sees"
293 msgstr ""
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid "_POSIX_C_SOURCE E<gt>= 200112L\n"
300 msgstr ""
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid ""
306 "in the feature test macro requirements in the SYNOPSIS of a man page, it is "
307 "implicit that the following has the same effect:"
308 msgstr ""
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "_XOPEN_SOURCE E<gt>= 600\n"
315 msgstr ""
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "Defining B<_XOPEN_SOURCE> with a value of 700 or greater produces the same "
322 "effects as defining B<_POSIX_C_SOURCE> with a value of 200809L or greater. "
323 "Where one sees"
324 msgstr ""
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "_POSIX_C_SOURCE E<gt>= 200809L\n"
331 msgstr ""
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "_XOPEN_SOURCE E<gt>= 700\n"
338 msgstr ""
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid "glibc understands the following feature test macros:"
344 msgstr ""
345
346 #. type: TP
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "B<__STRICT_ANSI__>"
351 msgstr ""
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid ""
357 "ISO Standard C. This macro is implicitly defined by B<gcc>(1) when invoked "
358 "with, for example, the I<-std=c99> or I<-ansi> flag."
359 msgstr ""
360
361 #. type: TP
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "B<_POSIX_C_SOURCE>"
366 msgstr ""
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 msgid ""
372 "Defining this macro causes header files to expose definitions as follows:"
373 msgstr ""
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 msgid ""
379 "The value 1 exposes definitions conforming to POSIX.1-1990 and ISO C (1990)."
380 msgstr ""
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "The value 2 or greater additionally exposes definitions for POSIX.2-1992."
387 msgstr ""
388
389 #. 199506L functionality is available only since glibc 2.1
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid ""
394 "The value 199309L or greater additionally exposes definitions for POSIX.1b "
395 "(real-time extensions)."
396 msgstr ""
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid ""
402 "The value 199506L or greater additionally exposes definitions for POSIX.1c "
403 "(threads)."
404 msgstr ""
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid ""
410 "(Since glibc 2.3.3) The value 200112L or greater additionally exposes "
411 "definitions corresponding to the POSIX.1-2001 base specification (excluding "
412 "the XSI extension). This value also causes C95 (since glibc 2.12) and C99 "
413 "(since glibc 2.10) features to be exposed (in other words, the equivalent of "
414 "defining B<_ISOC99_SOURCE>)."
415 msgstr ""
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid ""
421 "(Since glibc 2.10) The value 200809L or greater additionally exposes "
422 "definitions corresponding to the POSIX.1-2008 base specification (excluding "
423 "the XSI extension)."
424 msgstr ""
425
426 #. type: TP
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "B<_POSIX_SOURCE>"
431 msgstr ""
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid ""
437 "Defining this obsolete macro with any value is equivalent to defining "
438 "B<_POSIX_C_SOURCE> with the value 1."
439 msgstr ""
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 msgid ""
445 "Since this macro is obsolete, its usage is generally not documented when "
446 "discussing feature test macro requirements in the man pages."
447 msgstr ""
448
449 #. type: TP
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, no-wrap
453 msgid "B<_XOPEN_SOURCE>"
454 msgstr ""
455
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 msgid ""
460 "Defining with any value exposes definitions conforming to POSIX.1, POSIX.2, "
461 "and XPG4."
462 msgstr ""
463
464 #. type: Plain text
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 msgid ""
468 "The value 500 or greater additionally exposes definitions for SUSv2 (UNIX "
469 "98)."
470 msgstr ""
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 msgid ""
476 "(Since glibc 2.2) The value 600 or greater additionally exposes definitions "
477 "for SUSv3 (UNIX 03; i.e., the POSIX.1-2001 base specification plus the XSI "
478 "extension) and C99 definitions."
479 msgstr ""
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 msgid ""
485 "(Since glibc 2.10) The value 700 or greater additionally exposes definitions "
486 "for SUSv4 (i.e., the POSIX.1-2008 base specification plus the XSI extension)."
487 msgstr ""
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 msgid ""
493 "If B<__STRICT_ANSI__> is not defined, or B<_XOPEN_SOURCE> is defined with a "
494 "value greater than or equal to 500 I<and> neither B<_POSIX_SOURCE> nor "
495 "B<_POSIX_C_SOURCE> is explicitly defined, then the following macros are "
496 "implicitly defined:"
497 msgstr ""
498
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 msgid "B<_POSIX_SOURCE> is defined with the value 1."
503 msgstr ""
504
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 msgid ""
509 "B<_POSIX_C_SOURCE> is defined, according to the value of B<_XOPEN_SOURCE>:"
510 msgstr ""
511
512 #. type: TP
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "B<_XOPEN_SOURCE> E<lt> 500"
517 msgstr ""
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid "B<_POSIX_C_SOURCE> is defined with the value 2."
523 msgstr ""
524
525 #. type: TP
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 #, no-wrap
529 msgid "500 E<lt>= B<_XOPEN_SOURCE> E<lt> 600"
530 msgstr ""
531
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 msgid "B<_POSIX_C_SOURCE> is defined with the value 199506L."
536 msgstr ""
537
538 #. type: TP
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 #, no-wrap
542 msgid "600 E<lt>= B<_XOPEN_SOURCE> E<lt> 700"
543 msgstr ""
544
545 #. type: Plain text
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 msgid "B<_POSIX_C_SOURCE> is defined with the value 200112L."
549 msgstr ""
550
551 #. type: TP
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 #, no-wrap
555 msgid "700 E<lt>= B<_XOPEN_SOURCE> (since glibc 2.10)"
556 msgstr ""
557
558 #. type: Plain text
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 msgid "B<_POSIX_C_SOURCE> is defined with the value 200809L."
562 msgstr ""
563
564 #. type: Plain text
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 msgid ""
568 "In addition, defining B<_XOPEN_SOURCE> with a value of 500 or greater "
569 "produces the same effects as defining B<_XOPEN_SOURCE_EXTENDED>."
570 msgstr ""
571
572 #. type: TP
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 #, no-wrap
576 msgid "B<_XOPEN_SOURCE_EXTENDED>"
577 msgstr ""
578
579 #. type: Plain text
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 msgid ""
583 "If this macro is defined, I<and> B<_XOPEN_SOURCE> is defined, then expose "
584 "definitions corresponding to the XPG4v2 (SUSv1) UNIX extensions (UNIX 95). "
585 "Defining B<_XOPEN_SOURCE> with a value of 500 or more also produces the same "
586 "effect as defining B<_XOPEN_SOURCE_EXTENDED>. Use of "
587 "B<_XOPEN_SOURCE_EXTENDED> in new source code should be avoided."
588 msgstr ""
589
590 #. type: Plain text
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 msgid ""
594 "Since defining B<_XOPEN_SOURCE> with a value of 500 or more has the same "
595 "effect as defining B<_XOPEN_SOURCE_EXTENDED>, the latter (obsolete) feature "
596 "test macro is generally not described in the SYNOPSIS in man pages."
597 msgstr ""
598
599 #. type: TP
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 #, no-wrap
603 msgid "B<_ISOC99_SOURCE> (since glibc 2.1.3)"
604 msgstr ""
605
606 #. type: Plain text
607 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
608 #: opensuse-tumbleweed
609 msgid ""
610 "Exposes declarations consistent with the ISO C99 standard. Defining this "
611 "macro also exposes ISO C (1990) Amendment 1 (\"C95\") definitions. (The "
612 "primary change in C95 was support for international character sets.)"
613 msgstr ""
614
615 #. type: Plain text
616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
618 msgid ""
619 "Invoking the C compiler with the option I<-std=c99> produces the same "
620 "effects as defining this macro."
621 msgstr ""
622
623 #. type: TP
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 #, no-wrap
627 msgid "B<_ISOC11_SOURCE> (since glibc 2.16)"
628 msgstr ""
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid ""
634 "Exposes declarations consistent with the ISO C11 standard. Defining this "
635 "macro also enables C99 and C95 features (like B<_ISOC99_SOURCE>)."
636 msgstr ""
637
638 #. type: Plain text
639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
641 msgid ""
642 "Invoking the C compiler with the option I<-std=c11> produces the same "
643 "effects as defining this macro."
644 msgstr ""
645
646 #. type: TP
647 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
648 #: opensuse-tumbleweed
649 #, no-wrap
650 msgid "B<_ISOC23_SOURCE> (since glibc 2.40)"
651 msgstr ""
652
653 #. type: Plain text
654 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
655 #: opensuse-tumbleweed
656 msgid "Exposes declarations consistent with the ISO C23 standard."
657 msgstr ""
658
659 #. type: Plain text
660 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
661 #: opensuse-tumbleweed
662 msgid ""
663 "Since glibc 2.31, an equivalent macro named B<_ISOC2X_SOURCE> was recognized "
664 "(because the C23 standard had not then been finalized). Although the use of "
665 "this macro is obsolete, glibc continues to recognize it for backward "
666 "compatibility."
667 msgstr ""
668
669 #. type: Plain text
670 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
671 #: opensuse-tumbleweed
672 msgid "Defining B<_ISOC23_SOURCE> also enables C11, C99, and C95 features."
673 msgstr ""
674
675 #. type: Plain text
676 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
677 #: opensuse-tumbleweed
678 msgid ""
679 "Invoking the C compiler with the option I<-std=c23> produces the same "
680 "effects as defining this macro."
681 msgstr ""
682
683 #. type: TP
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 #, no-wrap
687 msgid "B<_LARGEFILE64_SOURCE>"
688 msgstr ""
689
690 #. type: Plain text
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 msgid ""
694 "Expose definitions for the alternative API specified by the LFS (Large File "
695 "Summit) as a \"transitional extension\" to the Single UNIX Specification. "
696 "(See E<.UR http:\\:/\\:/opengroup.org\\:/platform\\:/lfs.html> E<.UE .)> The "
697 "alternative API consists of a set of new objects (i.e., functions and types) "
698 "whose names are suffixed with \"64\" (e.g., I<off64_t> versus I<off_t>, "
699 "B<lseek64>() versus B<lseek>(), etc.). New programs should not employ this "
700 "macro; instead I<_FILE_OFFSET_BITS=64> should be employed."
701 msgstr ""
702
703 #. type: TP
704 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
705 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
706 #, no-wrap
707 msgid "B<_LARGEFILE_SOURCE>"
708 msgstr ""
709
710 #. type: Plain text
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
713 msgid ""
714 "This macro was historically used to expose certain functions (specifically "
715 "B<fseeko>(3) and B<ftello>(3)) that address limitations of earlier APIs "
716 "(B<fseek>(3) and B<ftell>(3)) that use I<long> for file offsets. This "
717 "macro is implicitly defined if B<_XOPEN_SOURCE> is defined with a value "
718 "greater than or equal to 500. New programs should not employ this macro; "
719 "defining B<_XOPEN_SOURCE> as just described or defining B<_FILE_OFFSET_BITS> "
720 "with the value 64 is the preferred mechanism to achieve the same result."
721 msgstr ""
722
723 #. type: TP
724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
726 #, no-wrap
727 msgid "B<_FILE_OFFSET_BITS>"
728 msgstr ""
729
730 #. type: Plain text
731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
733 msgid ""
734 "Defining this macro with the value 64 automatically converts references to "
735 "32-bit functions and data types related to file I/O and filesystem "
736 "operations into references to their 64-bit counterparts. This is useful for "
737 "performing I/O on large files (E<gt> 2 Gigabytes) on 32-bit systems. It is "
738 "also useful when calling functions like B<copy_file_range>(2) that were "
739 "added more recently and that come only in 64-bit flavors. (Defining this "
740 "macro permits correctly written programs to use large files with only a "
741 "recompilation being required.)"
742 msgstr ""
743
744 #. type: Plain text
745 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
746 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
747 msgid ""
748 "64-bit systems naturally permit file sizes greater than 2 Gigabytes, and on "
749 "those systems this macro has no effect."
750 msgstr ""
751
752 #. type: TP
753 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
754 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
755 #, fuzzy, no-wrap
756 #| msgid "B<LC_TIME>"
757 msgid "B<_TIME_BITS>"
758 msgstr "B<LC_TIME>"
759
760 #. type: Plain text
761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
763 msgid ""
764 "Defining this macro with the value 64 changes the width of B<time_t>(3type) "
765 "to 64-bit which allows handling of timestamps beyond 2038. It is closely "
766 "related to B<_FILE_OFFSET_BITS> and depending on implementation, may require "
767 "it set. This macro is available as of glibc 2.34."
768 msgstr ""
769
770 #. type: TP
771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
773 #, no-wrap
774 msgid "B<_BSD_SOURCE> (deprecated since glibc 2.20)"
775 msgstr ""
776
777 #. type: Plain text
778 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
779 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
780 msgid ""
781 "Defining this macro with any value causes header files to expose BSD-derived "
782 "definitions."
783 msgstr ""
784
785 #. type: Plain text
786 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
787 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
788 msgid ""
789 "In glibc versions up to and including 2.18, defining this macro also causes "
790 "BSD definitions to be preferred in some situations where standards conflict, "
791 "unless one or more of B<_SVID_SOURCE>, B<_POSIX_SOURCE>, B<_POSIX_C_SOURCE>, "
792 "B<_XOPEN_SOURCE>, B<_XOPEN_SOURCE_EXTENDED>, or B<_GNU_SOURCE> is defined, "
793 "in which case BSD definitions are disfavored. Since glibc 2.19, "
794 "B<_BSD_SOURCE> no longer causes BSD definitions to be preferred in case of "
795 "conflicts."
796 msgstr ""
797
798 #. commit c941736c92fa3a319221f65f6755659b2a5e0a20
799 #. commit 498afc54dfee41d33ba519f496e96480badace8e
800 #. commit acd7f096d79c181866d56d4aaf3b043e741f1e2c
801 #. commit ade40b10ff5fa59a318cf55b9d8414b758e8df78
802 #. type: Plain text
803 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
804 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
805 msgid ""
806 "Since glibc 2.20, this macro is deprecated. It now has the same effect as "
807 "defining B<_DEFAULT_SOURCE>, but generates a compile-time warning (unless "
808 "B<_DEFAULT_SOURCE> is also defined). Use B<_DEFAULT_SOURCE> instead. To "
809 "allow code that requires B<_BSD_SOURCE> in glibc 2.19 and earlier and "
810 "B<_DEFAULT_SOURCE> in glibc 2.20 and later to compile without warnings, "
811 "define I<both> B<_BSD_SOURCE> and B<_DEFAULT_SOURCE>."
812 msgstr ""
813
814 #. type: TP
815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
817 #, no-wrap
818 msgid "B<_SVID_SOURCE> (deprecated since glibc 2.20)"
819 msgstr ""
820
821 #. type: Plain text
822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
824 msgid ""
825 "Defining this macro with any value causes header files to expose System V-"
826 "derived definitions. (SVID == System V Interface Definition; see "
827 "B<standards>(7).)"
828 msgstr ""
829
830 #. type: Plain text
831 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
832 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
833 msgid ""
834 "Since glibc 2.20, this macro is deprecated in the same fashion as "
835 "B<_BSD_SOURCE>."
836 msgstr ""
837
838 #. type: TP
839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
841 #, no-wrap
842 msgid "B<_DEFAULT_SOURCE> (since glibc 2.19)"
843 msgstr ""
844
845 #. type: Plain text
846 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
847 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
848 msgid ""
849 "This macro can be defined to ensure that the \"default\" definitions are "
850 "provided even when the defaults would otherwise be disabled, as happens when "
851 "individual macros are explicitly defined, or the compiler is invoked in one "
852 "of its \"standard\" modes (e.g., I<cc\\ -std=c99>). Defining "
853 "B<_DEFAULT_SOURCE> without defining other individual macros or invoking the "
854 "compiler in one of its \"standard\" modes has no effect."
855 msgstr ""
856
857 #. type: Plain text
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 msgid ""
861 "The \"default\" definitions comprise those required by POSIX.1-2008 and ISO "
862 "C99, as well as various definitions originally derived from BSD and System "
863 "V. On glibc 2.19 and earlier, these defaults were approximately equivalent "
864 "to explicitly defining the following:"
865 msgstr ""
866
867 #. type: Plain text
868 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
869 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
870 #, fuzzy, no-wrap
871 #| msgid "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500"
872 msgid "cc -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809\n"
873 msgstr "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500"
874
875 #. type: TP
876 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
877 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
878 #, no-wrap
879 msgid "B<_ATFILE_SOURCE> (since glibc 2.4)"
880 msgstr ""
881
882 #. type: Plain text
883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
885 msgid ""
886 "Defining this macro with any value causes header files to expose "
887 "declarations of a range of functions with the suffix \"at\"; see "
888 "B<openat>(2). Since glibc 2.10, this macro is also implicitly defined if "
889 "B<_POSIX_C_SOURCE> is defined with a value greater than or equal to 200809L."
890 msgstr ""
891
892 #. type: TP
893 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
894 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
895 #, no-wrap
896 msgid "B<_GNU_SOURCE>"
897 msgstr ""
898
899 #. type: Plain text
900 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
901 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
902 msgid ""
903 "Defining this macro (with any value) implicitly defines B<_ATFILE_SOURCE>, "
904 "B<_LARGEFILE64_SOURCE>, B<_ISOC99_SOURCE>, B<_XOPEN_SOURCE_EXTENDED>, "
905 "B<_POSIX_SOURCE>, B<_POSIX_C_SOURCE> with the value 200809L (200112L before "
906 "glibc 2.10; 199506L before glibc 2.5; 199309L before glibc 2.1) and "
907 "B<_XOPEN_SOURCE> with the value 700 (600 before glibc 2.10; 500 before glibc "
908 "2.2). In addition, various GNU-specific extensions are also exposed."
909 msgstr ""
910
911 #. type: Plain text
912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
914 msgid ""
915 "Since glibc 2.19, defining B<_GNU_SOURCE> also has the effect of implicitly "
916 "defining B<_DEFAULT_SOURCE>. Before glibc 2.20, defining B<_GNU_SOURCE> "
917 "also had the effect of implicitly defining B<_BSD_SOURCE> and "
918 "B<_SVID_SOURCE>."
919 msgstr ""
920
921 #. type: TP
922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
924 #, no-wrap
925 msgid "B<_REENTRANT>"
926 msgstr ""
927
928 #. #-#-#-#-# archlinux: feature_test_macros.7.pot (PACKAGE VERSION) #-#-#-#-#
929 #. Zack Weinberg
930 #. There did once exist C libraries where it was necessary. The ones
931 #. I remember were proprietary Unix vendor libcs from the mid-1990s
932 #. You would get completely unlocked stdio without _REENTRANT.
933 #. type: Plain text
934 #. #-#-#-#-# debian-trixie: feature_test_macros.7.pot (PACKAGE VERSION) #-#-#-#-#
935 #. Zack Weinberg
936 #. There did once exist C libraries where it was necessary. The ones
937 #. I remember were proprietary Unix vendor libcs from the mid-1990s
938 #. You would get completely unlocked stdio without _REENTRANT.
939 #. type: Plain text
940 #. #-#-#-#-# debian-unstable: feature_test_macros.7.pot (PACKAGE VERSION) #-#-#-#-#
941 #. Zack Weinberg
942 #. There did once exist C libraries where it was necessary. The ones
943 #. I remember were proprietary Unix vendor libcs from the mid-1990s
944 #. You would get completely unlocked stdio without _REENTRANT.
945 #. type: Plain text
946 #. #-#-#-#-# fedora-44: feature_test_macros.7.pot (PACKAGE VERSION) #-#-#-#-#
947 #. Zack Weinberg
948 #. There did once exist C libraries where it was necessary. The ones
949 #. I remember were proprietary Unix vendor libcs from the mid-1990s
950 #. You would get completely unlocked stdio without _REENTRANT.
951 #. type: Plain text
952 #. #-#-#-#-# fedora-rawhide: feature_test_macros.7.pot (PACKAGE VERSION) #-#-#-#-#
953 #. Zack Weinberg
954 #. There did once exist C libraries where it was necessary. The ones
955 #. I remember were proprietary Unix vendor libcs from the mid-1990s
956 #. You would get completely unlocked stdio without _REENTRANT.
957 #. type: Plain text
958 #. #-#-#-#-# mageia-cauldron: feature_test_macros.7.pot (PACKAGE VERSION) #-#-#-#-#
959 #. Zack Weinberg
960 #. There did once exist C libraries where it was necessary. The ones
961 #. I remember were proprietary Unix vendor libcs from the mid-1990s
962 #. You would get completely unlocked stdio without _REENTRANT.
963 #. type: Plain text
964 #. #-#-#-#-# opensuse-leap-16-1: feature_test_macros.7.pot (PACKAGE VERSION) #-#-#-#-#
965 #. Zack Weinberg
966 #. There did once exist C libraries where it was necessary. The ones
967 #. I remember were proprietary Unix vendor libcs from the mid-1990s
968 #. You would get completely unlocked stdio without _REENTRANT.
969 #. type: Plain text
970 #. #-#-#-#-# opensuse-tumbleweed: feature_test_macros.7.pot (PACKAGE VERSION) #-#-#-#-#
971 #. Zack Weinberg
972 #. There did once exist C libraries where it was necessary. The ones
973 #. I remember were proprietary Unix vendor libcs from the mid-1990s
974 #. You would get completely unlocked stdio without _REENTRANT.
975 #. type: Plain text
976 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
977 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
978 msgid ""
979 "Historically, on various C libraries it was necessary to define this macro "
980 "in all multithreaded code. (Some C libraries may still require this.) In "
981 "glibc, this macro also exposed definitions of certain reentrant functions."
982 msgstr ""
983
984 #. type: Plain text
985 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
986 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
987 msgid ""
988 "However, glibc has been thread-safe by default for many years; since glibc "
989 "2.3, the only effect of defining B<_REENTRANT> has been to enable one or two "
990 "of the same declarations that are also enabled by defining "
991 "B<_POSIX_C_SOURCE> with a value of 199606L or greater."
992 msgstr ""
993
994 #. type: Plain text
995 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
996 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
997 msgid ""
998 "B<_REENTRANT> is now obsolete. In glibc 2.25 and later, defining "
999 "B<_REENTRANT> is equivalent to defining B<_POSIX_C_SOURCE> with the value "
1000 "199606L. If a higher POSIX conformance level is selected by any other means "
1001 "(such as B<_POSIX_C_SOURCE> itself, B<_XOPEN_SOURCE>, B<_DEFAULT_SOURCE>, or "
1002 "B<_GNU_SOURCE>), then defining B<_REENTRANT> has no effect."
1003 msgstr ""
1004
1005 #. type: Plain text
1006 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1007 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1008 msgid ""
1009 "This macro is automatically defined if one compiles with I<cc\\ -pthread>."
1010 msgstr ""
1011
1012 #. type: TP
1013 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1014 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1015 #, no-wrap
1016 msgid "B<_THREAD_SAFE>"
1017 msgstr ""
1018
1019 #. type: Plain text
1020 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1021 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1022 msgid ""
1023 "Synonym for the (deprecated) B<_REENTRANT>, provided for compatibility with "
1024 "some other implementations."
1025 msgstr ""
1026
1027 #. type: TP
1028 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1029 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1030 #, no-wrap
1031 msgid "B<_FORTIFY_SOURCE> (since glibc 2.3.4)"
1032 msgstr ""
1033
1034 #. For more detail, see:
1035 #. http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html
1036 #. [PATCH] Object size checking to prevent (some) buffer overflows
1037 #. * From: Jakub Jelinek <jakub at redhat dot com>
1038 #. * To: gcc-patches at gcc dot gnu dot org
1039 #. * Date: Tue, 21 Sep 2004 04:16:40 -0400
1040 #. Look for __USE_FORTIFY_LEVEL in the header files
1041 #. type: Plain text
1042 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1043 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1044 msgid ""
1045 "Defining this macro causes some lightweight checks to be performed to detect "
1046 "some buffer overflow errors when employing various string and memory "
1047 "manipulation functions (for example, B<memcpy>(3), B<memset>(3), "
1048 "B<stpcpy>(3), B<strcpy>(3), B<strncpy>(3), B<strcat>(3), B<strncat>(3), "
1049 "B<sprintf>(3), B<snprintf>(3), B<vsprintf>(3), B<vsnprintf>(3), B<gets>(3), "
1050 "and wide character variants thereof). For some functions, argument "
1051 "consistency is checked; for example, a check is made that B<open>(2) has "
1052 "been supplied with a I<mode> argument when the specified flags include "
1053 "B<O_CREAT>. Not all problems are detected, just some common cases."
1054 msgstr ""
1055
1056 #
1057 #
1058 #. For example, given the following code
1059 #. int d;
1060 #. char buf[1000], buf[1000];
1061 #. strcpy(fmt, "Hello world
1062 #. %n");
1063 #. snprintf(buf, sizeof(buf), fmt, &d);
1064 #. Compiling with "gcc -D_FORTIFY_SOURCE=2 -O1" and then running will
1065 #. cause the following diagnostic at run time at the snprintf() call
1066 #. *** %n in writable segment detected ***
1067 #. Aborted (core dumped)
1068 #. type: Plain text
1069 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1070 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1071 msgid ""
1072 "If B<_FORTIFY_SOURCE> is set to 1, with compiler optimization level 1 "
1073 "(I<gcc\\ -O1>) and above, checks that shouldn't change the behavior of "
1074 "conforming programs are performed. With B<_FORTIFY_SOURCE> set to 2, some "
1075 "more checking is added, but some conforming programs might fail."
1076 msgstr ""
1077
1078 #. type: Plain text
1079 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1080 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1081 msgid ""
1082 "Some of the checks can be performed at compile time (via macros logic "
1083 "implemented in header files), and result in compiler warnings; other checks "
1084 "take place at run time, and result in a run-time error if the check fails."
1085 msgstr ""
1086
1087 #. type: Plain text
1088 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1089 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1090 msgid ""
1091 "With B<_FORTIFY_SOURCE> set to 3, additional checking is added to intercept "
1092 "some function calls used with an argument of variable size where the "
1093 "compiler can deduce an upper bound for its value. For example, a program "
1094 "where B<malloc>(3)'s size argument is variable can now be fortified."
1095 msgstr ""
1096
1097 #. glibc is not an absolute requirement (gcc has libssp; NetBSD/newlib
1098 #. and Darwin each have their own implementation), but let's keep it
1099 #. simple.
1100 #. type: Plain text
1101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1103 msgid ""
1104 "Use of this macro requires compiler support, available since gcc 4.0 and "
1105 "clang 2.6. Use of B<_FORTIFY_SOURCE> set to 3 requires gcc 12.0 or later, "
1106 "or clang 9.0 or later, in conjunction with glibc 2.33 or later."
1107 msgstr ""
1108
1109 #. type: SS
1110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1112 #, no-wrap
1113 msgid "Default definitions, implicit definitions, and combining definitions"
1114 msgstr ""
1115
1116 #. type: Plain text
1117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1119 msgid ""
1120 "If no feature test macros are explicitly defined, then the following feature "
1121 "test macros are defined by default: B<_BSD_SOURCE> (in glibc 2.19 and "
1122 "earlier), B<_SVID_SOURCE> (in glibc 2.19 and earlier), B<_DEFAULT_SOURCE> "
1123 "(since glibc 2.19), B<_POSIX_SOURCE>, and B<_POSIX_C_SOURCE>=200809L "
1124 "(200112L before glibc 2.10; 199506L before glibc 2.4; 199309L before glibc "
1125 "2.1)."
1126 msgstr ""
1127
1128 #. type: Plain text
1129 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1130 #: opensuse-tumbleweed
1131 msgid ""
1132 "If any of B<__STRICT_ANSI__>, B<_ISOC99_SOURCE>, B<_ISOC11_SOURCE> (since "
1133 "glibc 2.18), B<_ISOC23_SOURCE> (since glibc 2.40), B<_POSIX_SOURCE>, "
1134 "B<_POSIX_C_SOURCE>, B<_XOPEN_SOURCE>, B<_XOPEN_SOURCE_EXTENDED> (in glibc "
1135 "2.11 and earlier), B<_BSD_SOURCE> (in glibc 2.19 and earlier), or "
1136 "B<_SVID_SOURCE> (in glibc 2.19 and earlier) is explicitly defined, then "
1137 "B<_BSD_SOURCE>, B<_SVID_SOURCE>, and B<_DEFAULT_SOURCE> are not defined by "
1138 "default."
1139 msgstr ""
1140
1141 #. type: Plain text
1142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1144 msgid ""
1145 "If B<_POSIX_SOURCE> and B<_POSIX_C_SOURCE> are not explicitly defined, and "
1146 "either B<__STRICT_ANSI__> is not defined or B<_XOPEN_SOURCE> is defined with "
1147 "a value of 500 or more, then"
1148 msgstr ""
1149
1150 #. type: Plain text
1151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1153 msgid "B<_POSIX_SOURCE> is defined with the value 1; and"
1154 msgstr ""
1155
1156 #. type: Plain text
1157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1159 msgid "B<_POSIX_C_SOURCE> is defined with one of the following values:"
1160 msgstr ""
1161
1162 #. type: Plain text
1163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1165 msgid "2, if B<_XOPEN_SOURCE> is defined with a value less than 500;"
1166 msgstr ""
1167
1168 #. type: Plain text
1169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1171 msgid ""
1172 "199506L, if B<_XOPEN_SOURCE> is defined with a value greater than or equal "
1173 "to 500 and less than 600; or"
1174 msgstr ""
1175
1176 #. type: Plain text
1177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1179 msgid ""
1180 "(since glibc 2.4) 200112L, if B<_XOPEN_SOURCE> is defined with a value "
1181 "greater than or equal to 600 and less than 700."
1182 msgstr ""
1183
1184 #. type: Plain text
1185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1187 msgid ""
1188 "(Since glibc 2.10) 200809L, if B<_XOPEN_SOURCE> is defined with a value "
1189 "greater than or equal to 700."
1190 msgstr ""
1191
1192 #. type: Plain text
1193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1195 msgid ""
1196 "Older versions of glibc do not know about the values 200112L and 200809L for "
1197 "B<_POSIX_C_SOURCE>, and the setting of this macro will depend on the glibc "
1198 "version."
1199 msgstr ""
1200
1201 #. type: Plain text
1202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1204 msgid ""
1205 "If B<_XOPEN_SOURCE> is undefined, then the setting of B<_POSIX_C_SOURCE> "
1206 "depends on the glibc version: 199506L, before glibc 2.4; 200112L, since "
1207 "glibc 2.4 to glibc 2.9; and 200809L, since glibc 2.10."
1208 msgstr ""
1209
1210 #. type: Plain text
1211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1213 msgid "Multiple macros can be defined; the results are additive."
1214 msgstr ""
1215
1216 #. type: SH
1217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1219 #, no-wrap
1220 msgid "STANDARDS"
1221 msgstr "ESTÁNDARES"
1222
1223 #. type: Plain text
1224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1226 msgid ""
1227 "POSIX.1 specifies B<_POSIX_C_SOURCE>, B<_POSIX_SOURCE>, and B<_XOPEN_SOURCE>."
1228 msgstr ""
1229
1230 #. type: Plain text
1231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1233 msgid ""
1234 "B<_FILE_OFFSET_BITS> is not specified by any standard, but is employed on "
1235 "some other implementations."
1236 msgstr ""
1237
1238 #. type: Plain text
1239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1241 msgid ""
1242 "B<_BSD_SOURCE>, B<_SVID_SOURCE>, B<_DEFAULT_SOURCE>, B<_ATFILE_SOURCE>, "
1243 "B<_GNU_SOURCE>, B<_FORTIFY_SOURCE>, B<_REENTRANT>, and B<_THREAD_SAFE> are "
1244 "specific to glibc."
1245 msgstr ""
1246
1247 #. type: SH
1248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1250 #, no-wrap
1251 msgid "HISTORY"
1252 msgstr "HISTORIAL"
1253
1254 #. type: Plain text
1255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1257 msgid ""
1258 "B<_XOPEN_SOURCE_EXTENDED> was specified by XPG4v2 (aka SUSv1), but is not "
1259 "present in SUSv2 and later."
1260 msgstr ""
1261
1262 #. type: SH
1263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1265 #, no-wrap
1266 msgid "NOTES"
1267 msgstr "NOTAS"
1268
1269 #. type: Plain text
1270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1272 msgid ""
1273 "I<E<lt>features.hE<gt>> is a Linux/glibc-specific header file. Other "
1274 "systems have an analogous file, but typically with a different name. This "
1275 "header file is automatically included by other header files as required: it "
1276 "is not necessary to explicitly include it in order to employ feature test "
1277 "macros."
1278 msgstr ""
1279
1280 #. type: Plain text
1281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1283 msgid ""
1284 "According to which of the above feature test macros are defined, "
1285 "I<E<lt>features.hE<gt>> internally defines various other macros that are "
1286 "checked by other glibc header files. These macros have names prefixed by "
1287 "two underscores (e.g., B<__USE_MISC>). Programs should I<never> define "
1288 "these macros directly: instead, the appropriate feature test macro(s) from "
1289 "the list above should be employed."
1290 msgstr ""
1291
1292 #. type: SH
1293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1295 #, no-wrap
1296 msgid "EXAMPLES"
1297 msgstr "EJEMPLOS"
1298
1299 #. type: Plain text
1300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1302 msgid ""
1303 "The program below can be used to explore how the various feature test macros "
1304 "are set depending on the glibc version and what feature test macros are "
1305 "explicitly set. The following shell session, on a system with glibc 2.10, "
1306 "shows some examples of what we would see:"
1307 msgstr ""
1308
1309 #. type: Plain text
1310 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1311 #: opensuse-tumbleweed
1312 #, no-wrap
1313 msgid ""
1314 "$B< cc ftm.c>\n"
1315 "$B< ./a.out>\n"
1316 "_POSIX_SOURCE defined\n"
1317 "_POSIX_C_SOURCE defined: 200809L\n"
1318 "_BSD_SOURCE defined\n"
1319 "_SVID_SOURCE defined\n"
1320 "_ATFILE_SOURCE defined\n"
1321 "$B< cc -D_XOPEN_SOURCE=500 ftm.c>\n"
1322 "$B< ./a.out>\n"
1323 "_POSIX_SOURCE defined\n"
1324 "_POSIX_C_SOURCE defined: 199506L\n"
1325 "_XOPEN_SOURCE defined: 500\n"
1326 "$B< cc -D_GNU_SOURCE ftm.c>\n"
1327 "$B< ./a.out>\n"
1328 "_POSIX_SOURCE defined\n"
1329 "_POSIX_C_SOURCE defined: 200809L\n"
1330 "_ISOC99_SOURCE defined\n"
1331 "_XOPEN_SOURCE defined: 700\n"
1332 "_XOPEN_SOURCE_EXTENDED defined\n"
1333 "_LARGEFILE64_SOURCE defined\n"
1334 "_BSD_SOURCE defined\n"
1335 "_SVID_SOURCE defined\n"
1336 "_ATFILE_SOURCE defined\n"
1337 "_GNU_SOURCE defined\n"
1338 msgstr ""
1339
1340 #. type: SS
1341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1343 #, no-wrap
1344 msgid "Program source"
1345 msgstr "Código fuente"
1346
1347 #. type: Plain text
1348 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1349 #: opensuse-tumbleweed
1350 #, no-wrap
1351 msgid ""
1352 "/* ftm.c */\n"
1353 "\\&\n"
1354 "#include E<lt>stdint.hE<gt>\n"
1355 "#include E<lt>stdio.hE<gt>\n"
1356 "#include E<lt>unistd.hE<gt>\n"
1357 "#include E<lt>stdlib.hE<gt>\n"
1358 "\\&\n"
1359 "int\n"
1360 "main(int argc, char *argv[])\n"
1361 "{\n"
1362 "#ifdef _POSIX_SOURCE\n"
1363 " printf(\"_POSIX_SOURCE defined\\[rs]n\");\n"
1364 "#endif\n"
1365 "\\&\n"
1366 "#ifdef _POSIX_C_SOURCE\n"
1367 " printf(\"_POSIX_C_SOURCE defined: %jdL\\[rs]n\",\n"
1368 " (intmax_t) _POSIX_C_SOURCE);\n"
1369 "#endif\n"
1370 "\\&\n"
1371 "#ifdef _ISOC99_SOURCE\n"
1372 " printf(\"_ISOC99_SOURCE defined\\[rs]n\");\n"
1373 "#endif\n"
1374 "\\&\n"
1375 "#ifdef _ISOC11_SOURCE\n"
1376 " printf(\"_ISOC11_SOURCE defined\\[rs]n\");\n"
1377 "#endif\n"
1378 "\\&\n"
1379 "#ifdef _ISOC23_SOURCE\n"
1380 " printf(\"_ISOC23_SOURCE defined\\[rs]n\");\n"
1381 "#endif\n"
1382 "\\&\n"
1383 "#ifdef _XOPEN_SOURCE\n"
1384 " printf(\"_XOPEN_SOURCE defined: %d\\[rs]n\", _XOPEN_SOURCE);\n"
1385 "#endif\n"
1386 "\\&\n"
1387 "#ifdef _XOPEN_SOURCE_EXTENDED\n"
1388 " printf(\"_XOPEN_SOURCE_EXTENDED defined\\[rs]n\");\n"
1389 "#endif\n"
1390 "\\&\n"
1391 "#ifdef _LARGEFILE64_SOURCE\n"
1392 " printf(\"_LARGEFILE64_SOURCE defined\\[rs]n\");\n"
1393 "#endif\n"
1394 "\\&\n"
1395 "#ifdef _FILE_OFFSET_BITS\n"
1396 " printf(\"_FILE_OFFSET_BITS defined: %d\\[rs]n\", _FILE_OFFSET_BITS);\n"
1397 "#endif\n"
1398 "\\&\n"
1399 "#ifdef _TIME_BITS\n"
1400 " printf(\"_TIME_BITS defined: %d\\[rs]n\", _TIME_BITS);\n"
1401 "#endif\n"
1402 "\\&\n"
1403 "#ifdef _BSD_SOURCE\n"
1404 " printf(\"_BSD_SOURCE defined\\[rs]n\");\n"
1405 "#endif\n"
1406 "\\&\n"
1407 "#ifdef _SVID_SOURCE\n"
1408 " printf(\"_SVID_SOURCE defined\\[rs]n\");\n"
1409 "#endif\n"
1410 "\\&\n"
1411 "#ifdef _DEFAULT_SOURCE\n"
1412 " printf(\"_DEFAULT_SOURCE defined\\[rs]n\");\n"
1413 "#endif\n"
1414 "\\&\n"
1415 "#ifdef _ATFILE_SOURCE\n"
1416 " printf(\"_ATFILE_SOURCE defined\\[rs]n\");\n"
1417 "#endif\n"
1418 "\\&\n"
1419 "#ifdef _GNU_SOURCE\n"
1420 " printf(\"_GNU_SOURCE defined\\[rs]n\");\n"
1421 "#endif\n"
1422 "\\&\n"
1423 "#ifdef _REENTRANT\n"
1424 " printf(\"_REENTRANT defined\\[rs]n\");\n"
1425 "#endif\n"
1426 "\\&\n"
1427 "#ifdef _THREAD_SAFE\n"
1428 " printf(\"_THREAD_SAFE defined\\[rs]n\");\n"
1429 "#endif\n"
1430 "\\&\n"
1431 "#ifdef _FORTIFY_SOURCE\n"
1432 " printf(\"_FORTIFY_SOURCE defined\\[rs]n\");\n"
1433 "#endif\n"
1434 "\\&\n"
1435 " exit(EXIT_SUCCESS);\n"
1436 "}\n"
1437 msgstr ""
1438
1439 #. type: SH
1440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1442 #, no-wrap
1443 msgid "SEE ALSO"
1444 msgstr "VÉASE TAMBIÉN"
1445
1446 #. type: Plain text
1447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1449 msgid "B<libc>(7), B<standards>(7), B<system_data_types>(7)"
1450 msgstr ""
1451
1452 #. But beware: the info libc document is out of date (Jul 07, mtk)
1453 #. type: Plain text
1454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1456 msgid "The section \"Feature Test Macros\" under I<info libc>."
1457 msgstr ""
1458
1459 #. type: Plain text
1460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1462 msgid "I</usr/include/features.h>"
1463 msgstr ""
1464
1465 #. type: TH
1466 #: debian-trixie fedora-44 fedora-rawhide
1467 #, no-wrap
1468 msgid "2024-06-15"
1469 msgstr "15 Junio 2024"
1470
1471 #. type: TH
1472 #: debian-trixie
1473 #, no-wrap
1474 msgid "Linux man-pages 6.9.1"
1475 msgstr "Páginas de Manual de Linux 6.9.1"
1476
1477 #. type: Plain text
1478 #: debian-trixie fedora-44 fedora-rawhide
1479 msgid "Exposes declarations consistent with the ISO C99 standard."
1480 msgstr ""
1481
1482 #. type: Plain text
1483 #: debian-trixie fedora-44 fedora-rawhide
1484 msgid ""
1485 "Earlier glibc 2.1.x versions recognized an equivalent macro named "
1486 "B<_ISOC9X_SOURCE> (because the C99 standard had not then been finalized). "
1487 "Although the use of this macro is obsolete, glibc continues to recognize it "
1488 "for backward compatibility."
1489 msgstr ""
1490
1491 #. type: Plain text
1492 #: debian-trixie fedora-44 fedora-rawhide
1493 msgid ""
1494 "Defining B<_ISOC99_SOURCE> also exposes ISO C (1990) Amendment 1 (\"C95\") "
1495 "definitions. (The primary change in C95 was support for international "
1496 "character sets.)"
1497 msgstr ""
1498
1499 #. type: Plain text
1500 #: debian-trixie fedora-44 fedora-rawhide
1501 msgid ""
1502 "If any of B<__STRICT_ANSI__>, B<_ISOC99_SOURCE>, B<_ISOC11_SOURCE> (since "
1503 "glibc 2.18), B<_POSIX_SOURCE>, B<_POSIX_C_SOURCE>, B<_XOPEN_SOURCE>, "
1504 "B<_XOPEN_SOURCE_EXTENDED> (in glibc 2.11 and earlier), B<_BSD_SOURCE> (in "
1505 "glibc 2.19 and earlier), or B<_SVID_SOURCE> (in glibc 2.19 and earlier) is "
1506 "explicitly defined, then B<_BSD_SOURCE>, B<_SVID_SOURCE>, and "
1507 "B<_DEFAULT_SOURCE> are not defined by default."
1508 msgstr ""
1509
1510 #. type: Plain text
1511 #: debian-trixie fedora-44 fedora-rawhide
1512 #, no-wrap
1513 msgid ""
1514 "$ B<cc ftm.c>\n"
1515 "$ B<./a.out>\n"
1516 "_POSIX_SOURCE defined\n"
1517 "_POSIX_C_SOURCE defined: 200809L\n"
1518 "_BSD_SOURCE defined\n"
1519 "_SVID_SOURCE defined\n"
1520 "_ATFILE_SOURCE defined\n"
1521 "$ B<cc -D_XOPEN_SOURCE=500 ftm.c>\n"
1522 "$ B<./a.out>\n"
1523 "_POSIX_SOURCE defined\n"
1524 "_POSIX_C_SOURCE defined: 199506L\n"
1525 "_XOPEN_SOURCE defined: 500\n"
1526 "$ B<cc -D_GNU_SOURCE ftm.c>\n"
1527 "$ B<./a.out>\n"
1528 "_POSIX_SOURCE defined\n"
1529 "_POSIX_C_SOURCE defined: 200809L\n"
1530 "_ISOC99_SOURCE defined\n"
1531 "_XOPEN_SOURCE defined: 700\n"
1532 "_XOPEN_SOURCE_EXTENDED defined\n"
1533 "_LARGEFILE64_SOURCE defined\n"
1534 "_BSD_SOURCE defined\n"
1535 "_SVID_SOURCE defined\n"
1536 "_ATFILE_SOURCE defined\n"
1537 "_GNU_SOURCE defined\n"
1538 msgstr ""
1539
1540 #. type: Plain text
1541 #: debian-trixie fedora-44 fedora-rawhide
1542 #, no-wrap
1543 msgid ""
1544 "/* ftm.c */\n"
1545 "\\&\n"
1546 "#include E<lt>stdint.hE<gt>\n"
1547 "#include E<lt>stdio.hE<gt>\n"
1548 "#include E<lt>unistd.hE<gt>\n"
1549 "#include E<lt>stdlib.hE<gt>\n"
1550 "\\&\n"
1551 "int\n"
1552 "main(int argc, char *argv[])\n"
1553 "{\n"
1554 "#ifdef _POSIX_SOURCE\n"
1555 " printf(\"_POSIX_SOURCE defined\\[rs]n\");\n"
1556 "#endif\n"
1557 "\\&\n"
1558 "#ifdef _POSIX_C_SOURCE\n"
1559 " printf(\"_POSIX_C_SOURCE defined: %jdL\\[rs]n\",\n"
1560 " (intmax_t) _POSIX_C_SOURCE);\n"
1561 "#endif\n"
1562 "\\&\n"
1563 "#ifdef _ISOC99_SOURCE\n"
1564 " printf(\"_ISOC99_SOURCE defined\\[rs]n\");\n"
1565 "#endif\n"
1566 "\\&\n"
1567 "#ifdef _ISOC11_SOURCE\n"
1568 " printf(\"_ISOC11_SOURCE defined\\[rs]n\");\n"
1569 "#endif\n"
1570 "\\&\n"
1571 "#ifdef _XOPEN_SOURCE\n"
1572 " printf(\"_XOPEN_SOURCE defined: %d\\[rs]n\", _XOPEN_SOURCE);\n"
1573 "#endif\n"
1574 "\\&\n"
1575 "#ifdef _XOPEN_SOURCE_EXTENDED\n"
1576 " printf(\"_XOPEN_SOURCE_EXTENDED defined\\[rs]n\");\n"
1577 "#endif\n"
1578 "\\&\n"
1579 "#ifdef _LARGEFILE64_SOURCE\n"
1580 " printf(\"_LARGEFILE64_SOURCE defined\\[rs]n\");\n"
1581 "#endif\n"
1582 "\\&\n"
1583 "#ifdef _FILE_OFFSET_BITS\n"
1584 " printf(\"_FILE_OFFSET_BITS defined: %d\\[rs]n\", _FILE_OFFSET_BITS);\n"
1585 "#endif\n"
1586 "\\&\n"
1587 "#ifdef _TIME_BITS\n"
1588 " printf(\"_TIME_BITS defined: %d\\[rs]n\", _TIME_BITS);\n"
1589 "#endif\n"
1590 "\\&\n"
1591 "#ifdef _BSD_SOURCE\n"
1592 " printf(\"_BSD_SOURCE defined\\[rs]n\");\n"
1593 "#endif\n"
1594 "\\&\n"
1595 "#ifdef _SVID_SOURCE\n"
1596 " printf(\"_SVID_SOURCE defined\\[rs]n\");\n"
1597 "#endif\n"
1598 "\\&\n"
1599 "#ifdef _DEFAULT_SOURCE\n"
1600 " printf(\"_DEFAULT_SOURCE defined\\[rs]n\");\n"
1601 "#endif\n"
1602 "\\&\n"
1603 "#ifdef _ATFILE_SOURCE\n"
1604 " printf(\"_ATFILE_SOURCE defined\\[rs]n\");\n"
1605 "#endif\n"
1606 "\\&\n"
1607 "#ifdef _GNU_SOURCE\n"
1608 " printf(\"_GNU_SOURCE defined\\[rs]n\");\n"
1609 "#endif\n"
1610 "\\&\n"
1611 "#ifdef _REENTRANT\n"
1612 " printf(\"_REENTRANT defined\\[rs]n\");\n"
1613 "#endif\n"
1614 "\\&\n"
1615 "#ifdef _THREAD_SAFE\n"
1616 " printf(\"_THREAD_SAFE defined\\[rs]n\");\n"
1617 "#endif\n"
1618 "\\&\n"
1619 "#ifdef _FORTIFY_SOURCE\n"
1620 " printf(\"_FORTIFY_SOURCE defined\\[rs]n\");\n"
1621 "#endif\n"
1622 "\\&\n"
1623 " exit(EXIT_SUCCESS);\n"
1624 "}\n"
1625 msgstr ""
1626
1627 #. type: TH
1628 #: fedora-44 fedora-rawhide
1629 #, no-wrap
1630 msgid "Linux man-pages 6.13"
1631 msgstr "Páginas de Manual de Linux 6.13"
1632
1633 #. type: TH
1634 #: mageia-cauldron
1635 #, no-wrap
1636 msgid "Linux man-pages 6.17"
1637 msgstr "Páginas de Manual de Linux 6.17"
1638
1639 #. type: TH
1640 #: opensuse-leap-16-1 opensuse-tumbleweed
1641 #, no-wrap
1642 msgid "Linux man-pages (unreleased)"
1643 msgstr "Páginas de Manual de Linux (no publicadas)"