OSDN Git Service

(split) LDP: Update original to LDP v3.52.
[linuxjm/LDP_man-pages.git] / original / man3 / wcsncpy.3
index 352b0c7..fd3ef7e 100644 (file)
@@ -28,27 +28,44 @@ The
 function is the wide-character equivalent of the
 .BR strncpy (3)
 function.
-It copies at most \fIn\fP wide characters from the wide-character
-string pointed to by \fIsrc\fP,
+It copies at most
+.I n
+wide characters from 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 \fIdest\fP.
-Exactly \fIn\fP wide characters are
-written at \fIdest\fP.
-If the length \fIwcslen(src)\fP is smaller than \fIn\fP,
+to the array pointed to by
+.IR dest .
+Exactly
+.I n
+wide characters are
+written at
+.IR dest .
+If the length \fIwcslen(src)\fP is smaller than
+.IR n ,
 the remaining wide characters in the array
-pointed to by \fIdest\fP are filled
+pointed to by
+.I dest
+are filled
 with null wide characters.
 If the length \fIwcslen(src)\fP is greater or equal
-to \fIn\fP, the string pointed to by \fIdest\fP
+to
+.IR n ,
+the string pointed to by
+.I dest
 will not be terminated by a null wide character.
 .PP
 The strings may not overlap.
 .PP
-The programmer must ensure that there is room for at least \fIn\fP wide
-characters at \fIdest\fP.
+The programmer must ensure that there is room for at least
+.I n
+wide
+characters at
+.IR dest .
 .SH RETURN VALUE
 .BR wcsncpy ()
-returns \fIdest\fP.
+returns
+.IR dest .
 .SH CONFORMING TO
 C99.
 .SH SEE ALSO