|
|
1.1 root 1: .th CLEANREL AM 9/3/77
2: .sh NAME
3: cleanrel - flush and reset any buffers belonging to a relation
4: .sh SYNOPSIS
5: .nf
6: cleanrel(d)
7: struct descriptor *d;
8: .fi
9: .sh DESCRIPTION
10: CLEANREL will search the access method buffers for a buffer
11: being used by the given relation.
12: If a buffer is found, it is flushed and cleared so that
13: the next time the relation is accessed,
14: a disk read will be forced.
15: This is useful if an open relation is being updated
16: by some other program and it is necessary to force
17: a disk read so that the most up-to-date data can be
18: retrieved from the relation.
19: .sh DIAGNOSTICS
20: .nf
21: AMWRITE_ERR -- pageflush error
22: 0 -- success
23: .fi
24: .sh "SEE ALSO"
25: acc_close
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.