diff options
author | Alejandro Colomar <alx@kernel.org> | 2023-11-21 18:50:40 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-11-21 19:30:48 +0100 |
commit | a845da18f0a71aad15439f9718b0fc5fa92791db (patch) | |
tree | 9c4b8ab9c3e69aaddbcf538a545aa74a84868301 | |
parent | 41125e322f65b3e149f6deb3e704936990cd1dd1 (diff) |
stpncpy.3: Don't say 'width' when 'size' is meant
Reported-by: Paul Eggert <eggert@cs.ucla.edu>
Cowritten-by: Paul Eggert <eggert@cs.ucla.edu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | man3/stpncpy.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/stpncpy.3 b/man3/stpncpy.3 index 3cf4eb371..f3ffa70b8 100644 --- a/man3/stpncpy.3 +++ b/man3/stpncpy.3 @@ -7,7 +7,7 @@ .SH NAME stpncpy, strncpy \- -fill a fixed-width buffer with characters from a string +fill a fixed-size buffer with characters from a string and pad with null bytes .SH LIBRARY Standard C library @@ -39,7 +39,7 @@ Feature Test Macro Requirements for glibc (see .SH DESCRIPTION These functions copy characters from the string pointed to by .I src -into a character sequence at the fixed-width buffer pointed to by +into a character sequence at the fixed-size buffer pointed to by .IR dst , and pad with null bytes. If the destination buffer, |