GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-f63024f571
|
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 _, G_debug(), G_file_name(), 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().