Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsncmp.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsncmp.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsncmp.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsncmp.html on line 8
Compare two wide-character strings, up to a given length
#include <wchar.h>
int wcsncmp( const wchar_t * ws1,
const wchar_t * ws2,
size_t n );
- ws1, ws2
- The wide-character strings that you want to compare.
- n
- The maximum number of wide characters that you want to compare.
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
The wcsncmp() function compares up n wide characters
from the strings pointed to by ws1 and ws2.
- < 0
- ws1 is less than ws2.
- 0
- ws1 is equal to ws2.
- > 0
- ws1 is greater than ws2.
ANSI,
POSIX 1003.1
Safety: | |
Cancellation point |
No |
Interrupt handler |
Yes |
Signal handler |
Yes |
Thread |
Yes |
strcasecmp(),
strcmp(),
strcmpi(),
strcoll(),
stricmp(),
strncasecmp(),
strncmp(),
strnicmp(),
wcscmp(),
wcscoll()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsncmp.html on line 137
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/w/wcsncmp.html on line 137