diff options
Diffstat (limited to 'man3/wcpncpy.3')
| -rw-r--r-- | man3/wcpncpy.3 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/man3/wcpncpy.3 b/man3/wcpncpy.3 index dd933dd9f8..839b43d295 100644 --- a/man3/wcpncpy.3 +++ b/man3/wcpncpy.3 @@ -23,8 +23,12 @@ returning a pointer to its end .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(3) function. +The +.BR wcpncpy () +function is the wide-character equivalent +of the +.BR stpncpy (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, to the array pointed to by \fIdest\fP. @@ -42,7 +46,8 @@ 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. +.BR wcpncpy () +returns a pointer to the last wide character written, i.e. \fIdest + n \- 1\fP. .SH "CONFORMING TO" This function is a GNU extension. |
