OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man3 / wcpcpy.3
index 1f5fb05..0483fb0 100644 (file)
@@ -1,16 +1,18 @@
 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
 .\"
+.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
 .\" This is free documentation; you can redistribute it and/or
 .\" modify it under the terms of the GNU General Public License as
 .\" published by the Free Software Foundation; either version 2 of
 .\" the License, or (at your option) any later version.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"   GNU glibc-2 source code and manual
 .\"   Dinkumware C library reference http://www.dinkumware.com/
 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
 .\"
-.TH WCPCPY 3  2010-09-15 "GNU" "Linux Programmer's Manual"
+.TH WCPCPY 3  2013-12-10 "GNU" "Linux Programmer's Manual"
 .SH NAME
 wcpcpy \- copy a wide-character string, returning a pointer to its end
 .SH SYNOPSIS
@@ -44,22 +46,39 @@ The
 function is the wide-character equivalent of the
 .BR stpcpy (3)
 function.
-It copies the wide-character string pointed to by \fIsrc\fP,
-including the terminating L\(aq\\0\(aq character, to the array pointed to by
-\fIdest\fP.
+It copies the wide-character string pointed to by
+.IR src ,
+including the terminating null wide character (L\(aq\\0\(aq),
+to the array pointed to by
+.IR dest .
 .PP
 The strings may not overlap.
 .PP
 The programmer must ensure that there
-is room for at least \fIwcslen(src)+1\fP
-wide characters at \fIdest\fP.
-.SH "RETURN VALUE"
+is room for at least
+.IR wcslen(src)+1
+wide characters at
+.IR dest .
+.SH RETURN VALUE
 .BR wcpcpy ()
 returns a pointer to the end of the wide-character string
-\fIdest\fP, that is, a pointer to the terminating L\(aq\\0\(aq character.
-.SH "CONFORMING TO"
-This function is a GNU extension.
-.SH "SEE ALSO"
+.IR dest ,
+that is, a pointer to the terminating null wide character.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR wcpcpy ()
+function is thread-safe.
+.SH CONFORMING TO
+POSIX.1-2008.
+.SH SEE ALSO
 .BR strcpy (3),
-.BR wcscpy (3),
-.BR feature_test_macros (7)
+.BR wcscpy (3)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.