ReactOS 0.4.16-dev-2104-gb84fa49
strncoll.c
Go to the documentation of this file.
1#include <precomp.h>
2#include <string.h>
3
4/* Compare S1 and S2, returning less than, equal to or
5 greater than zero if the collated form of S1 is lexicographically
6 less than, equal to or greater than the collated form of S2. */
7
8
9/*
10 * @unimplemented
11 */
12int _strncoll(const char* s1, const char* s2, size_t c)
13{
14 return strncmp(s1, s2, c);
15}
16
17/*
18 * @unimplemented
19 */
20int _strnicoll(const char* s1, const char* s2, size_t c)
21{
22 return _strnicmp(s1, s2, c);
23}
#define _strnicmp(_String1, _String2, _MaxCount)
Definition: compat.h:23
_ACRTIMP int __cdecl strncmp(const char *, const char *, size_t)
Definition: string.c:3330
const GLubyte * c
Definition: glext.h:8905
struct S1 s1
PCWSTR s2
Definition: shell32_main.h:38
int _strncoll(const char *s1, const char *s2, size_t c)
Definition: strncoll.c:12
int _strnicoll(const char *s1, const char *s2, size_t c)
Definition: strncoll.c:20