]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man9/strscpy.9: NAME: Clarify both etymology and actual semantics master
authorAlejandro Colomar <alx@kernel.org>
Sat, 11 Jul 2026 13:30:40 +0000 (15:30 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 11 Jul 2026 13:30:43 +0000 (15:30 +0200)
The function is called strscpy() with an 's' for 'safe', but it
should actually be called strtcpy() with a 't' for 'truncation'.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man9/strscpy.9

index b957b68c3dd51709557d89e3039e90820a2e4beb..090a050262f7c6633bfba722c70dfc793b0f9081 100644 (file)
@@ -4,7 +4,7 @@
 .\"
 .TH strscpy 9 (date) "Linux man-pages (unreleased)"
 .SH NAME
 .\"
 .TH strscpy 9 (date) "Linux man-pages (unreleased)"
 .SH NAME
-strscpy \- string truncate copy
+strscpy \- string safe\[ha]W truncate copy
 .SH LIBRARY
 Linux kernel
 .SH SYNOPSIS
 .SH LIBRARY
 Linux kernel
 .SH SYNOPSIS