Compatibility macros -
A bunch of macros to minimize the amount of platform-specific ifdefs needed throughout the rest of the code. When the features this library needs are similar enough to POSIX to be hidden in a one-or-two line replacement, this macro approach is used.
Features under development
Wrapper around func, which is a C99 feature
printf format modifier for size_t
For MDB_LOCK_FORMAT: True if readers take a pid lock in the lockfile
Lock the reader mutex.
Unlock the reader mutex.
Lock the writer mutex. Only a single write transaction is allowed at a time. Other writers will block waiting for this mutex.
Unlock the writer mutex.
Get the error code for the last failed system function.
An abstraction for a file handle. On POSIX systems file handles are small integers. On Windows they're opaque pointers.
A value for an invalid file handle. Mainly used to initialize file variables and signify that they are unused.
Get the size of a memory page for the system. This is the basic size that the platform's memory manager uses, and is fundamental to the use of memory-mapped files.
Generated automatically by Doxygen for LMDB from the source code.