diff options
Diffstat (limited to 'man3/wcsncmp.3')
-rw-r--r-- | man3/wcsncmp.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/wcsncmp.3 b/man3/wcsncmp.3 index 75a10d13..fe31e5f6 100644 --- a/man3/wcsncmp.3 +++ b/man3/wcsncmp.3 @@ -21,13 +21,13 @@ wcsncmp \- compare two fixed-size wide-character strings .BI "int wcsncmp(const wchar_t *" s1 ", const wchar_t *" s2 ", size_t " n ); .fi .SH DESCRIPTION -The \fBwcsncmp\fP function is the wide-character equivalent of the \fBstrncmp\fP +The \fBwcsncmp\fP() function is the wide-character equivalent of the \fBstrncmp\fP function. It compares the wide-character string pointed to by \fIs1\fP and the wide-character string pointed to by \fIs2\fP, but at most \fIn\fP wide characters from each string. In each string, the comparison extends only up to the first occurrence of a L'\\0' character, if any. .SH "RETURN VALUE" -The \fBwcsncmp\fP function returns zero if the wide-character strings at +The \fBwcsncmp\fP() function returns zero if the wide-character strings at \fIs1\fP and \fIs2\fP, truncated to at most length \fIn\fP, are equal. It returns an integer greater than zero if at the first differing position \fIi\fP (\fIi\fP < \fIn\fP), the corresponding wide-character \fIs1[i]\fP is |