glibc/include
Lenard Mollenkopf e442e8376d Add feature test macro _ISOC2Y_SOURCE
This patch starts preparation for C2Y support in glibc headers by
adding a feature test macro _ISOC2Y_SOURCE and corresponding
__GLIBC_USE (ISOC2Y). (I mostly copied the work of Joseph Myers
for C2X). As with other such macros, C2Y features are also
enabled by compiling for a standard newer than C23, or by using
_GNU_SOURCE.

This patch does not itself enable anything new in the headers for C2Y;
that is to be done in followup patches. (For example an implementation
of WG14 N3349.)

Once C2Y becomes an actual standard we'll presumably move to using the
actual year in the feature test macro and __GLIBC_USE, with some
period when both macro spellings are accepted, as was done with
_ISOC2X_SOURCE.

Tested for x86_64.

Signed-off-by: Lenard Mollenkopf <glibc@lenardmollenkopf.de>
2024-11-04 22:40:55 +00:00
..
arpa
bits stdlib: Make abort/_Exit AS-safe (BZ 26275) 2024-10-08 14:40:12 -03:00
gnu
net
netinet
programs
protocols
rpc
rpcsvc
sys
aio.h
aliases.h
alloc_buffer.h
alloca.h
allocate_once.h
ar.h
argp-fmtstream.h
argp.h
argz.h
array_length.h
assert.h
atomic_wide_counter.h
atomic.h
byteswap.h
clone_internal.h
complex.h
cpio.h
ctype.h
des.h
dirent.h
dlfcn.h
dso_handle.h
elf.h
endian.h
envz.h
err.h
errno.h
error.h
execinfo.h
fcntl.h
features-time64.h
features.h Add feature test macro _ISOC2Y_SOURCE 2024-11-04 22:40:55 +00:00
fenv.h
file_change_detection.h
filename.h
float.h
fmtmsg.h
fnmatch.h
fpu_control.h
fstab.h
fts.h
ftw.h
gconv.h
getopt_int.h
getopt.h
glob.h
gmp.h
gnu-versions.h
grp-merge.h
grp.h
gshadow.h
iconv.h
idx.h
ifaddrs.h
ifreq.h
ifunc-impl-list.h
inline-hashtab.h
intprops.h
inttypes.h
langinfo.h
lastlog.h
libc-diag.h
libc-internal.h
libc-pointer-arith.h
libc-symbols.h
libgen.h
libintl.h
limits.h
link.h
list_t.h
list.h
locale.h
loop_unroll.h
malloc.h
math-narrow-eval.h
math.h
mcheck.h
memory.h
mntent.h
monetary.h
mqueue.h
netdb.h
netgroup.h
nl_types.h
nss_dns.h
nss_files.h
nss.h
nsswitch.h
obstack.h
plural-exp.h
poll.h
printf_buffer.h
printf.h
pthread.h
pty.h
pwd.h
random-bits.h
re_comp.h
regex.h
regexp.h
register-atfork.h
resolv.h
rounding-mode.h
rtld-malloc.h
sched.h
scratch_buffer.h
search.h
set-freeres.h
setjmp.h
sgtty.h
shadow.h
shlib-compat.h
shm-directory.h
signal.h
spawn.h
stab.h
stackinfo.h
stap-probe.h
stdbit.h
stdc-predef.h
stdint.h
stdio_ext.h
stdio.h
stdlib.h stdlib: Make abort/_Exit AS-safe (BZ 26275) 2024-10-08 14:40:12 -03:00
string.h
strings.h
struct___timeb64.h
struct___timespec64.h
struct___timeval64.h
stubs-prologue.h
syscall.h
sysexits.h
syslog.h
tar.h
termios.h
tgmath.h
time.h
ttyent.h
uchar.h
ucontext.h
ulimit.h
unistd_ext.h
unistd.h
utime.h
utmp.h
values.h
verify.h
wait.h
wchar.h
wctype.h
wordexp.h