Hash :
7941742a
Author :
Date :
2024-04-25T22:07:37
doc: Remove documentation of IRIX as supported platform. * doc/posix-headers/netdb.texi: Don't mention IRIX specific workarounds. * doc/posix-headers/pthread.texi: Likewise. * doc/posix-headers/sys_socket.texi: Likewise. * doc/posix-headers/wctype.texi: Likewise. * doc/posix-functions/btowc.texi: Likewise. * doc/posix-functions/cbrtf.texi: Likewise. * doc/posix-functions/cbrtl.texi: Likewise. * doc/posix-functions/copysignf.texi: Likewise. * doc/posix-functions/exp2.texi: Likewise. * doc/posix-functions/exp2f.texi: Likewise. * doc/posix-functions/exp2l.texi: Likewise. * doc/posix-functions/expm1f.texi: Likewise. * doc/posix-functions/expm1l.texi: Likewise. * doc/posix-functions/fabsl.texi: Likewise. * doc/posix-functions/isnan.texi: Likewise. * doc/posix-functions/iswblank.texi: Likewise. * doc/posix-functions/link.texi: Likewise. * doc/posix-functions/log10l.texi: Likewise. * doc/posix-functions/log1pf.texi: Likewise. * doc/posix-functions/log2.texi: Likewise. * doc/posix-functions/log2f.texi: Likewise. * doc/posix-functions/log2l.texi: Likewise. * doc/posix-functions/lseek.texi: Likewise. * doc/posix-functions/nl_langinfo.texi: Likewise. * doc/posix-functions/pthread_sigmask.texi: Likewise. * doc/posix-functions/remainderf.texi: Likewise. * doc/posix-functions/remainderl.texi: Likewise. * doc/posix-functions/rintf.texi: Likewise. * doc/posix-functions/sigaltstack.texi: Likewise. * doc/posix-functions/strtod.texi: Likewise. * doc/posix-functions/strtold.texi: Likewise. * doc/posix-functions/vscanf.texi: Likewise. * doc/posix-functions/wctob.texi: Likewise. * doc/**/*.texi: Update.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
@node reallocarray
@subsection @code{reallocarray}
@findex reallocarray
Documentation:
@itemize
@item
@ifinfo
@ref{Changing Block Size,,Changing the Size of a Block,libc},
@end ifinfo
@ifnotinfo
@url{https://www.gnu.org/software/libc/manual/html_node/Changing-Block-Size.html},
@end ifnotinfo
@item
@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/reallocarray.3.html,,man reallocarray}.
@end itemize
Gnulib module: reallocarray
Allocate multiple memory locations of a fixed size with integer overflow
protection.
Glibc Manual: @url{https://www.gnu.org/software/libc/manual/html_node/Changing-Block-Size.html#Changing-Block-Size}
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on many platforms:
glibc 2.25, macOS 11.1, FreeBSD 10, NetBSD 7, OpenBSD 5.5, Minix 3.3.0, AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 1.7.x, mingw, MSVC 14, Android 9.0.
@item
On some platforms, @code{reallocarray (n, s)} can succeed even if
multiplying @code{n} by @code{s} would exceed @code{PTRDIFF_MAX},
which can lead to undefined behavior later:
FreeBSD 13, NetBSD 9, OpenBSD 6, musl 1.2.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize