|
|
1.1 ! root 1: # include <ingres.h> ! 2: # include <aux.h> ! 3: # include <access.h> ! 4: # include <sccs.h> ! 5: ! 6: SCCSID(@(#)cleanrel.c 7.1 2/5/81) ! 7: ! 8: /* ! 9: ** CLEANREL -- ! 10: ** If there are any buffers being used by the relation described ! 11: ** in the descriptor struct, flush and zap the buffer. ! 12: ** This will force a UNIX disk read the next time the relation ! 13: ** is accessed which is useful to get the most up-to-date ! 14: ** information from a file that is being updated by another ! 15: ** program. ! 16: */ ! 17: ! 18: cleanrel(d) ! 19: DESC *d; ! 20: { ! 21: /* flush and reset all pages of this rel */ ! 22: return (flush_rel(d, TRUE)); ! 23: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.