grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

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 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 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 find.c.

References G_find_file2(), GNAME_MAX, and name.