aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strcat.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2011-09-28 06:16:17 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2011-09-28 06:20:52 +0200
commit71d9e7ae77e74475825e2850c1daef779b51f978 (patch)
treefd4ac0cd38c5852ddb8aaa7beaccbbb1b53f34fc /man3/strcat.3
parente9c23bc636426366d659809bc99cd84661e86464 (diff)
downloadman-pages-71d9e7ae77e74475825e2850c1daef779b51f978.tar.gz
gets.3, mbtowc.3, printf.3, puts.3, scanf.3, stpcpy.3, stpncpy.3, strcat.3, strlen.3, strnlen.3, strsep.3, strstr.3, strxfrm.3, utmp.5: Global fix: consistent use of "null byte"
Bring more consistency to the discussion of "[terminating] null byte" by writing (at least in the initial use in a page) "[terminating] null byte ('\0')". Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/strcat.3')
-rw-r--r--man3/strcat.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/strcat.3 b/man3/strcat.3
index 4437f17aea..a6ec1a1c15 100644
--- a/man3/strcat.3
+++ b/man3/strcat.3
@@ -27,7 +27,7 @@
.\" Modified Sat Jul 24 18:11:47 1993 by Rik Faith (faith@cs.unc.edu)
.\" 2007-06-15, Marc Boyer <marc.boyer@enseeiht.fr> + mtk
.\" Improve discussion of strncat().
-.TH STRCAT 3 2010-09-20 "GNU" "Linux Programmer's Manual"
+.TH STRCAT 3 2011-09-28 "GNU" "Linux Programmer's Manual"
.SH NAME
strcat, strncat \- concatenate two strings
.SH SYNOPSIS
@@ -42,7 +42,8 @@ strcat, strncat \- concatenate two strings
The
.BR strcat ()
function appends the \fIsrc\fP string to the
-\fIdest\fP string, overwriting the null byte (\(aq\\0\(aq) at the end of
+\fIdest\fP string,
+overwriting the terminating null byte (\(aq\\0\(aq) at the end of
\fIdest\fP, and then adds a terminating null byte.
The strings may not overlap, and the \fIdest\fP string must have
enough space for the result.