grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

error.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <time.h>
#include <stdarg.h>
#include <grass/gis.h>
#include "raster3d_intern.h"
Include dependency graph for error.c:

Go to the source code of this file.

Functions

void Rast3d_skip_error (const char *msg)
 This function ignores the error. More...
 
void Rast3d_print_error (const char *msg)
 Prints error message. More...
 
void Rast3d_fatal_error (const char *msg,...)
 Prints fatal error message. More...
 
void Rast3d_fatal_error_noargs (const char *msg)
 
void Rast3d_error (const char *msg,...)
 

Function Documentation

◆ Rast3d_error()

void Rast3d_error ( const char *  msg,
  ... 
)

Definition at line 71 of file error.c.

References buffer.

Referenced by cache_remove_elt(), cacheFlushFun(), cacheRead_readFun(), cacheWrite_readFun(), cacheWrite_writeFun(), disposeCacheWrite(), initCacheRead(), initCacheWrite(), Rast3d__remove_tile(), Rast3d_alloc_tiles(), Rast3d_alloc_tiles_type(), Rast3d_cache_elt_ptr(), Rast3d_cache_flush(), Rast3d_cache_flush_all(), Rast3d_cache_get_elt(), Rast3d_cache_hash_new(), Rast3d_cache_load(), Rast3d_cache_lock(), Rast3d_cache_new(), Rast3d_cache_put_elt(), Rast3d_cache_remove_all(), Rast3d_cache_remove_elt(), Rast3d_cache_unlock(), Rast3d_cache_unlock_all(), Rast3d_copy_from_xdr(), Rast3d_copy_to_xdr(), Rast3d_dispose_cache(), Rast3d_fill_header(), Rast3d_flush_all_tiles(), Rast3d_flush_index(), Rast3d_flush_tile(), Rast3d_flush_tile_cube(), Rast3d_flush_tiles_in_cube(), Rast3d_fpcompress_read_xdr_nums(), Rast3d_fpcompress_write_xdr_nums(), Rast3d_get_standard3d_params(), Rast3d_get_tile_ptr(), Rast3d_init_cache(), Rast3d_init_fp_xdr(), Rast3d_init_index(), Rast3d_key_get_double(), Rast3d_key_get_int(), Rast3d_key_get_string(), Rast3d_key_get_value(), Rast3d_key_set_value(), Rast3d_lock_tile(), Rast3d_malloc(), Rast3d_mask_close(), Rast3d_mask_open_old(), Rast3d_mask_reopen(), Rast3d_open_cell_new(), Rast3d_open_cell_old(), Rast3d_open_cell_old_no_header(), Rast3d_put_double(), Rast3d_put_float(), Rast3d_range_write(), Rast3d_read_doubles(), Rast3d_read_header(), Rast3d_read_ints(), Rast3d_read_tile(), Rast3d_read_tile_double(), Rast3d_read_tile_float(), Rast3d_read_window(), Rast3d_readIndex(), Rast3d_readTileCompressed(), Rast3d_readTileUncompressed(), Rast3d_readWriteHeader(), Rast3d_readWriteWindow(), Rast3d_realloc(), Rast3d_tile2xdrTile(), Rast3d_tile_load(), Rast3d_unlock_all(), Rast3d_unlock_tile(), Rast3d_write_doubles(), Rast3d_write_header(), Rast3d_write_ints(), Rast3d_write_tile(), Rast3d_write_tile_double(), Rast3d_write_tile_float(), Rast3d_writeTileCompressed(), Rast3d_writeTileUncompressed(), and Rast3d_xdrTile2tile().

◆ Rast3d_fatal_error()

void Rast3d_fatal_error ( const char *  msg,
  ... 
)

Prints fatal error message.

This function prints the fatal error message msg, and terminates the program with an error status.

Parameters
msg
Returns
void

Definition at line 54 of file error.c.

References buffer, and G_fatal_error().

Referenced by cache_queue_dequeue(), cache_queue_enqueue(), compareFilesNocache(), N_read_rast3d_to_array_3d(), N_write_array_3d_to_rast3d(), Rast3d__compute_cache_size(), Rast3d_adjust_region(), Rast3d_adjust_region_res(), Rast3d_autolock_off(), Rast3d_autolock_on(), Rast3d_begin_cycle(), Rast3d_cache_hash_load_name(), Rast3d_cache_hash_remove_name(), Rast3d_cache_size_encode(), Rast3d_change_precision(), Rast3d_change_type(), Rast3d_compare_files(), Rast3d_extern_length(), Rast3d_fill_header(), Rast3d_flush_tile_cube(), Rast3d_flush_tiles_in_cube(), Rast3d_fpcompress_read_xdr_nums(), Rast3d_get_block_nocache(), Rast3d_get_double_region(), Rast3d_get_float_region(), Rast3d_init_defaults(), Rast3d_length(), Rast3d_location2coord2(), Rast3d_lock_tile(), Rast3d_long_decode(), Rast3d_make_aligned_volume_file(), Rast3d_min_unlocked(), Rast3d_open_cell_old(), Rast3d_read_doubles(), Rast3d_read_ints(), Rast3d_read_tile(), Rast3d_retile(), Rast3d_rle_count_only(), Rast3d_rle_decode(), Rast3d_rle_encode(), Rast3d_set_cache_limit(), Rast3d_set_cache_size(), Rast3d_set_compression_mode(), Rast3d_set_file_type(), Rast3d_set_tile_dimension(), Rast3d_unlock_all(), Rast3d_unlock_tile(), Rast3d_write_ascii(), Rast3d_write_doubles(), Rast3d_write_ints(), Rast3d_write_tile(), retileNocache(), test_rle(), verifyVolumeEdges(), and verifyVolumeVertices().

◆ Rast3d_fatal_error_noargs()

void Rast3d_fatal_error_noargs ( const char *  msg)

Definition at line 66 of file error.c.

References G_fatal_error().

Referenced by Rast3d_init_defaults().

◆ Rast3d_print_error()

void Rast3d_print_error ( const char *  msg)

Prints error message.

This function prints the error message msg to stderr and returns.

Parameters
msg
Returns
void

Definition at line 36 of file error.c.

Referenced by Rast3d_init_defaults().

◆ Rast3d_skip_error()

void Rast3d_skip_error ( const char *  msg)

This function ignores the error.

Parameters
msg
Returns
void

Definition at line 21 of file error.c.