aboutsummaryrefslogtreecommitdiffstats
path: root/man3/wcsncpy.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/wcsncpy.3')
-rw-r--r--man3/wcsncpy.37
1 files changed, 4 insertions, 3 deletions
diff --git a/man3/wcsncpy.3 b/man3/wcsncpy.3
index d3e2ac634a..445113bed3 100644
--- a/man3/wcsncpy.3
+++ b/man3/wcsncpy.3
@@ -27,17 +27,18 @@ 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, including the terminating L\'\\0\' character,
+string pointed to by \fIsrc\fP,
+including the terminating L\(aq\\0\(aq character,
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,
the remaining wide characters in the array
pointed to by \fIdest\fP are filled
-with L\'\\0\' characters.
+with L\(aq\\0\(aq characters.
If the length \fIwcslen(src)\fP is greater or equal
to \fIn\fP, the string pointed to by \fIdest\fP
-will not be L\'\\0\' terminated.
+will not be L\(aq\\0\(aq terminated.
.PP
The strings may not overlap.
.PP