GRASS GIS 7 Programmer's Manual
7.0.3(2016)-r00000
Main Page
Related Pages
Data Structures
Files
File List
Globals
get_len.c
Go to the documentation of this file.
1
14
#include <string.h>
15
16
#include "manage_local_proto.h"
17
25
int
M__get_description_len
(
int
n)
26
{
27
int
len;
28
int
l
;
29
int
i;
30
31
len = 1;
32
for
(i = 0; i <
list
[n].nelem; i++) {
33
l = strlen(
list
[n].desc[i]);
34
if
(l > len)
35
len =
l
;
36
}
37
return
len;
38
}
l
double l
Definition:
driver/set_window.c:5
list
struct list * list
Definition:
read_list.c:24
M__get_description_len
int M__get_description_len(int n)
Get max length of element's description.
Definition:
get_len.c:25
manage
get_len.c
Generated on Thu Jan 28 2016 22:20:00 for GRASS GIS 7 Programmer's Manual by
1.8.9.1