| 319 | |
| 320 | |
| 321 | static void db_open( const char* file_name, USHORT file_length) |
| 322 | { |
| 323 | /************************************** |
| 324 | * |
| 325 | * d b _ o p e n |
| 326 | * |
| 327 | ************************************** |
| 328 | * |
| 329 | * Functional description |
| 330 | * Open a database file. |
| 331 | * |
| 332 | **************************************/ |
| 333 | |
| 334 | if ((file = os_utils::open(file_name, 2)) == -1) |
| 335 | db_error(errno); |
| 336 | } |
| 337 | |
| 338 | |
| 339 | static PAG db_read( SLONG page_number) |