root / www / HPL_fprintf.html
Historique | Voir | Annoter | Télécharger (1,29 ko)
1 |
<HTML>
|
---|---|
2 |
<HEAD>
|
3 |
<TITLE>HPL_fprintf HPL 2.0 Library Functions September 10, 2008</TITLE> |
4 |
</HEAD>
|
5 |
|
6 |
<BODY BGCOLOR="WHITE" TEXT = "#000000" LINK = "#0000ff" VLINK = "#000099" |
7 |
ALINK = "#ffff00"> |
8 |
|
9 |
<H1>Name</H1> |
10 |
<B>HPL_fprintf</B> fprintf + fflush wrapper. |
11 |
|
12 |
<H1>Synopsis</H1> |
13 |
<CODE>#include "hpl.h"</CODE><BR><BR> |
14 |
<CODE>void</CODE> |
15 |
<CODE>HPL_fprintf(</CODE> |
16 |
<CODE>FILE *</CODE> |
17 |
<CODE>STREAM</CODE>, |
18 |
<CODE>const char *</CODE> |
19 |
<CODE>FORM</CODE>, |
20 |
<CODE>...</CODE> |
21 |
<CODE>);</CODE> |
22 |
|
23 |
<H1>Description</H1> |
24 |
<B>HPL_fprintf</B> |
25 |
is a wrapper around fprintf flushing the output stream. |
26 |
|
27 |
<H1>Arguments</H1> |
28 |
<PRE>
|
29 |
STREAM (local input) FILE * |
30 |
On entry, STREAM specifies the output stream. |
31 |
</PRE>
|
32 |
<PRE>
|
33 |
FORM (local input) const char * |
34 |
On entry, FORM specifies the format, i.e., how the subsequent |
35 |
arguments are converted for output. |
36 |
</PRE>
|
37 |
<PRE>
|
38 |
(local input) ... |
39 |
On entry, ... is the list of arguments to be printed within |
40 |
the format string. |
41 |
</PRE>
|
42 |
|
43 |
<H1>Example</H1> |
44 |
<CODE>#include "hpl.h"</CODE><BR><BR> |
45 |
<PRE>
|
46 |
int main(int argc, char *argv[]) |
47 |
{ |
48 |
HPL_fprintf( stdout, "Hello World.\n" ); |
49 |
exit(0); return(0); |
50 |
} |
51 |
</PRE>
|
52 |
|
53 |
<H1>See Also</H1> |
54 |
<A HREF="HPL_abort.html">HPL_abort</A>, |
55 |
<A HREF="HPL_warn.html">HPL_warn</A>. |
56 |
|
57 |
</BODY>
|
58 |
</HTML>
|