|
GRASS 8 Programmer's Manual
8.5.0dev(2025)-9d806b45d8
|
Manage Library - Copy element. More...
#include <stdio.h>#include <string.h>#include <unistd.h>#include <grass/gis.h>#include <grass/glocale.h>#include <grass/vector.h>#include "manage_local_proto.h"
Go to the source code of this file.
Functions | |
| int | M_do_copy (int n, const char *old, const char *mapset, const char *new) |
| Copy element. More... | |
Manage Library - Copy element.
(C) 2001-2011 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.
Definition in file do_copy.c.
| int M_do_copy | ( | int | n, |
| const char * | old, | ||
| const char * | mapset, | ||
| const char * | new | ||
| ) |
Copy element.
| n | element id |
| old | source name |
| mapset | name of source mapset |
| new | destination name |
Definition at line 35 of file do_copy.c.
References _, access, G_debug(), G_file_name(), G_free(), G_fully_qualified_name(), G_make_mapset_object_group(), G_mapset(), G_message(), G_recursive_copy(), G_remove(), G_strcasecmp(), G_verbose_message(), G_warning(), GMAPSET_MAX, GPATH_MAX, M__hold_signals(), list::nelem, and Vect_copy().