btdbck

btdbck gives system error codes above 400 million during lseek and read. Read the message written to stderr. Subtract 400 million from the error code. This is the error code returned by the system.

In UNIX the strerror subroutine translates the error code.

In Windows the FormatMessage subroutine translates the error code.


User Error Codes

Error Code Description
300000401 Out of memory.
300000402 Duplicate right pointer.
300000403 Index node missing left pointer.
300000404 Left pointer in leaf node.
300000405 Duplicate left pointer.
300000406 Invalid pointer to root.
300000407 Missing pointer to block.
300000408 Database size not a record multiple.
300000409 Right pointer not a record multiple.
300000410 Right pointer beyond end of file.
300000411 Right pointer too small.
300000412 Left pointer not a record multiple.
300000413 Left pointer beyond end of file.
300000414 Left pointer too small.

btdbck is documented in Btree Subroutines btdbck.

btdbck is used in Btree Test Programs dbck.