GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-2bdcc05b3a
do_list.c File Reference

Manage Library - List elements. More...

#include <grass/gis.h>
#include <grass/glocale.h>
#include "manage_local_proto.h"
Include dependency graph for do_list.c:

Go to the source code of this file.


void M_do_list (int n, const char *mapset)
 List elements. More...

Detailed Description

Manage Library - List elements.

(C) 2001-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.

Original author CERL

Definition in file do_list.c.

Function Documentation

◆ M_do_list()

void M_do_list ( int  n,
const char *  mapset 

List elements.

nelement index in the array (negative value for all elements)
mapsetname of mapset ("" for search path)

Definition at line 25 of file do_list.c.

References _, G_fatal_error(), G_list_element(), nlist, and NULL.