Mercurial > hg > xemacs-beta
comparison man/lispref/databases.texi @ 203:850242ba4a81 r20-3b28
Import from CVS: tag r20-3b28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:02:21 +0200 |
parents | 376386a54a3c |
children | a4f53d9b3154 |
comparison
equal
deleted
inserted
replaced
202:61eefc8fc970 | 203:850242ba4a81 |
---|---|
23 @defun open-database file &optional type subtype access mode | 23 @defun open-database file &optional type subtype access mode |
24 This function opens database @var{file}, using database method | 24 This function opens database @var{file}, using database method |
25 @var{type} and @var{subtype}, with access rights @var{access} and | 25 @var{type} and @var{subtype}, with access rights @var{access} and |
26 permissions @var{mode}. @var{access} can be any combination of @code{r} | 26 permissions @var{mode}. @var{access} can be any combination of @code{r} |
27 @code{w} and @code{+}, for read, write, and creation flags. | 27 @code{w} and @code{+}, for read, write, and creation flags. |
28 | |
29 @var{type} can have the value @code{'dbm} or @code{'berkeley_db} to | |
30 select the type of database file to use. (Note: XEmacs may not | |
31 support both of these types.) | |
32 | |
33 For a @var{type} of @code{'dbm}, there are no subtypes, so | |
34 @var{subtype} should by @code{nil}. | |
35 | |
36 For a @var{type} of @code{'berkeley_db}, the following subtypes are | |
37 available: @code{'hash}, @code{'btree}, and @code{'recno}. See the | |
38 manpages for the Berkeley DB functions to more information about these | |
39 types. | |
28 @end defun | 40 @end defun |
29 | 41 |
30 @defun close-database obj | 42 @defun close-database obj |
31 This function closes database @var{obj}. | 43 This function closes database @var{obj}. |
32 @end defun | 44 @end defun |