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

NAME

6       HPL_warn - displays an error message.
7

SYNOPSIS

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

DESCRIPTION

15       HPL_warn displays an error message.
16

ARGUMENTS

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

EXAMPLE

39       #include "hpl.h"
40
41       int main(int argc, char *argv[])
42       {
43          HPL_warn( stderr, __LINE__, __FILE__,
44                    "Demo.\n" );
45          exit(0); return(0);
46       }
47

SEE ALSO

49       HPL_abort (3), HPL_fprintf (3).
50
51
52
53HPL 2.2                        February 24, 2016                   HPL_warn(3)
Impressum