Import BSDDB 4.7.25 (as of svn r89086)

This commit is contained in:
Zachary Ware
2017-09-04 13:40:25 -05:00
parent 4b29e0458f
commit 8f590873d0
4781 changed files with 2241032 additions and 6 deletions

37
docs_src/db/db_fd.so Normal file
View File

@@ -0,0 +1,37 @@
m4_comment([$Id: db_fd.so,v 10.31 2005/06/14 14:06:57 bostic Exp $])
define(M4PAGELOCAL, dbh_fd)
include(m4/m4.seealso)
m4_pf_header(m4_ref(dbh_fd),
ifelse(M4API, C_API, [dnl
int
DB-__GT__fd(DB *db, int *fdp);
])
ifelse(M4API, CXX_API, [dnl
int
Db::fd(int *fdp);
]))
m4_p([dnl
The m4_refT(dbh_fd) provides access to a file descriptor representative
of the underlying database. A file descriptor referring to the same
file will be returned to all processes that call m4_ref(dbh_open) with
the same m4_arg(file) parameter.])
m4_p([dnl
This file descriptor may be safely used as a parameter to the
m4_manref(fcntl, 2) and m4_manref(flock, 2) locking functions.])
m4_p([dnl
The m4_refT(dbh_fd) only supports a coarse-grained form of locking.
Applications should instead use the m4_db lock manager where possible.])
m4_return(dbh_fd, std)
m4_parambegin
m4_param_co(fdp, current file descriptor)
m4_paramend
m4_seealso(Db)
m4_page_footer