hopen gives system error codes above 400 million during open and lock. 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.
Error Code | Description |
---|---|
350000201 | Invalid read/write flag |
350000202 | Invalid lock flag (UNIX) |
350000203 | Out of memory |
350000204 | Error reading hash header. |
350000205 | File is not a hash database. |
350000206 | Out of memory |
350000207 | Out of memory |
350000208 | Out of memory |
350000209 | Wrong length database name |
Each of the out of memory errors is for a different block of memory.
The correct values for the parameters to hopen are described in Hash Subroutines.