Mercurial > hg > xemacs-beta
comparison man/lispref/databases.texi @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | a4f53d9b3154 |
children | 501cfd01ee6d |
comparison
equal
deleted
inserted
replaced
370:bd866891f083 | 371:cc15677e0335 |
---|---|
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 | 28 |
29 @var{type} can have the value @code{'dbm} or @code{'berkeley-db} to | 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 | 30 select the type of database file to use. (Note: XEmacs may not |
31 support both of these types.) | 31 support both of these types.) |
32 | 32 |
33 For a @var{type} of @code{'dbm}, there are no subtypes, so | 33 For a @var{type} of @code{'dbm}, there are no subtypes, so |
34 @var{subtype} should by @code{nil}. | 34 @var{subtype} should by @code{nil}. |
35 | 35 |
36 For a @var{type} of @code{'berkeley-db}, the following subtypes are | 36 For a @var{type} of @code{'berkeley_db}, the following subtypes are |
37 available: @code{'hash}, @code{'btree}, and @code{'recno}. See the | 37 available: @code{'hash}, @code{'btree}, and @code{'recno}. See the |
38 manpages for the Berkeley DB functions for more information about these | 38 manpages for the Berkeley DB functions to more information about these |
39 types. | 39 types. |
40 @end defun | 40 @end defun |
41 | 41 |
42 @defun close-database obj | 42 @defun close-database obj |
43 This function closes database @var{obj}. | 43 This function closes database @var{obj}. |