34char __syserr11[] =
"Resource temporarily unavailable (EAGAIN)";
46char __syserr23[] =
"Too many open files in system (ENFILE)";
48char __syserr25[] =
"Inappropriate I/O control operation (ENOTTY)";
56char __syserr33[] =
"Input to function out of range (EDOM)";
57char __syserr34[] =
"Output of function out of range (ERANGE)";
59char __syserr36[] =
"Resource deadlock avoided (EDEADLK)";
89 if (!
data->strerror_buffer)
94 return data->strerror_buffer;
132 if (!
data->strerror_buffer)
143 return data->strerror_buffer;
185 if (!
data->wcserror_buffer)
186 if (!(
data->wcserror_buffer =
malloc(256 *
sizeof(
wchar_t))))
return NULL;
188 return data->wcserror_buffer;
197 static const WCHAR colonW[] = {
':',
' ',
'\0'};
198 static const WCHAR nlW[] = {
'\n',
'\0'};
232 if (!
data->wcserror_buffer)
233 if (!(
data->wcserror_buffer =
malloc(256 *
sizeof(
wchar_t))))
return NULL;
238 return data->wcserror_buffer;
ACPI_SIZE strlen(const char *String)
char * strcpy(char *DstString, const char *SrcString)
#define MultiByteToWideChar
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
LPWSTR WINAPI lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)
#define MSVCRT_INVALID_PMT(x)
#define MSVCRT_CHECK_PMT(x)
#define sprintf(buf, format,...)
thread_data_t * msvcrt_get_thread_data(void)
static size_t numberOfElements
_CRTIMP int *__cdecl _errno(void)
errno_t __cdecl _set_errno(_In_ int _Value)
_CRTIMP int __cdecl _write(_In_ int _FileHandle, _In_reads_bytes_(_MaxCharCount) const void *_Buf, _In_ unsigned int _MaxCharCount)
char *CDECL strerror(int err)
wchar_t *CDECL _wcserror(int err)
void CDECL perror(const char *str)
wchar_t *CDECL __wcserror(const wchar_t *str)
int CDECL strerror_s(char *buffer, size_t numberOfElements, int errnum)
int CDECL __wcserror_s(wchar_t *buffer, size_t nc, const wchar_t *str)
int CDECL _wcserror_s(wchar_t *buffer, size_t nc, int err)
char *CDECL _strerror(const char *str)