summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-12-05 00:04:25 +0100
committerAlejandro Colomar <alx@kernel.org>2023-12-05 00:04:25 +0100
commit0f22dfb6b3e30744df7edd94dba18b9f923cf77c (patch)
tree1ba90eaac1f6121c3109f3763445799ff0c979ff
parent06c9428a4b08a31e1eec788759e5ab65ea47f3a2 (diff)
strncat.3: Clarify that it terminates the string
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/strncat.33
1 files changed, 2 insertions, 1 deletions
diff --git a/man3/strncat.3 b/man3/strncat.3
index a7bf5c41e..a1e736e93 100644
--- a/man3/strncat.3
+++ b/man3/strncat.3
@@ -23,7 +23,8 @@ Standard C library
This function appends at most
.I ssize
non-null bytes from the array pointed to by
-.I src
+.IR src ,
+followed by a null character,
to the end of the string pointed to by
.IR dst .
.I dst