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

/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog_get.c175 if (dblp->c_lsn.file != nlsn.file && dblp->c_fd != -1) {
176 (void)__os_close(dblp->c_fd);
177 dblp->c_fd = -1;
195 if (dblp->c_fd == -1) {
197 &np, &dblp->c_fd, DB_RDONLY | DB_SEQUENTIAL)) != 0) {
207 __os_seek(dblp->c_fd, 0, 0, nlsn.offset, 0, SEEK_SET)) != 0) {
211 if ((ret = __os_read(dblp->c_fd, &hdr, sizeof(HDR), &nr)) != 0) {
276 if ((ret = __os_read(dblp->c_fd, tbuf, len, &nr)) != 0) {
H A Dlog.c68 dblp->c_fd = -1;
458 if (dblp->c_fd != -1 &&
459 (t_ret = __os_close(dblp->c_fd)) != 0 && ret == 0)
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dlog.h82 int c_fd; /* Cursor: file descriptor. */ member in struct:__db_log

Completed in 38 milliseconds