Branch
Hash :
c36a0f21
Author :
Date :
2024-10-27T17:01:29
doc: Add a module index. * doc/Makefile (undocumented-modules.texi): New rule. (%.info, %.html, %.dvi, %.pdf): Depend on undocumented-modules.texi. (mostlyclean): Remove also *.m and *.tmp. (force): New rule. * doc/*.texi: Add module index entries. * doc/*/*.texi: Likewise.
@node strnlen
@subsection @code{strnlen}
@findex strnlen
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/strnlen.html}
Gnulib module: strnlen
@mindex strnlen
Portability problems fixed by Gnulib:
@itemize
@item
On some platforms, calls like @code{strnlen (s, maxlen)} can crash if
@var{s} is null-terminated but address arithmetic overflows
(i.e., @code{s + maxlen < s}):
Android 5.0.
@item
This function is missing on some platforms:
Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, HP-UX 11, Solaris 10, mingw.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize