MySQL 8.0.40
Source Code Documentation
|
Convert Windows API error (GetLastError() to Posix equivalent (errno). More...
Classes | |
struct | errentry |
Macros | |
#define | ERRTABLESIZE (sizeof(errtable) / sizeof(errtable[0])) |
#define | MIN_EXEC_ERROR ERROR_INVALID_STARTING_CODESEG |
#define | MAX_EXEC_ERROR ERROR_INFLOOP_IN_RELOC_CHAIN |
#define | MIN_EACCES_RANGE ERROR_WRITE_PROTECT |
#define | MAX_EACCES_RANGE ERROR_SHARING_BUFFER_EXCEEDED |
Functions | |
static int | get_errno_from_oserr (unsigned long oserrno) |
void | my_osmaperr (unsigned long oserrno) |
Variables | |
static struct errentry | errtable [] |
Convert Windows API error (GetLastError() to Posix equivalent (errno).
The exported function my_osmaperr() is modelled after and borrows heavily from undocumented _dosmaperr()(found of the static Microsoft C runtime).
#define MAX_EACCES_RANGE ERROR_SHARING_BUFFER_EXCEEDED |
#define MAX_EXEC_ERROR ERROR_INFLOOP_IN_RELOC_CHAIN |
#define MIN_EACCES_RANGE ERROR_WRITE_PROTECT |
#define MIN_EXEC_ERROR ERROR_INVALID_STARTING_CODESEG |
|
static |
void my_osmaperr | ( | unsigned long | oserrno | ) |
|
static |