aboutsummaryrefslogtreecommitdiffstats
path: root/man3/stpcpy.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-12 09:06:04 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-12 09:06:04 +0000
commit60a90ecdae7bf6d1a91dc5d1d7177e400b114e47 (patch)
tree9f7c19a897084607a9688be5414d0d4cd6391b54 /man3/stpcpy.3
parentd92a60f2575c95cd532b822e4fb983c3a9e35641 (diff)
downloadman-pages-60a90ecdae7bf6d1a91dc5d1d7177e400b114e47.tar.gz
Convert function formatting of the form "\fBname\fP()" to ".BR name ()".
Diffstat (limited to 'man3/stpcpy.3')
-rw-r--r--man3/stpcpy.311
1 files changed, 8 insertions, 3 deletions
diff --git a/man3/stpcpy.3 b/man3/stpcpy.3
index 51cfedbf43..472d3b4faf 100644
--- a/man3/stpcpy.3
+++ b/man3/stpcpy.3
@@ -34,17 +34,22 @@ stpcpy \- copy a string returning a pointer to its end
.BI "char *stpcpy(char *" dest ", const char *" src );
.fi
.SH DESCRIPTION
-The \fBstpcpy\fP() function copies the string pointed to by \fIsrc\fP
+The
+.BR stpcpy ()
+function copies the string pointed to by \fIsrc\fP
(including the terminating `\\0' character) to the array pointed to by
\fIdest\fP.
The strings may not overlap, and the destination string
\fIdest\fP must be large enough to receive the copy.
.SH "RETURN VALUE"
-\fBstpcpy\fP() returns a pointer to the \fBend\fP of the string
+.BR stpcpy ()
+returns a pointer to the \fBend\fP of the string
\fIdest\fP (that is, the address of the terminating null byte)
rather than the beginning.
.SH EXAMPLE
-For example, this program uses \fBstpcpy\fP() to concatenate \fBfoo\fP and
+For example, this program uses
+.BR stpcpy ()
+to concatenate \fBfoo\fP and
\fBbar\fP to produce \fBfoobar\fP, which it then prints.
.nf