File:  [CSRG BSD Unix] / 43BSD / ingres / doc / access / cleanrel.nr
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

.th CLEANREL AM 9/3/77
.sh NAME
cleanrel - flush and reset any buffers belonging to a relation
.sh SYNOPSIS
.nf
cleanrel(d)
struct descriptor	*d;
.fi
.sh DESCRIPTION
CLEANREL will search the access method buffers for a buffer
being used by the given relation.
If a buffer is found, it is flushed and cleared so that
the next time the relation is accessed,
a disk read will be forced.
This is useful if an open relation is being updated
by some other program and it is necessary to force
a disk read so that the most up-to-date data can be
retrieved from the relation.
.sh DIAGNOSTICS
.nf
AMWRITE_ERR -- pageflush error
0 -- success
.fi
.sh "SEE ALSO"
acc_close

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.