OSDN Git Service

(split) LDP_man-pages: update original to v3.35.
[linuxjm/LDP_man-pages.git] / original / man3 / stpcpy.3
index 40b951a..170ab7e 100644 (file)
@@ -22,7 +22,7 @@
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
-.TH STPCPY 3  2010-09-15 "GNU" "Linux Programmer's Manual"
+.TH STPCPY 3  2011-09-28 "GNU" "Linux Programmer's Manual"
 .SH NAME
 stpcpy \- copy a string returning a pointer to its end
 .SH SYNOPSIS
@@ -54,7 +54,7 @@ _GNU_SOURCE
 The
 .BR stpcpy ()
 function copies the string pointed to by \fIsrc\fP
-(including the terminating \(aq\\0\(aq character) to the array pointed to by
+(including the terminating null byte (\(aq\\0\(aq)) 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.
@@ -64,10 +64,10 @@ 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 "CONFORMING TO"
-This function is not part of the C or POSIX.1 standards, and is
-not customary on UNIX systems, but is not a GNU invention either.
-Perhaps it comes from MS-DOS.
-Nowadays, it is also present on the BSDs.
+This function was added to POSIX.1-2008. Before that, it was not part of
+the C or POSIX.1 standards, nor customary on UNIX systems, but was not a
+GNU invention either. Perhaps it came from MS-DOS. It is also present on
+the BSDs.
 .SH EXAMPLE
 For example, this program uses
 .BR stpcpy ()
@@ -100,6 +100,7 @@ This function may overrun the buffer
 .BR memccpy (3),
 .BR memcpy (3),
 .BR memmove (3),
+.BR stpncpy (3),
 .BR strcpy (3),
 .BR string (3),
 .BR wcpcpy (3)