GRASS 8 Programmer's Manual  8.5.0dev(2025)-84cbb3b8c3
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 65 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 48 of file raster3d/error.c.

◆ Rast3d_fatal_error_noargs()

void Rast3d_fatal_error_noargs ( const char *  msg)

Definition at line 60 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 32 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 19 of file raster3d/error.c.