about summary refs log tree commit diff
path: root/stdlib/tst-fmtmsg.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2024-06-26 16:14:26 +0100
committerPaul Eggert <eggert@cs.ucla.edu>2024-06-26 16:16:05 +0100
commitb79238db4ac7b8e710c8cab4307ce6cb1c3937d8 (patch)
treea3a80e332d06a11ac67da37d7ce21891037d541f /stdlib/tst-fmtmsg.c
parent07fe71f59b13bbc336ece3ec9ef94dd95c9e0511 (diff)
downloadglibc-b79238db4ac7b8e710c8cab4307ce6cb1c3937d8.tar.gz
glibc-b79238db4ac7b8e710c8cab4307ce6cb1c3937d8.tar.xz
glibc-b79238db4ac7b8e710c8cab4307ce6cb1c3937d8.zip
Fix strnlen doc re array size
* manual/string.texi: For strnlen (s, maxlen), do not say that s must
be of size maxlen, as it can be smaller if it is null-terminated.
This should help avoid confusion such as seen in
<https://lists.gnu.org/r/bug-gnulib/2024-06/msg00280.html>.
Mention that strnlen and wcsnlen have been in POSIX since
POSIX.1-2008.
Diffstat (limited to 'stdlib/tst-fmtmsg.c')
0 files changed, 0 insertions, 0 deletions