btisrt

btisrt gives system error codes above 400 million during lseek, read, and write. 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
300001001 Stack is not empty.
300001002 Error in btgetblk.
300001003 Error in btpush.
300001004 The value of bthdr->count is greater than nodesz (records per node).
300001005 Error in btspltrt.
300001006 Error in btsplit.
300001007 The value of bthdr->count is greater than nodesz (records per node) after a split.
300001008 bthdr->count is invalid.
300001009 Error in btspltrt.
300001010 Error in btsplit.
300001011 Error in btgetblk.
300001012 Error in btpush.
300001013 Error in btgetblk.
300001014 Error in btpush.
300001015 bthdr->count is invalid.
300001016 bthdr->count is invalid.
300001017 Error in btputblk.
300001018 Error in btflustk.
300001019 Inserting a record with delete byte set.
300001020 Error in btputblk.
300001021 Inserting a non-btree record.

Each of the error messages in this subroutine are for a different part of the process.

btisrt is documented in Btree Subroutines.