strncoll.c
来自「一个类似windows」· C语言 代码 · 共 24 行
C
24 行
#include <precomp.h>
#include <string.h>
/* Compare S1 and S2, returning less than, equal to or
greater than zero if the collated form of S1 is lexicographically
less than, equal to or greater than the collated form of S2. */
/*
* @unimplemented
*/
int _strncoll(const char* s1, const char* s2, size_t c)
{
return strncmp(s1, s2, c);
}
/*
* @unimplemented
*/
int _strnicoll(const char* s1, const char* s2, size_t c)
{
return _strnicmp(s1, s2, c);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?