DCL 3.7.4
Loading...
Searching...
No Matches
_string.cpp
Go to the documentation of this file.
1
2#include <dcl/Config.h>
3
4#ifndef __WINNT__
5
6#include <errno.h>
7#include <string.h>
8#include <dcl/_string.h>
9#include <dcl/Object.h> // __T(str)
10#include <dcl/String.h>
11
12#include "__strumbs.h"
13
14#if __DCL_HAVE_THIS_FILE__
15#undef __THIS_FILE__
16static const char_t __UNUSED__ __THIS_FILE__[] = __T("dcl/_string.cpp");
17#endif
18
19__DCL_BEGIN_NAMESPACE
20
21int __strerror(String& _r, int _errnum)
22{
23 MBSTOSTR_ER(::strerror(_errnum), (size_t)-1, _r);
24 return 0;
25}
26
27__DCL_END_NAMESPACE
28
29#endif // __WINNT__
#define MBSTOSTR_ER(mbs, nmbs, str)
Definition __strumbs.h:19
__DCL_BEGIN_NAMESPACE int __strerror(String &_r, int _errnum)
Definition _string.cpp:21
#define __THIS_FILE__
Definition _trace.h:14
#define __UNUSED__
Definition Config.h:341
wchar_t char_t
Definition Config.h:247
#define __T(str)
Definition Object.h:60