diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-04-12 22:42:49 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-04-12 22:42:49 +0000 |
commit | c13182efa3b3d77f2563034c8212c0ca798243ca (patch) | |
tree | e7652b26018b7c22cd6a4e4b41404dfaab911303 /man3/wcscmp.3 | |
parent | 4174ff5658082832c2ed511720f18881b3a80a34 (diff) |
Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
Diffstat (limited to 'man3/wcscmp.3')
-rw-r--r-- | man3/wcscmp.3 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/man3/wcscmp.3 b/man3/wcscmp.3 index 7a4b2ceb8..efa751d05 100644 --- a/man3/wcscmp.3 +++ b/man3/wcscmp.3 @@ -21,14 +21,17 @@ wcscmp \- compare two wide-character strings .BI "int wcscmp(const wchar_t *" s1 ", const wchar_t *" s2 ); .fi .SH DESCRIPTION -The \fBwcscmp\fP() function is the wide-character equivalent of the \fBstrcmp\fP() -function. It compares the wide-character string pointed to by \fIs1\fP and the +The \fBwcscmp\fP() function is the wide-character equivalent +of the \fBstrcmp\fP() function. +It compares the wide-character string pointed to by \fIs1\fP and the wide-character string pointed to by \fIs2\fP. .SH "RETURN VALUE" The \fBwcscmp\fP() function returns zero if the wide-character strings at -\fIs1\fP and \fIs2\fP are equal. It returns an integer greater than zero if +\fIs1\fP and \fIs2\fP are equal. +It returns an integer greater than zero if at the first differing position \fIi\fP, the corresponding wide-character -\fIs1[i]\fP is greater than \fIs2[i]\fP. It returns an integer less than zero if +\fIs1[i]\fP is greater than \fIs2[i]\fP. +It returns an integer less than zero if at the first differing position \fIi\fP, the corresponding wide-character \fIs1[i]\fP is less than \fIs2[i]\fP. .SH "CONFORMING TO" |