Re: msvcrt: invoke invalid_handler in _wcscpy_s
5 Aug
2013
5 Aug
'13
11:09 a.m.
On 08/02/13 20:08, Daniel Lehman wrote:
+ if(!MSVCRT_CHECK_PMT(wcDest)) + { + *MSVCRT__errno() = MSVCRT_EINVAL; return MSVCRT_EINVAL; + } The MSVCRT_CHECK_PMT macro sets the errno value. There's also MSVCRT_CHECK_PMT_ERR macro if you need to set different error.
4515
Age (days ago)
4515
Last active (days ago)
0 comments
1 participants
participants (1)
-
Piotr Caban