.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "NTFS_UCSNCASECMP" "9" "09 October 2005" "" ""
.SH NAME
ntfs_ucsncasecmp \- compare two little endian Unicode strings, ignoring case
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ntfs_ucsncasecmp (const ntfschar * \fIs1\fB, const ntfschar * \fIs2\fB, size_t \fIn\fB, const ntfschar * \fIupcase\fB, const u32 \fIupcase_size\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIs1\fB\fR
first string
.TP
\fB\fIs2\fB\fR
second string
.TP
\fB\fIn\fB\fR
maximum unicode characters to compare
.TP
\fB\fIupcase\fB\fR
upcase table
.TP
\fB\fIupcase_size\fB\fR
upcase table size in Unicode characters
.SH "DESCRIPTION"
.PP
Compare the first \fIn\fR characters of the Unicode strings \fIs1\fR and \fIs2\fR,
ignoring case. The strings in little endian format and appropriate
\fBle16_to_cpu\fR conversion is performed on non-little endian machines.
.PP
Each character is uppercased using the \fIupcase\fR table before the comparison.
.PP
The function returns an integer less than, equal to, or greater than zero
if \fIs1\fR (or the first \fIn\fR Unicode characters thereof) is found, respectively,
to be less than, to match, or be greater than \fIs2\fR\&.