dbopen
DB *dbopen(const char *, int, mode_t, DBTYPE, const void *);
__weak_alias(dbopen,_dbopen)
if ((capdbp = dbopen(pbuf, O_RDONLY | O_CLOEXEC, 0,
_ng_db = dbopen(_PATH_NETGROUP_DB, O_RDONLY, 0, DB_HASH, NULL);
_ng_db = dbopen(_PATH_NETGROUP_DB, O_RDONLY, 0, DB_HASH, NULL);
state->exclude = dbopen(NULL, O_RDWR, 600, DB_HASH, NULL);
*db = dbopen(dbfile, O_RDONLY, 0, DB_HASH, NULL);
*db = dbopen(dbfile, O_RDONLY, 0, DB_HASH, NULL);
db = dbopen(fname, O_RDONLY|O_SHLOCK|O_CLOEXEC, 0, DB_HASH, NULL);
db = dbopen(fname, O_RDWR|O_CREAT|O_EXLOCK|O_CLOEXEC, 0644, DB_HASH, NULL);
if ((session_db = dbopen(NULL, O_RDWR, 0, DB_HASH, NULL)) == 0) {
if ((db = dbopen(argv[optind], O_RDONLY, 0666, DB_BTREE, &bt)) == NULL) {
db = dbopen(argv[optind], O_RDONLY, 0666, DB_BTREE, &bt);
if ((db = dbopen(name, O_RDONLY, 0666, DB_BTREE, &bt)) == NULL) {
symtable = dbopen(/*filename*/NULL,
if ((dbp = dbopen(fname,
db = dbopen(NULL, O_CREAT|O_TRUNC|O_RDWR, 0, DB_HASH, &hi);
db = dbopen(dbname, flags, perm, DB_HASH, &openinfo);
if ((capdbp = dbopen(capname, O_CREAT | O_TRUNC | O_RDWR,
db = dbopen(oi.file, oi.dbflags, oi.mode, oi.dbtype, oi.info);
lldb = dbopen(_PATH_LASTLOGX, O_RDONLY|O_SHLOCK, 0, DB_HASH, NULL);
(db = dbopen(NULL, O_RDWR, 0, DB_BTREE, NULL)) == NULL)
(db = dbopen(NULL, O_RDWR, 0, DB_HASH, NULL)) == NULL)
db = dbopen(path, O_CREAT|O_RDWR | (iflag ? O_TRUNC : 0),
db_compat = dbopen(db_name_tmp, O_CREAT|O_EXCL|O_EXLOCK|O_RDWR|O_TRUNC,
db = dbopen(dbtemp, O_CREAT | O_EXLOCK | O_TRUNC | O_RDWR,
if ((db = dbopen(_PATH_KVMDB, O_RDONLY, 0, DB_HASH, NULL)) == NULL)
DB *db = dbopen(logfile, O_RDONLY|O_SHLOCK, 0, DB_HASH, NULL);
db = dbopen(buf, O_RDWR | O_CREAT | O_EXCL,
db = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL);
xdb = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL);
DB *udb = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0,
db->db = dbopen(db->dbname, flags, perm, DB_HASH, &openinfo);
db = dbopen(fname, O_RDONLY, PERM_INSECURE, DB_HASH, NULL);
db = dbopen(filename, O_RDWR|O_CREAT|O_NDELAY|O_EXLOCK, 0644, DB_HASH,
saved_pacct_db = dbopen(_PATH_SAVACCT, O_RDWR|O_CREAT|O_TRUNC, 0644,
output_pacct_db = dbopen(NULL, O_RDWR, 0, DB_BTREE, &bti);
pacct_db = dbopen(NULL, O_RDWR|O_CREAT|O_TRUNC, 0644, DB_BTREE, NULL);
saved_pacct_db = dbopen(_PATH_SAVACCT, O_RDONLY, 0, DB_BTREE,
saved_usracct_db = dbopen(_PATH_USRACCT, O_RDWR|O_CREAT|O_TRUNC, 0644,
usracct_db = dbopen(NULL, O_RDWR|O_CREAT|O_TRUNC, 0644, DB_BTREE, &bti);
saved_usracct_db = dbopen(_PATH_USRACCT, O_RDONLY, 0, DB_BTREE,
db = dbopen(tname, O_RDWR | O_CREAT | O_EXCL,
if ((db = dbopen(NULL, O_RDWR, 0, DB_HASH, &hinfo)) == NULL)
db = (DBM *)dbopen(path, flags, mode, DB_BTREE, (void *)&info);
db = (DBM *)dbopen(path, flags, mode, DB_HASH, NULL);