NTFS_UCSNCASECMP

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ntfs_ucsncasecmp - compare two little endian Unicode strings, ignoring case  

SYNOPSIS

"SYNOPSIS"

int ntfs_ucsncasecmp (const ntfschar * s1, const ntfschar * s2, size_t n, const ntfschar * upcase, const u32 upcase_size);  

ARGUMENTS

s1
first string
s2
second string
n
maximum unicode characters to compare
upcase
upcase table
upcase_size
upcase table size in Unicode characters
 

DESCRIPTION

Compare the first n characters of the Unicode strings s1 and s2, ignoring case. The strings in little endian format and appropriate le16_to_cpu conversion is performed on non-little endian machines.

Each character is uppercased using the upcase table before the comparison.

The function returns an integer less than, equal to, or greater than zero if s1 (or the first n Unicode characters thereof) is found, respectively, to be less than, to match, or be greater than s2.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:34 GMT, October 09, 2005