GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
vector/Vlib/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. More...
 

Detailed Description

Vector library - rewind data.

Vector library - rewind data (native format)

Higher level functions for reading/writing/manipulating vectors.

(C) 2001-2009, 2011-2012 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

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.

(C) 2001-2009, 2011-2012 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

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 66 of file vector/Vlib/rewind.c.

References G_debug(), Map_info::level, Map_info::name, and VECT_OPEN.