mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
Create a branch for audio work
svn path=/branches/audio-bringup/; revision=49478
This commit is contained in:
parent
26c20f3857
commit
5eb25b5c24
20759 changed files with 0 additions and 1141005 deletions
21
lib/sdk/crt/string/tcsncmp.h
Normal file
21
lib/sdk/crt/string/tcsncmp.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
/* $Id$
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <tchar.h>
|
||||
|
||||
int _tcsncmp(const _TCHAR * s1, const _TCHAR * s2, size_t n)
|
||||
{
|
||||
if(n == 0) return 0;
|
||||
|
||||
do
|
||||
{
|
||||
if(*s1 != *s2 ++) return *s1 - *-- s2;
|
||||
if(*s1 ++ == 0) break;
|
||||
}
|
||||
while (-- n != 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue