diff options
author | Alejandro Colomar <alx@kernel.org> | 2023-11-21 16:13:39 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-11-21 19:30:36 +0100 |
commit | 0866a77433885f4bfd3227753ca1c2eecc0cff3e (patch) | |
tree | 6615903f844d04009363f63f4ce56ec068759a67 | |
parent | 6fe104a7d8a9bf52964db7199d3d6ecaf38d42ab (diff) |
strncat.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/strncat.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/strncat.3 b/man3/strncat.3 index 0fdebbcfe..137f15fab 100644 --- a/man3/strncat.3 +++ b/man3/strncat.3 @@ -18,7 +18,7 @@ Standard C library .fi .SH DESCRIPTION This function appends the input character sequence -contained in a null-padded fixed-width buffer, +contained in a null-padded fixed-size buffer, into a string at the buffer pointed to by .IR dst . The programmer is responsible for allocating a destination buffer large enough, @@ -98,7 +98,7 @@ main(void) { size_t maxsize; \& - // Null-padded fixed-width character sequences + // Null-padded fixed-size character sequences char pre[4] = "pre."; char new_post[50] = ".foo.bar"; \& |