MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / wcstombs

Method wcstombs

UTCP/src/UT_StrOp.cpp:372–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372void CUT_Str::wcstombs(size_t *pConvertedChars, char *mbstr, size_t sizeInBytes, const wchar_t *wcstr, size_t count)
373{
374#if _MSC_VER >= 1400
375 UNREFERENCED_PARAMETER(count);
376 wcstombs_s(pConvertedChars, mbstr, sizeInBytes, wcstr, _TRUNCATE);
377#else
378 UNREFERENCED_PARAMETER(sizeInBytes);
379 *pConvertedChars = ::wcstombs(mbstr, wcstr, count);
380#endif
381}
382
383
384

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected