Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygentcsncat.h
Go to the documentation of this file.
00001 /* $Id: tcsncat.h 30283 2007-11-08 21:06:20Z fireball $ 00002 */ 00003 00004 #include <stddef.h> 00005 #include <tchar.h> 00006 00007 _TCHAR * _tcsncat(_TCHAR * dst, const _TCHAR * src, size_t n) 00008 { 00009 if(n != 0) 00010 { 00011 _TCHAR * d = dst; 00012 const _TCHAR * s = src; 00013 00014 while(*d != 0) ++ d; 00015 00016 do 00017 { 00018 if((*d = *s++) == 0) break; 00019 00020 ++ d; 00021 } 00022 while (--n != 0); 00023 00024 *d = 0; 00025 } 00026 00027 return dst; 00028 } 00029 00030 /* EOF */ Generated on Sat May 19 2012 04:34:38 for ReactOS by
1.7.6.1
|