GRASS Programmer's Manual  6.5.svn(2014)-r66266
 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 
39 {
40  fatal_err = err;
41  return 0;
42 }
43 
54 {
55  return (fatal_err);
56 }
const char * err
Definition: g3dcolor.c:50
int Vect_set_fatal_error(int err)
Set behaviour if fatal error occurs in some functions.
int Vect_get_fatal_error(void)
Get behaviour for fatal error.