diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2023-11-13 14:26:42 -0800 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2023-11-14 00:22:24 +0100 |
| commit | 0726f57d8362553b697fa19c405f7fc77f2e42dd (patch) | |
| tree | 4ab3abeb2b2d103a7136666365d5c3526467640c | |
| parent | f51cbcca1c0e12e94590bd9723e3e446ac50c33a (diff) | |
| download | man-pages-0726f57d8362553b697fa19c405f7fc77f2e42dd.tar.gz | |
string.3: strncpy(): wfix
Say "size" not "width" for byte counts; "width" is for the number of
bits in a word. Say "leading" to make it clear we don’t care about what
the source contains after its first null byte.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man3/string.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/string.3 b/man3/string.3 index 4c374a7dfb..08b050b173 100644 --- a/man3/string.3 +++ b/man3/string.3 @@ -185,7 +185,7 @@ bytes to const char " src "[restrict ." n ], .BI " size_t " n ); .fi -Fill a fixed-width buffer with non-null bytes from a source string, +Fill a fixed-size buffer with leading non-null bytes from a source array, padding with null bytes as needed. .SH DESCRIPTION The string functions perform operations on null-terminated |
