Actual source code: error.h
1: /*$Id: error.h,v 1.2 2001/04/10 19:37:38 bsmith Exp $*/
2: /**********************************error.h*************************************
3: SPARSE GATHER-SCATTER PACKAGE: bss_malloc bss_malloc ivec error comm gs queue
5: Author: Henry M. Tufo III
7: e-mail: hmt@cs.brown.edu
9: snail-mail:
10: Division of Applied Mathematics
11: Brown University
12: Providence, RI 02912
14: Last Modification:
15: 6.21.97
16: **********************************error.h*************************************/
18: /**********************************error.h*************************************
19: File Description:
20: -----------------
22: **********************************error.h*************************************/
23: #ifndef _error_h
24: #define _error_h
28: /**********************************error.h*************************************
29: Function: error_msg_fatal()
31: Input : formatted string and arguments.
32: Output: conversion printed to stdout.
33: Return: na.
34: Description: prints error message and terminates program.
35: Usage: error_msg_fatal("this is my %d'st test",test_num)
36: **********************************error.h*************************************/
37: extern void error_msg_fatal(const char msg[], ...);
41: /**********************************error.h*************************************
42: Function: error_msg_warning()
44: Input : formatted string and arguments.
45: Output: conversion printed to stdout.
46: Return: na.
47: Description: prints error message.
48: Usage: error_msg_warning("this is my %d'st test",test_num)
49: **********************************error.h*************************************/
50: extern void error_msg_warning(const char msg[], ...);
52: #endif