#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
#include <stdarg.h>
#include <sys/types.h>
#include <grass/glocale.h>
#include <grass/gis.h>
Go to the source code of this file.
Defines | |
#define | MSG 0 |
#define | WARN 1 |
#define | ERR 2 |
Functions | |
char * | getenv () |
void | G_message (char *msg,...) |
Print a message to stderr. | |
int | G_fatal_error (char *msg,...) |
int | G_warning (char *msg,...) |
int | G_suppress_warnings (int flag) |
int | G_sleep_on_error (int flag) |
int | G_set_error_routine (int(*error_routine)()) |
int | G_unset_error_routine () |
int | G_info_format (void) |
#define ERR 2 |
#define MSG 0 |
#define WARN 1 |
int G_fatal_error | ( | char * | msg, | |
... | ||||
) |
Definition at line 94 of file error.c.
References ERR.
Referenced by G__make_mapset_element(), G_ask_ellipse_name(), G_ask_proj_name(), G_calloc(), G_check_input_output_name(), G_get_default_window(), G_get_ellipsoid_parameters(), G_get_raster_sample(), G_get_window(), G_getenv(), G_getenv2(), G_gisinit(), G_home(), G_list(), G_location_path(), G_make_location(), G_malloc(), G_mapset(), G_open_raster_new(), G_open_raster_new_uncompressed(), G_put_map_row(), G_put_reclass(), and G_realloc().
int G_info_format | ( | void | ) |
Definition at line 393 of file error.c.
References G_strcasecmp(), and getenv().
Referenced by G_percent2().
void G_message | ( | char * | msg, | |
... | ||||
) |
Print a message to stderr.
The output format depends on enviroment variable GRASS_MESSAGE_FORMAT
Definition at line 82 of file error.c.
References MSG.
Referenced by G_done_msg(), and G_dump().
int G_warning | ( | char * | msg, | |
... | ||||
) |
Definition at line 110 of file error.c.
References WARN.
Referenced by G__check_for_auto_masking(), G__check_fp_type(), G__check_null_bit(), G__open_cell_old(), G__open_null_write(), G__quant_import(), G__random_d_initialize_0(), G__random_f_initialize_0(), G__read_row_ptrs(), G__write_fp_format(), G__write_null_bits(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_ask_datum_name(), G_check_input_output_name(), G_command_history(), G_debug(), G_get_3dview(), G_get_cellhd(), G_get_reclass(), G_is_null_value(), G_make_colors(), G_open_cell_old(), G_parser(), G_put_3dview(), G_put_cell_title(), G_put_cellhd(), G_put_reclass(), G_quantize_fp_map(), G_quantize_fp_map_range(), G_raster_map_is_fp(), G_raster_map_type(), G_read_colors(), G_read_fp_range(), G_read_histogram(), G_read_history(), G_read_range(), G_read_raster_cats(), G_read_vector_cats(), G_round_fp_map(), G_set_fp_type(), G_set_null_value(), G_set_quant_rules(), G_set_window(), G_spawn(), G_spawn_ex(), G_system(), G_truncate_fp_map(), G_write_fp_range(), G_write_history(), G_write_quant(), and G_write_range().
char* getenv | ( | ) |