string.3: strncpy(): Talk about bytes, not characters
commitf51cbcca1c0e12e94590bd9723e3e446ac50c33a
authorAlejandro Colomar <alx@kernel.org>
Mon, 13 Nov 2023 00:47:47 +0000 (13 01:47 +0100)
committerAlejandro Colomar <alx@kernel.org>
Mon, 13 Nov 2023 00:50:23 +0000 (13 01:50 +0100)
treeb4c9bc639da4dcac327a83b23a490257050a758e
parent1873da38de4be3d36bb67d011b907f6f774eef82
string.3: strncpy(): Talk about bytes, not characters

These functions are also the way to copy multibyte strings, so be
generic and say that they just copy bytes.  Not every byte is a valid
character in (for example) UTF-8 locales.

Cowritten-by: Paul Eggert <eggert@cs.ucla.edu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man3/string.3