|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
|
Segment page-in routines. More...
#include <stdio.h>#include <unistd.h>#include <string.h>#include <errno.h>#include <grass/gis.h>#include <grass/glocale.h>#include "local_proto.h"
Go to the source code of this file.
Functions | |
| int | seg_pagein (SEGMENT *SEG, int n) |
| Internal use only. | |
Segment page-in routines.
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file pagein.c.
Internal use only.
Segment pagein.
Finds n in the segment file, seg, and selects it as the current segment.
| [in] | SEG | segment |
| [in] | n | segment number |
Definition at line 37 of file pagein.c.
References _, UntypedStream::buf, err(), G_debug(), G_warning(), read, AMI_STREAM< T >::seek(), and seg_pageout().
Referenced by Segment_get(), and Segment_put().