File:  [CSRG BSD Unix] / 42BSD / ingres / source / iutil / cleanrel.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD42
BSD 4.2

# include <ingres.h>
# include <aux.h>
# include <access.h>
# include	<sccs.h>

SCCSID(@(#)cleanrel.c	7.1	2/5/81)

/*
** CLEANREL --
**	If there are any buffers being used by the relation described
**	in the descriptor struct, flush and zap the buffer.
**	This will force a UNIX disk read the next time the relation
**	is accessed which is useful to get the most up-to-date
**	information from a file that is being updated by another
**	program.
*/

cleanrel(d)
DESC	*d;
{
	/* flush and reset all pages of this rel */
	return (flush_rel(d, TRUE));
}

unix.superglobalmegacorp.com

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