GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
raster3d/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 raster3d/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 raster3d/error.c.

◆ 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 raster3d/error.c.

◆ Rast3d_fatal_error_noargs()

void Rast3d_fatal_error_noargs ( const char *  msg)

Definition at line 66 of file raster3d/error.c.

References G_fatal_error().

◆ 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 raster3d/error.c.

◆ 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 raster3d/error.c.