DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(gdbm.info.gz) Locking

Info Catalog (gdbm.info.gz) Options (gdbm.info.gz) Top (gdbm.info.gz) Variables
 
 File Locking.
 *************
 
    With locking disabled (if `gdbm_open' was called with GDBM_NOLOCK),
 the user may want to perform their own file locking on the database file
 in order to prevent multiple writers operating on the same file
 simultaneously.
 
    In order to support this, the `gdbm_fdesc' routine is provided.
 
      ret = gdbm_fdesc(dbf);
 
    The single valid parameter is:
 
 GDBM_FILE dbf
      The pointer returned by `gdbm_open'.
 
    The return value will be the file descriptor of the database.
 
Info Catalog (gdbm.info.gz) Options (gdbm.info.gz) Top (gdbm.info.gz) Variables
automatically generated byinfo2html