GRASS Programmer's Manual
6.4.3(2013)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
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 Mon Dec 16 2013 12:19:57 for GRASS Programmer's Manual by
1.8.5