libzmq
builds
deprecated-msvc
errno.cpp
Go to the documentation of this file.
1
#if defined _WIN32_WCE
2
3
//#include "..\..\include\zmq.h"
4
#include "..\..\src\err.hpp"
5
6
int
errno
;
7
int
_doserrno
;
8
int
_sys_nerr
;
9
10
char
* error_desc_buff =
NULL
;
11
12
char
*
strerror
(
int
errno
)
13
{
14
if
(
NULL
!= error_desc_buff)
15
{
16
LocalFree(error_desc_buff);
17
error_desc_buff =
NULL
;
18
}
19
20
FormatMessage(
21
FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_ALLOCATE_BUFFER,
22
NULL
,
23
errno
,
24
0,
25
(LPTSTR)&error_desc_buff,
26
1024,
27
NULL
28
);
29
return
error_desc_buff;
30
}
31
32
#endif
NULL
NULL
Definition:
test_security_zap.cpp:405
_sys_nerr
int _sys_nerr
errno
int errno
_doserrno
int _doserrno
strerror
char * strerror(int errno)
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:51