19 #if defined( _MSC_VER )
20 strncpy_s( dst, count, src, _TRUNCATE );
22 strncpy( dst, src, count );
23 #endif // defined( _MSC_VER )
26 void secured_ctime(
char * str,
const time_t * t,
size_t count )
28 #if defined( _MSC_VER )
29 ctime_s( str, count, t );
31 strncpy( str, ctime(t), count );
32 #endif // defined( _MSC_VER )