aboutsummaryrefslogtreecommitdiffstats
path: root/man3/stpcpy.3
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-09-29 06:24:34 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2011-09-29 06:28:46 +0200
commit268a3684a86c6b8ab1fcb8bee9119f62dfbae6e0 (patch)
tree1a77628286cf3fa7b919a8dc1ef1ab18dee4c9bc /man3/stpcpy.3
parenta2834faa85f5e3b0cca3640decc857b8cc24735c (diff)
downloadman-pages-268a3684a86c6b8ab1fcb8bee9119f62dfbae6e0.tar.gz
stpcpy.3, stpncpy.3: Note that these functions are in POSIX.1-2008
Update the "CONFORMING TO" sections of these functions to note that they are now part of the POSIX.1-2008 standard. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/stpcpy.3')
-rw-r--r--man3/stpcpy.39
1 files changed, 5 insertions, 4 deletions
diff --git a/man3/stpcpy.3 b/man3/stpcpy.3
index 827f6dac24..170ab7e524 100644
--- a/man3/stpcpy.3
+++ b/man3/stpcpy.3
@@ -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)