GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HPL_warn(3) HPL Library Functions HPL_warn(3)

HPL_warn - displays an error message.

#include "hpl.h"

void HPL_warn( FILE * STREAM, int LINE, const char * SRNAME, const char * FORM, ... );

HPL_warn displays an error message.

STREAM (local input) FILE *
On entry, STREAM specifies the output stream.
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.
SRNAME (local input) const char *
On entry, SRNAME should be the name of the routine calling this error handler.
FORM (local input) const char *
On entry, FORM specifies the format, i.e., how the subsequent arguments are converted for output.
(local input) ...
On entry, ... is the list of arguments to be printed within the format string.

#include "hpl.h"

int main(int argc, char *argv[])
{ HPL_warn( stderr, __LINE__, __FILE__, "Demo.\n" ); exit(0); return(0);
}

HPL_abort (3), HPL_fprintf (3).
December 2, 2018 HPL 2.3

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.