| 318 | #endif |
| 319 | } |
| 320 | void CUT_Str::tcsncpy(TCHAR * dest, size_t dstSize, const TCHAR * src, size_t maxCount) |
| 321 | { |
| 322 | #if _MSC_VER >= 1400 |
| 323 | _tcsncpy_s(dest, dstSize, src, maxCount); |
| 324 | #else |
| 325 | UNREFERENCED_PARAMETER(dstSize); |
| 326 | #ifdef _UNICODE |
| 327 | ::wcsncpy(dest,src, maxCount); |
| 328 | #else |
| 329 | ::strncpy(dest,src, maxCount); |
| 330 | #endif |
| 331 | #endif |
| 332 | } |
| 333 | |
| 334 | TCHAR * CUT_Str::tgetenv(const TCHAR *varname) |
| 335 | { |
nothing calls this directly
no outgoing calls
no test coverage detected