ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

tcsncmp.h
Go to the documentation of this file.
00001 /* $Id: tcsncmp.h 30283 2007-11-08 21:06:20Z fireball $
00002  */
00003 
00004 #include <stddef.h>
00005 #include <tchar.h>
00006 
00007 int _tcsncmp(const _TCHAR * s1, const _TCHAR * s2, size_t n)
00008 {
00009  if(n == 0) return 0;
00010 
00011  do
00012  {
00013   if(*s1 != *s2 ++) return *s1 - *-- s2;
00014   if(*s1 ++ == 0) break;
00015  }
00016  while (-- n != 0);
00017 
00018  return 0;
00019 }
00020 
00021 /* EOF */

Generated on Sun May 27 2012 04:36:46 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.