GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-04fd63ca07
pagein.c File Reference

Segment page-in routines. More...

#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <grass/gis.h>
#include "local_proto.h"
Include dependency graph for pagein.c:

Go to the source code of this file.


int seg_pagein (SEGMENT *SEG, int n)
 Internal use only. More...

Detailed Description

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.

GRASS GIS Development Team

Definition in file pagein.c.

Function Documentation

◆ seg_pagein()

int seg_pagein ( SEGMENT SEG,
int  n 

Internal use only.

Segment pagein.

Finds n in the segment file, seg, and selects it as the current segment.

[in]nsegment number
1 if successful
-1 if unable to seek or read segment file

Definition at line 35 of file pagein.c.

Referenced by Segment_get(), and Segment_put().