GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-77aab223bc
manage/find.c File Reference

Manage Library - Find element in data base. More...

#include <string.h>
#include <grass/gis.h>
#include "manage_local_proto.h"
Include dependency graph for manage/find.c:

Go to the source code of this file.

Functions

const char * M_find (int n, char *name, const char *mapsets)
 Find element in data base. More...
 

Detailed Description

Manage Library - Find element in data base.

(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.

Author
Original author CERL

Definition in file manage/find.c.

Function Documentation

◆ M_find()

const char* M_find ( int  n,
char *  name,
const char *  mapsets 
)

Find element in data base.

Parameters
nelement id
nameelement name
mapsetsname of mapsets
Returns
mapset if found
if not found

Definition at line 29 of file manage/find.c.

References G_find_file2(), GNAME_MAX, name, and strcpy.