sys_message()

Purpose

Displays a system message

Old name

#define _sys_message sys_message

Syntax

void sys_message(msg_nr, ADDITIONAL)

Parameters

int msg_nr

Number of error map to display

 

ADDITIONAL

Two optional parameters:

  • error number to display
  • extra error parameter

Description

The sys_message() function is used by the library functions to display an error message. The error map displayed corresponds to the map number on the SYSTEM mapset of the SYSTEM database.

You should use your own function to display critical error messages rather than this function.

This function does not abort the program, unlike the function sys_error().

This is one of the functions that you have to rewrite if you do not wish to load the terminal manager.

See also

sys_error(), sys_request()