GRASS Programmer's Manual 6.4.1(2011)
error.c
Go to the documentation of this file.
00001 
00021 #include <string.h>
00022 #include <grass/gis.h>
00023 #include <grass/Vect.h>
00024 
00025 static int fatal_err = GV_FATAL_EXIT;
00026 
00038 int Vect_set_fatal_error(int err)
00039 {
00040     fatal_err = err;
00041     return 0;
00042 }
00043 
00053 int Vect_get_fatal_error(void)
00054 {
00055     return (fatal_err);
00056 }
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines