GRASS 8 Programmer's Manual 8.6.0dev(2026)-985dd2421b
Loading...
Searching...
No Matches
rewind.c File Reference

Vector library - rewind data. More...

#include <grass/vector.h>
#include <grass/glocale.h>
Include dependency graph for vector/Vlib/rewind.c:

Go to the source code of this file.

Functions

int Vect_rewind (struct Map_info *Map)
 Rewind vector map to cause reads to start at beginning.
 

Detailed Description

Vector library - rewind data.

Vector library - rewind data (native format)

Higher level functions for reading/writing/manipulating vectors.

SPDX-FileCopyrightText: 2001-2009, 2011-2012 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

Author
Original author CERL, probably Dave Gerdes or Mike Higgins.
Update to GRASS 5.7 Radim Blazek and David D. Gray.
Level 3 by Martin Landa <landa.martin gmail.com>

Higher level functions for reading/writing/manipulating vectors.

SPDX-FileCopyrightText: 2001-2009, 2011-2012 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

Author
Original author CERL, probably Dave Gerdes or Mike Higgins.
Update to GRASS 5.7 Radim Blazek and David D. Gray.

Definition in file vector/Vlib/rewind.c.

Function Documentation

◆ Vect_rewind()

int Vect_rewind ( struct Map_info Map)

Rewind vector map to cause reads to start at beginning.

Parameters
Mappointer to Map_info structure
Returns
0 on success
-1 on error

Definition at line 53 of file vector/Vlib/rewind.c.

References G_debug(), AMI_STREAM< T >::name(), and VECT_OPEN.

Referenced by P_estimate_splinestep(), P_Read_Vector_Region_Map(), Vect__open_old(), Vect_build_nat(), Vect_copy_map_lines_field(), Vect_get_map_box1(), and Vect_write_ascii().