Create a branch for audio work

svn path=/branches/audio-bringup/; revision=49478
This commit is contained in:
Timo Kreuzer 2010-11-05 11:04:48 +00:00
parent 26c20f3857
commit 5eb25b5c24
20759 changed files with 0 additions and 1141005 deletions

View file

@ -0,0 +1,28 @@
/* $Id$
*/
#include <stddef.h>
#include <tchar.h>
_TCHAR * _tcsncpy(_TCHAR * dst, const _TCHAR * src, size_t n)
{
if(n != 0)
{
_TCHAR * d = dst;
const _TCHAR * s = src;
do
{
if((*d ++ = *s ++) == 0)
{
while (-- n != 0) *d ++ = 0;
break;
}
}
while(-- n != 0);
}
return dst;
}
/* EOF */