summaryrefslogtreecommitdiffabout
path: root/doc/gdbm.texinfo
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-17 17:57:30 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-08-17 17:57:30 (GMT)
commite22604d840c4db32fed14e59f56c5e4f419692d8 (patch) (side-by-side diff)
treedc3260374404d1ce013bbcd1a29164b3e14aef7e /doc/gdbm.texinfo
parent360cc1a82c0bebebd70f4890a8dcaa78891c032a (diff)
downloadgdbm-e22604d840c4db32fed14e59f56c5e4f419692d8.tar.gz
gdbm-e22604d840c4db32fed14e59f56c5e4f419692d8.tar.bz2
Introduce new error code.
* configure.ac, NEWS: Raise patchlevel to 90. * src/gdbm.h.in: Enclose entire file in conditional extern "C". (GDBM_FILE_STAT_ERROR): New error code. (_GDBM_MAX_ERRNO): Update. * src/gdbmerrno.c (gdbm_errlist): Update. * src/gdbmopen.c: Set GDBM_FILE_STAT_ERROR on fstat failure. * src/gdbmreorg.c: Likewise. * src/mmap.c: Likewise. * src/systems.h: Include errno.h * gdbm.texinfo: Document GDBM_FILE_STAT_ERROR.
Diffstat (limited to 'doc/gdbm.texinfo') (more/less context) (ignore whitespace changes)
-rw-r--r--doc/gdbm.texinfo5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/gdbm.texinfo b/doc/gdbm.texinfo
index 3463b84..98e3bc3 100644
--- a/doc/gdbm.texinfo
+++ b/doc/gdbm.texinfo
@@ -1459,6 +1459,11 @@ the file it tries to open has a wrong magic number.
@item GDBM_BAD_OPEN_FLAGS
Set by the @code{gdbm_export} function if supplied an invalid
@var{flags} argument. @xref{Flat files}.
+
+@kwindex GDBM_FILE_STAT_ERROR
+@item GDBM_FILE_STAT_ERROR
+Getting information about a disk file failed. The system @code{errno}
+will give more details about the error.
@end table
@node Compatibility

Return to:

Send suggestions and report system problems to the System administrator.