zig/lib/libc/include/generic-glibc
Pat Tullmann a31fe8aa3e glibc headers: arc4random* functions added in glibc 2.36
Here's the glibc v2.36 announcment noting the addition of arc4random,
arc4random_buf and arc4random_uniform:

  https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=8420a65cd06874ee09518366b8fba746a557212a;hb=6f4e0fcfa2d2b0915816a3a3a1d48b4763a7dee2

Tested with the testcase from the bug.  I get a compile-time error when
building against older glibc (instead of a linker error), and no errors
(as before) when compiling against v2.36 or later.  And the glibc_compat
regression tests pass.

Fix #20426
2024-07-03 02:57:24 -04:00
..
arpa update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
bits update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
finclude update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
gnu update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
net update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
netash update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
netatalk update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
netax25 update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
neteconet update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
netinet update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
netipx update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
netiucv update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
netpacket update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
netrom update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
netrose update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
nfs move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
protocols move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
rpc move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
scsi update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
sys update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
a.out.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
aio.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
aliases.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
alloca.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
ar.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
argp.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
argz.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
assert.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
byteswap.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
complex.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
cpio.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
ctype.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
dirent.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
dlfcn.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
elf.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
endian.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
envz.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
err.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
errno.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
error.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
execinfo.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
fcntl.h glibc patch: add backwards compatibility for some symbols 2024-06-05 22:43:53 -07:00
features-time64.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
features.h glibc: use __GLIBC_USE_DEPRECATED_SCANF for glibc versions < 2.7 2024-06-05 22:43:53 -07:00
fenv.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
fmtmsg.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
fnmatch.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
fpregdef.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
fpu_control.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
fstab.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
fts.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
ftw.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
gconv.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
getopt.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
glob.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
gnu-versions.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
grp.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
gshadow.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
iconv.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
ieee754.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
ifaddrs.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
inttypes.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
langinfo.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
lastlog.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
libgen.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
libintl.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
limits.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
link.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
locale.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
malloc.h glibc headers: reallocarray added to glibc in v2.26 2024-06-05 22:43:53 -07:00
math.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
mcheck.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
memory.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
mntent.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
monetary.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
mqueue.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
netdb.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
nl_types.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
nss.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
obstack.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
paths.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
poll.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
printf.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
proc_service.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
pthread.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
pty.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
pwd.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
re_comp.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
regdef.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
regex.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
regexp.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
resolv.h glibc patch: add a few dn_* functions 2024-06-05 22:43:53 -07:00
sched.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
search.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
semaphore.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
setjmp.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
sgidefs.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
sgtty.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
shadow.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
signal.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
spawn.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
stab.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
stdbit.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
stdc-predef.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
stdint.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
stdio.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
stdio_ext.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
stdlib.h glibc headers: arc4random* functions added in glibc 2.36 2024-07-03 02:57:24 -04:00
string.h glibc: strlcpy and strlcat arrived in glibc 2.38 2024-06-05 22:43:53 -07:00
strings.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
syscall.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
sysexits.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
syslog.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
tar.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
termio.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
termios.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
tgmath.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
thread_db.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
threads.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
time.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
ttyent.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
uchar.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
ucontext.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
ulimit.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
unistd.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
utime.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
utmp.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
utmpx.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
values.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
wait.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
wchar.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
wctype.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00
wordexp.h update glibc headers to 2.39 2024-06-05 22:43:53 -07:00