1HPL_abort(3)                 HPL Library Functions                HPL_abort(3)
2
3
4

NAME

6       HPL_abort - halts execution.
7

SYNOPSIS

9       #include "hpl.h"
10
11       void  HPL_abort(  int LINE, const char * SRNAME, const char * FORM, ...
12       );
13

DESCRIPTION

15       HPL_abort displays an error message on stderr and halts execution.
16

ARGUMENTS

18       LINE    (local input)           int
19               On entry,  LINE  specifies the line  number in the  file  where
20               the   error   has  occured.  When  LINE  is not a positive line
21               number, it is ignored.
22
23       SRNAME  (local input)           const char *
24               On entry, SRNAME  should  be the name of the  routine   calling
25               this error handler.
26
27       FORM    (local input)           const char *
28               On  entry,  FORM specifies the format, i.e., how the subsequent
29               arguments are converted for output.
30
31               (local input)           ...
32               On entry,  ...  is the list of arguments to be  printed  within
33               the format string.
34

EXAMPLE

36       #include "hpl.h"
37
38       int main(int argc, char *argv[])
39       {
40          HPL_abort( __LINE__, __FILE__, "Halt.\n" );
41          exit(0); return(0);
42       }
43

SEE ALSO

45       HPL_fprintf (3), HPL_warn (3).
46
47
48
49HPL 2.2                        February 24, 2016                  HPL_abort(3)
Impressum