|
|
1.1 root 1:
2:
3: fprintf() STDIO fprintf()
4:
5:
6:
7:
8: Print formatted output into file stream
9:
10: iinntt ffpprriinnttff(_f_p, _f_o_r_m_a_t, [_a_r_g_1, .... _a_r_g_N])
11: FFIILLEE *_f_p; cchhaarr *_f_o_r_m_a_t;
12: [_d_a_t_a _t_y_p_e] _a_r_g_1, ... _a_r_g_N;
13:
14: fprintf formats and prints a string. It resembles the function
15: printf, except that it writes its output into the stream pointed
16: to by fp, instead of to the standard output.
17:
18: fprintf uses the format to specify an output format for arg1
19: through argN.
20:
21: See printf for a description of fprintf's formatting codes.
22:
23: ***** Example *****
24:
25: For an example of this routine, see the entry for fscanf.
26:
27: ***** See Also *****
28:
29: printf(), sprintf(), STDIO
30:
31: ***** Notes *****
32:
33: Because C does not perform type checking, it is essential that an
34: argument match its specification. For example, if the argument
35: is a long and the specification is for an int, fprintf will peel
36: off the first word of that long and present it as an int.
37:
38: At present, ffpprriinnttff does not return a meaningful value.
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: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.