23 #if !defined(NO_SAFE_STRINGS) && ( !defined( _MSC_VER ) || ( defined( _MSC_VER ) && _MSC_VER >= 1400  )) 
   28 errno_t scp_strcpy_s( 
const char* file, 
int line, 
char* strDest, 
size_t sizeInBytes, 
const char* strSource )
 
   32         size_t bufferLeft = sizeInBytes;
 
   34         if ( !strDest || !strSource )
 
   42         if ( sizeInBytes == 0 )
 
   52         while ((*pDest++ = *pSource++) != 0 && --bufferLeft > 0);
 
   54         if ( bufferLeft == 0 )
 
   64 errno_t scp_strcat_s( 
const char* file, 
int line, 
char* strDest, 
size_t sizeInBytes, 
const char* strSource )
 
   68         size_t bufferLeft = sizeInBytes;
 
   70         if ( !strDest || !strSource )
 
   78         if ( bufferLeft == 0 )
 
   94         if ( bufferLeft == 0 )
 
  102         while ((*pDest++ = *pSource++) != 0 && --bufferLeft > 0);
 
  104         if ( bufferLeft == 0 )
 
errno_t scp_strcat_s(const char *file, int line, char *strDest, size_t sizeInBytes, const char *strSource)
 
errno_t scp_strcpy_s(const char *file, int line, char *strDest, size_t sizeInBytes, const char *strSource)
 
#define __safe_strings_error_handler(val)