diff options
Diffstat (limited to 'man3/wcpncpy.3')
-rw-r--r-- | man3/wcpncpy.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/wcpncpy.3 b/man3/wcpncpy.3 index b4b64295..46a2f8a8 100644 --- a/man3/wcpncpy.3 +++ b/man3/wcpncpy.3 @@ -22,7 +22,7 @@ wcpncpy \- copy a fixed-size string of wide characters, returning a pointer to i .BI "wchar_t *wcpncpy(wchar_t *" dest ", const wchar_t *" src ", size_t " n ); .fi .SH DESCRIPTION -The \fBwcpncpy\fP function is the wide-character equivalent of the \fBstpncpy\fP +The \fBwcpncpy\fP() function is the wide-character equivalent of the \fBstpncpy\fP 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, to the array pointed to by \fIdest\fP. Exactly \fIn\fP wide characters are @@ -36,7 +36,7 @@ The strings may not overlap. The programmer must ensure that there is room for at least \fIn\fP wide characters at \fIdest\fP. .SH "RETURN VALUE" -\fBwcpncpy\fP returns a pointer to the last wide character written, i.e. +\fBwcpncpy\fP() returns a pointer to the last wide character written, i.e. \fIdest + n \- 1\fP. .SH "CONFORMING TO" This function is a GNU extension. |