diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2024-06-26 16:14:26 +0100 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2024-06-26 16:16:05 +0100 |
commit | b79238db4ac7b8e710c8cab4307ce6cb1c3937d8 (patch) | |
tree | a3a80e332d06a11ac67da37d7ce21891037d541f /dlfcn/modstatic.c | |
parent | 07fe71f59b13bbc336ece3ec9ef94dd95c9e0511 (diff) | |
download | glibc-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 'dlfcn/modstatic.c')
0 files changed, 0 insertions, 0 deletions