Searched refs:bt_fd (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/lib/libc/db/btree/
H A Dbt_open.c166 t->bt_fd = -1; /* Don't close unopened fd on error. */
204 if ((t->bt_fd = __dbopen(fname, flags, mode, &sb)) == -1)
209 if ((t->bt_fd = __dbtemp("bt.", &sb)) == -1)
216 if ((nr = read(t->bt_fd, &m, sizeof(BTMETA))) < 0)
307 mpool_open(NULL, t->bt_fd, t->bt_psize, ncache)) == NULL)
335 if (t->bt_fd != -1)
336 (void)close(t->bt_fd);
427 return (t->bt_fd);
H A Dbt_close.c104 fd = t->bt_fd;
H A Dbtree.h377 int bt_fd; /* tree file descriptor */ member in struct:_btree

Completed in 132 milliseconds