/usr/share/doc/hpcc/www/HPL_abort.html is in hpcc 1.5.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | <HTML>
<HEAD>
<TITLE>HPL_abort HPL 2.0 Library Functions September 10, 2008</TITLE>
</HEAD>
<BODY BGCOLOR="WHITE" TEXT = "#000000" LINK = "#0000ff" VLINK = "#000099"
ALINK = "#ffff00">
<H1>Name</H1>
<B>HPL_abort</B> halts execution.
<H1>Synopsis</H1>
<CODE>#include "hpl.h"</CODE><BR><BR>
<CODE>void</CODE>
<CODE>HPL_abort(</CODE>
<CODE>int</CODE>
<CODE>LINE</CODE>,
<CODE>const char *</CODE>
<CODE>SRNAME</CODE>,
<CODE>const char *</CODE>
<CODE>FORM</CODE>,
<CODE>...</CODE>
<CODE>);</CODE>
<H1>Description</H1>
<B>HPL_abort</B>
displays an error message on stderr and halts execution.
<H1>Arguments</H1>
<PRE>
LINE (local input) int
On entry, LINE specifies the line number in the file where
the error has occured. When LINE is not a positive line
number, it is ignored.
</PRE>
<PRE>
SRNAME (local input) const char *
On entry, SRNAME should be the name of the routine calling
this error handler.
</PRE>
<PRE>
FORM (local input) const char *
On entry, FORM specifies the format, i.e., how the subsequent
arguments are converted for output.
</PRE>
<PRE>
(local input) ...
On entry, ... is the list of arguments to be printed within
the format string.
</PRE>
<H1>Example</H1>
<CODE>#include "hpl.h"</CODE><BR><BR>
<PRE>
int main(int argc, char *argv[])
{
HPL_abort( __LINE__, __FILE__, "Halt.\n" );
exit(0); return(0);
}
</PRE>
<H1>See Also</H1>
<A HREF="HPL_fprintf.html">HPL_fprintf</A>,
<A HREF="HPL_warn.html">HPL_warn</A>.
</BODY>
</HTML>
|