For Gauche 0.9.15Search (procedure/syntax/module):

Next: , Previous: , Up: Library modules - Utilities   [Contents][Index]

12.32 dbm.odbm - Original DBM interface

Module: dbm.odbm

Provides interface to the legacy dbm library. Extends dbm.

Class: <odbm>

{dbm.odbm} Inherits <dbm>. Provides an implementation for legacy DBM library. This module is only installed when your system already has DBM.

The biggest limitation of the legacy DBM is that you can only open one database at a time. You can create a multiple <odbm> instances, but you can open at most one of it at a time, or you’ll get an error.

Besides the unified DBM interface (see dbm - Generic DBM interface), this module provides the following low-level functions that provides direct access to the dbm API. See dbm manual for details of these APIs.

Function: odbm-init path

{dbm.odbm}

Function: odbm-close

{dbm.odbm}

Function: odbm-store key value

{dbm.odbm}

Function: odbm-fetch key

{dbm.odbm}

Function: odbm-delete key

{dbm.odbm}

Function: odbm-firstkey

{dbm.odbm}

Function: odbm-nextkey key

{dbm.odbm}


Next: , Previous: , Up: Library modules - Utilities   [Contents][Index]


For Gauche 0.9.15Search (procedure/syntax/module):