GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
flush.c
Go to the documentation of this file.
1
15
#include <grass/segment.h>
16
17
32
int
segment_flush
(SEGMENT * SEG)
33
{
34
int
i;
35
36
for
(i = 0; i < SEG->nseg; i++)
37
if
(SEG->scb[i].n >= 0 && SEG->scb[i].dirty)
38
segment_pageout
(SEG, i);
39
40
return
0;
41
}
segment_flush
int segment_flush(SEGMENT *SEG)
Flush pending updates to disk.
Definition:
flush.c:32
segment_pageout
int segment_pageout(SEGMENT *SEG, int i)
Pages segment to disk.
Definition:
pageout.c:36
lib
segment
flush.c
Generated on Sat Jan 2 2016 01:46:47 for GRASS Programmer's Manual by
1.8.5