|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-f6f2c534ea
|
Segment setup routines. More...
#include <stdlib.h>#include <stdio.h>#include <math.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_setup (SEGMENT *SEG) |
| Internal use only. | |
Segment setup 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 segment/setup.c.
Internal use only.
Setup segment.
SEG must have the following parms set: fd (open for read and write), nrows, ncols, srows, scols, len, nseg
| [in,out] | SEG | segment |
Definition at line 38 of file segment/setup.c.
References _, UntypedStream::buf, err(), G_debug(), G_malloc, G_warning(), NULL, AMI_STREAM< T >::seek(), seg_address_fast(), seg_address_slow(), seg_seek_fast(), and seg_seek_slow().
Referenced by Segment_init().