GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
lib/vector/Vlib/error.c
Go to the documentation of this file.
1
21
#include <string.h>
22
#include <grass/gis.h>
23
#include <grass/Vect.h>
24
25
static
int
fatal_err = GV_FATAL_EXIT;
26
38
int
Vect_set_fatal_error
(
int
err
)
39
{
40
fatal_err =
err
;
41
return
0;
42
}
43
53
int
Vect_get_fatal_error
(
void
)
54
{
55
return
(fatal_err);
56
}
err
const char * err
Definition:
g3dcolor.c:50
Vect_set_fatal_error
int Vect_set_fatal_error(int err)
Set behaviour if fatal error occurs in some functions.
Definition:
lib/vector/Vlib/error.c:38
Vect_get_fatal_error
int Vect_get_fatal_error(void)
Get behaviour for fatal error.
Definition:
lib/vector/Vlib/error.c:53
lib
vector
Vlib
error.c
Generated on Sat Jan 2 2016 01:46:47 for GRASS Programmer's Manual by
1.8.5