I found that strncpy_s() is defined under VS2013 as
strncpy_s()
errno_t __cdecl strncpy_s ( _Out_writes_z_(_SizeInBytes) char * _Dst, _In_ rsize_