/*** *mbsncpy_s.c - Copy one string to another, n chars only (MBCS) * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * Copy one string to another, n chars only (MBCS) * *******************************************************************************/ #ifdef _MBCS #include #ifdef _SYSCRT #include #define _FUNC_PROLOGUE #define _FUNC_NAME _mbsncpy_s #define _DEST _Dst #define _SRC _Src #define _COUNT _CountInChars #define _COUNT_IN_BYTES 0 #include #else /* _SYSCRT */ #include _REDIRECT_TO_L_VERSION_4(errno_t, _mbsncpy_s, unsigned char *, size_t, const unsigned char *, size_t) #endif /* _SYSCRT */ #endif /* _MBCS */