File:  [MW Coherent from dump] / coherent / a / usr / man / ALL / fprintf
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



fprintf()                     STDIO                     fprintf()




Print formatted output into file stream

iinntt ffpprriinnttff(_f_p, _f_o_r_m_a_t, [_a_r_g_1, .... _a_r_g_N])
FFIILLEE *_f_p; cchhaarr *_f_o_r_m_a_t;
[_d_a_t_a _t_y_p_e] _a_r_g_1, ... _a_r_g_N;

fprintf formats  and prints a string.   It resembles the function
printf, except that it  writes its output into the stream pointed
to by fp, instead of to the standard output.

fprintf  uses the  format to  specify an  output format  for arg1
through argN.

See printf for a description of fprintf's formatting codes.

***** Example *****

For an example of this routine, see the entry for fscanf.

***** See Also *****

printf(), sprintf(), STDIO

***** Notes *****

Because C does not perform type checking, it is essential that an
argument match  its specification.  For example,  if the argument
is a long and the specification  is for an int, fprintf will peel
off the first word of that long and present it as an int.

At present, ffpprriinnttff does not return a meaningful value.

























COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.