OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / wcsncat.3
index 02ce547..1fbf926 100644 (file)
@@ -1,9 +1,11 @@
 .\" 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
@@ -11,7 +13,7 @@
 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
 .\"   ISO/IEC 9899:1999
 .\"
-.TH WCSNCAT 3  1999-07-25 "GNU" "Linux Programmer's Manual"
+.TH WCSNCAT 3  2013-11-25 "GNU" "Linux Programmer's Manual"
 .SH NAME
 wcsncat \- concatenate two wide-character strings
 .SH SYNOPSIS
@@ -26,19 +28,42 @@ The
 function is the wide-character equivalent of the
 .BR strncat (3)
 function.
-It copies at most \fIn\fP wide characters from the wide-character
-string pointed to by \fIsrc\fP to the end of the wide-character string pointed
-to by \fIdest\fP, and adds a terminating L\(aq\\0\(aq character.
+It copies at most
+.I n
+wide characters from the wide-character
+string pointed to by
+.I src
+to the end of the wide-character string pointed
+to by
+.IR dest ,
+and adds a terminating null wide character (L\(aq\\0\(aq).
 .PP
 The strings may not overlap.
 .PP
 The programmer must ensure that there is room for at least
-\fIwcslen(dest) + n + 1\fP wide characters at \fIdest\fP.
-.SH "RETURN VALUE"
+.IR wcslen(dest) + n +1
+wide characters at
+.IR dest .
+.SH RETURN VALUE
 .BR wcsncat ()
-returns \fIdest\fP.
-.SH "CONFORMING TO"
+returns
+.IR dest .
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR wcsncat ()
+function is thread-safe.
+.SH CONFORMING TO
 C99.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR strncat (3),
 .BR wcscat (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.