diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-05-08 16:27:01 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-05-08 16:27:01 +0000 |
commit | 6658f41e38fec9e007a0fbd0883e030f6337e28d (patch) | |
tree | d7ecc0b72b23a01a2bfa10e8a7bb184d704269dc /doc/gdbm.3 | |
parent | c0cba983ab0c0bc1de630a200f902189ddddff09 (diff) | |
download | gdbm-6658f41e38fec9e007a0fbd0883e030f6337e28d.tar.gz gdbm-6658f41e38fec9e007a0fbd0883e030f6337e28d.tar.bz2 |
Rename testgdbm to gdbmtool. Improve documentation.
* configure.ac: Fix a typo.
* src/.cvsignore: Add gdbmtool
* src/Makefile.am: Rename testgdbm to gdbmtool. Source
file not renamed because of CVS deficiency.
* src/gdbm_dump.c: Enable NLS.
* src/gdbm_load.c: Likewise.
* src/testgdbm.c: New option -q (--quiet).
New command: prompt.
* doc/Makefile.am (man_MANS): Add new manpages.
* doc/gdbmtool.1: New file.
* doc/gdbm_load.1: New file.
* doc/gdbm_dump.1: New file.
* doc/gdbm.3: Update.
* doc/gdbm.texinfo: Update.
Diffstat (limited to 'doc/gdbm.3')
-rw-r--r-- | doc/gdbm.3 | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -1,3 +1,3 @@ | |||
1 | .\" This file is part of GDBM. | 1 | .\" This file is part of GDBM. |
2 | .\" Copyright (C) 2011 Free Software Foundation, Inc. | 2 | .\" Copyright (C) 2011, 2013 Free Software Foundation, Inc. |
3 | .\" | 3 | .\" |
@@ -15,7 +15,6 @@ | |||
15 | .\" along with GDBM. If not, see <http://www.gnu.org/licenses/>. */ | 15 | .\" along with GDBM. If not, see <http://www.gnu.org/licenses/>. */ |
16 | .TH GDBM 3 "August 9, 2011" "GDBM" "GDBM User Reference" | 16 | .TH GDBM 3 "May 8, 2013" "GDBM" "GDBM User Reference" |
17 | .ds ve 1.9 | ||
18 | .SH NAME | 17 | .SH NAME |
19 | GDBM - The GNU database manager. Includes \fBdbm\fR and \fBndbm\fR | 18 | GDBM \- The GNU database manager. Includes \fBdbm\fR and \fBndbm\fR |
20 | compatability. (Version \*(ve.) | 19 | compatibility. |
21 | .SH SYNOPSIS | 20 | .SH SYNOPSIS |
@@ -202,3 +201,3 @@ Replace contents if key exists. | |||
202 | .PP | 201 | .PP |
203 | If a reader calls \fBgdbm_store\fR, the return value will be -1. | 202 | If a reader calls \fBgdbm_store\fR, the return value will be \-1. |
204 | If called with \fBGDBM_INSERT\fR and \fIkey\fR is in the database, the return | 203 | If called with \fBGDBM_INSERT\fR and \fIkey\fR is in the database, the return |
@@ -247,3 +246,3 @@ key data. | |||
247 | 246 | ||
248 | The return value is -1 if the item is not present or the requester is a reader. | 247 | The return value is \-1 if the item is not present or the requester is a reader. |
249 | The return value is 0 if there was a successful delete. | 248 | The return value is 0 if there was a successful delete. |
@@ -355,3 +354,3 @@ especially if used in conjunction with \fBGDBM_CENTFREE\fR. \fIvalue\fR | |||
355 | pointer. \fIsize\fR is the size of the data pointed to by \fIvalue\fR. | 354 | pointer. \fIsize\fR is the size of the data pointed to by \fIvalue\fR. |
356 | The return value will be -1 upon failure, or 0 upon success. The global | 355 | The return value will be \-1 upon failure, or 0 upon success. The global |
357 | variable \fIgdbm_errno\fR will be set upon failure. | 356 | variable \fIgdbm_errno\fR will be set upon failure. |
@@ -401,3 +400,3 @@ treated as static pointers (as standard UNIX \fBdbm\fR does). | |||
401 | .SH LINKING | 400 | .SH LINKING |
402 | This library is accessed by specifying \fI-lgdbm\fR as the last | 401 | This library is accessed by specifying \fI\-lgdbm\fR as the last |
403 | parameter to the compile line, e.g.: | 402 | parameter to the compile line, e.g.: |
@@ -406,3 +405,3 @@ parameter to the compile line, e.g.: | |||
406 | .in +5 | 405 | .in +5 |
407 | gcc -o prog prog.c -lgdbm | 406 | gcc \-o prog prog.c \-lgdbm |
408 | .in | 407 | .in |
@@ -415,3 +414,3 @@ you must link in the \fIgdbm_compat\fR library as well. For example: | |||
415 | .in +5 | 414 | .in +5 |
416 | gcc -o prog proc.c -lgdbm -lgdbm_compat | 415 | gcc \-o prog proc.c \-lgdbm \-lgdbm_compat |
417 | .in | 416 | .in |
@@ -421,6 +420,8 @@ gcc -o prog proc.c -lgdbm -lgdbm_compat | |||
421 | .SH "BUG REPORTS" | 420 | .SH "BUG REPORTS" |
422 | Send bug reports to <bug-gdbm@gnu.org>. | 421 | Send bug reports to <bug\-gdbm@gnu.org>. |
423 | .SH "SEE ALSO" | 422 | .SH "SEE ALSO" |
424 | dbm, ndbm | 423 | .BR gdbm_dump (1), |
425 | .SH AUTHOR | 424 | .BR gdbm_load (1), |
425 | .BR gdbmtool (1). | ||
426 | .SH AUTHORS | ||
426 | by Philip A. Nelson, Jason Downs and Sergey Poznyakoff. | 427 | by Philip A. Nelson, Jason Downs and Sergey Poznyakoff. |