diff options
author | Alejandro Colomar <alx@kernel.org> | 2022-12-05 00:46:35 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2022-12-05 00:46:46 +0100 |
commit | 30d458d1a6261221bad15e58f1862e0dda24f4a0 (patch) | |
tree | d0dbe0f0d81b5798189b71a0bf21e2b63fefdcd4 | |
parent | 8450300f93865466375a728f75ce004e6e95f247 (diff) |
strncpy.3: Rename CAVEATS to BUGS
Those are not caveats, but actual bugs. This function was misdesigned.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | man3/strncpy.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/strncpy.3 b/man3/strncpy.3 index 87f910f56..fc1d964c7 100644 --- a/man3/strncpy.3 +++ b/man3/strncpy.3 @@ -81,7 +81,7 @@ But .BR stpncpy (3) is better for this purpose, since it detects truncation. -See CAVEATS below. +See BUGS below. .SH RETURN VALUE The .BR strncpy () @@ -107,7 +107,7 @@ T} Thread safety MT-Safe .sp 1 .SH STANDARDS POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. -.SH CAVEATS +.SH BUGS .BR strncpy () has a misleading name. It doesn't produce a (null-terminated) string; |