diff options
author | Tobias Burnus <tburnus@baylibre.com> | 2025-06-02 08:11:59 +0200 |
---|---|---|
committer | Tobias Burnus <tburnus@baylibre.com> | 2025-06-02 08:11:59 +0200 |
commit | 3f67be6a45634add47d777dcd7a5f95ed313adee (patch) | |
tree | 2eba31d048f332192bda02e6d28d363f873c3f37 /gcc/doc/extend.texi | |
parent | fbde111a3466f3870d00a574700fbb87c56d6c42 (diff) | |
parent | 21e0a742e7b70dcb9d8bed87a7d1b1b77b48b364 (diff) | |
download | gcc-devel/omp/gcc-15.zip gcc-devel/omp/gcc-15.tar.gz gcc-devel/omp/gcc-15.tar.bz2 |
Merge branch 'releases/gcc-15' into devel/omp/gcc-15devel/omp/gcc-15
Merge up to r15-9755-g21e0a742e7b70d (2nd July 2025)
Diffstat (limited to 'gcc/doc/extend.texi')
-rw-r--r-- | gcc/doc/extend.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index ec68c85..bad3408 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -7336,7 +7336,7 @@ truncate the copy without appending the terminating @code{NUL} character. Using the attribute makes it possible to suppress the warning. However, when the array is declared with the attribute the call to @code{strlen} is diagnosed because when the array doesn't contain a @code{NUL}-terminated -string the call is undefined. To copy, compare, of search non-string +string the call is undefined. To copy, compare, or search non-string character arrays use the @code{memcpy}, @code{memcmp}, @code{memchr}, and other functions that operate on arrays of bytes. In addition, calling @code{strnlen} and @code{strndup} with such arrays is safe |