diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | doc/gdbm.3 | 6 | ||||
-rw-r--r-- | doc/gdbm.texinfo | 4 |
3 files changed, 10 insertions, 5 deletions
@@ -1,6 +1,11 @@ +2016-07-06 Sergey Poznyakoff <gray@gnu.org.ua> + + * doc/gdbm.texinfo: Normal installation prefix is /usr. + * doc/gdbm.3: Spell fixes. + 2016-05-16 Sergey Poznyakoff <gray@gnu.org.ua> Version 1.12 2016-05-16 Sergey Poznyakoff <gray@gnu.org.ua> @@ -10,13 +10,13 @@ .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with GDBM. If not, see <http://www.gnu.org/licenses/>. */ -.TH GDBM 3 "December 5, 2015" "GDBM" "GDBM User Reference" +.TH GDBM 3 "July 6, 2016" "GDBM" "GDBM User Reference" .SH NAME GDBM \- The GNU database manager. Includes \fBdbm\fR and \fBndbm\fR compatibility. .SH SYNOPSIS .nf .B #include <gdbm.h> @@ -71,13 +71,13 @@ compatibility. .BI "datum firstkey (void);" .br .BI "datum nextkey (datum " key ); .br .BI "int dbmclose (void);" .PP -.SS NDBM Compatability routines: +.SS NDBM Compatibility routines: .PP .B #include <ndbm.h> .sp .BI "DBM *dbm_open (const char *" name ", int " flags ", int " mode ); .br .BI "void dbm_close (DBM *" file ); @@ -230,13 +230,13 @@ To search for some data, without retrieving it: .BI "int gdbm_exists (GDBM_FILE " dbf ", datum " key ); \fIDbf\fR is the pointer returned by \fBgdbm_open\fR. \fIKey\fR is the key data to search for. If the \fIkey\fR is found within the database, the return value -will be true. If nothing appropiate is found, false is returned. +will be true. If nothing appropriate is found, false is returned. This routine is useful for checking for the existence of a record, without performing the memory allocation done by \fBgdbm_fetch\fR. .PP To remove some data from the database: .BI "int gdbm_delete (GDBM_FILE " dbf ", datum " key ); diff --git a/doc/gdbm.texinfo b/doc/gdbm.texinfo index d1ff23d..6322a9b 100644 --- a/doc/gdbm.texinfo +++ b/doc/gdbm.texinfo @@ -230,13 +230,13 @@ int gdbm_export_to_file (GDBM_FILE dbf, FILE *fp); int gdbm_import (GDBM_FILE, const char *, int); int gdbm_import_from_file (GDBM_FILE dbf, FILE *fp, int flag); int gdbm_count (GDBM_FILE dbf, gdbm_count_t *pcount); int gdbm_version_cmp (int const a[], int const b[]); @end example -The @code{gdbm.h} include file is often in the @file{/usr/local/include} +The @code{gdbm.h} include file is often in the @file{/usr/include} directory. (The actual location of @code{gdbm.h} depends on your local installation of @code{gdbm}.) @node Open @chapter Opening the database. @@ -1416,13 +1416,13 @@ use @file{libgdbm_compat} without any changes. To link a program with the compatibility library, add the following two options to the @command{cc} invocation: @option{-lgdbm -lgdbm_compat}. The @option{-L} option may also be required, depending on where @code{gdbm} is installed, e.g.: @example -cc ... -L/usr/local/lib -lgdbm -lgdbm_compat +cc ... -lgdbm -lgdbm_compat @end example @cindex @samp{dir} file @cindex @samp{pag} file Databases created and manipulated by the compatibility interfaces consist of two different files: @file{@var{file}.dir} and |