MySQL 8.0.40
Source Code Documentation
|
Classes | |
struct | HandleInfo |
class | WindowsErrorGuard |
RAII guard which ensures that: More... | |
Typedefs | |
using | HandleInfoAllocator = Malloc_allocator< HandleInfo > |
using | HandleInfoVector = std::vector< HandleInfo, HandleInfoAllocator > |
Functions | |
size_t | ToIndex (File fd) |
int | ToDescr (size_t hi) |
bool | IsValidIndex (size_t hi) |
HandleInfo | GetHandleInfo (File fd) |
File | RegisterHandle (HANDLE handle, int oflag) |
HandleInfo | UnregisterHandle (File fd) |
File | FileIndex (HANDLE handle) |
LARGE_INTEGER | MakeLargeInteger (int64_t src) |
OVERLAPPED | MakeOverlapped (DWORD l, DWORD h) |
OVERLAPPED | MakeOverlapped (int64_t src) |
File | my_win_sopen (const char *path, int oflag, int shflag, int pmode) |
Open a file with sharing. More... | |
File | my_get_stdfile_descriptor (FILE *stream) |
Variables | |
HandleInfoVector * | hivp = nullptr |
using anonymous_namespace{my_winfile.cc}::HandleInfoAllocator = typedef Malloc_allocator<HandleInfo> |
using anonymous_namespace{my_winfile.cc}::HandleInfoVector = typedef std::vector<HandleInfo, HandleInfoAllocator> |
HandleInfo anonymous_namespace{my_winfile.cc}::GetHandleInfo | ( | File | fd | ) |
bool anonymous_namespace{my_winfile.cc}::IsValidIndex | ( | size_t | hi | ) |
LARGE_INTEGER anonymous_namespace{my_winfile.cc}::MakeLargeInteger | ( | int64_t | src | ) |
OVERLAPPED anonymous_namespace{my_winfile.cc}::MakeOverlapped | ( | DWORD | l, |
DWORD | h | ||
) |
OVERLAPPED anonymous_namespace{my_winfile.cc}::MakeOverlapped | ( | int64_t | src | ) |
File anonymous_namespace{my_winfile.cc}::my_get_stdfile_descriptor | ( | FILE * | stream | ) |
File anonymous_namespace{my_winfile.cc}::my_win_sopen | ( | const char * | path, |
int | oflag, | ||
int | shflag, | ||
int | pmode | ||
) |
Open a file with sharing.
Similar to _sopen() from libc, but allows managing share delete on win32.
path | file name |
oflag | operation flags |
shflag | share flag |
pmode | permission flags |
File | descriptor of opened file if success |
-1 | and sets errno and/or LastError if fails. |
int anonymous_namespace{my_winfile.cc}::ToDescr | ( | size_t | hi | ) |
size_t anonymous_namespace{my_winfile.cc}::ToIndex | ( | File | fd | ) |
HandleInfo anonymous_namespace{my_winfile.cc}::UnregisterHandle | ( | File | fd | ) |
HandleInfoVector* anonymous_namespace{my_winfile.cc}::hivp = nullptr |