GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-6596d49e63
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 UNUSED)
 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 68 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 51 of file raster3d/error.c.

◆ Rast3d_fatal_error_noargs()

void Rast3d_fatal_error_noargs ( const char *  msg)

Definition at line 63 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 34 of file raster3d/error.c.

◆ Rast3d_skip_error()

void Rast3d_skip_error ( const char *msg  UNUSED)

This function ignores the error.

Parameters
msg
Returns
void

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