GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
Main Page
Related Pages
+
Data Structures
Data Structures
Class Hierarchy
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
z
+
Enumerations
a
c
d
e
h
l
m
n
o
p
r
s
t
v
y
+
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
show_elem.c
Go to the documentation of this file.
1
/*!
2
\file lib/manage/show_elem.c
3
4
\brief Manage Library - Show elements
5
6
(C) 2001-2011 by the GRASS Development Team
7
8
This program is free software under the GNU General Public License
9
(>=v2). Read the file COPYING that comes with GRASS for details.
10
11
\author Original author CERL
12
*/
13
14
#include <stdio.h>
15
#include <string.h>
16
17
#include "manage_local_proto.h"
18
19
/*!
20
\brief Print element name/desc to stdout
21
*/
22
void
M_show_elements
(
void
)
23
{
24
int
n;
25
unsigned
int
len;
26
27
len = 0;
28
for
(n = 0; n <
nlist
; n++)
29
if
(strlen(
list
[n].alias) > len)
30
len = strlen(
list
[n].alias);
31
for
(n = 0; n <
nlist
; n++)
32
fprintf(stdout,
" %-*s (%s)\n"
, len,
list
[n].alias,
list
[n].text);
33
}
nlist
int nlist
Definition:
read_list.c:23
M_show_elements
void M_show_elements(void)
Print element name/desc to stdout.
Definition:
show_elem.c:22
list
Definition:
manage.h:4
lib
manage
show_elem.c
Generated on Mon May 31 2021 05:21:31 for GRASS GIS 7 Programmer's Manual by
1.8.13