ffpprriinnttff() -- STDIO Function (libc)

Print formatted output into file stream
#iinncclluuddee <ssttddiioo.hh>
iinntt ffpprriinnttff(_f_p, _f_o_r_m_a_t, [_a_r_g_1, .... _a_r_g_N])
FFIILLEE *_f_p; cchhaarr *_f_o_r_m_a_t;
[_d_a_t_a _t_y_p_e] _a_r_g_1, ... _a_r_g_N;

ffpprriinnttff() formats and prints a string.  It resembles the function pprriinnttff(),
except that it writes its output  into the stream pointed to by _f_p, instead
of to the standard output.

ffpprriinnttff()  uses the  _f_o_r_m_a_t to  specify an output  format for  _a_r_g_1 through
_a_r_g_N.

See pprriinnttff() for a description of ffpprriinnttff()'s formatting codes.

If it wrote the formatted string correctly, ffpprriinnttff() returns the number of
characters written.  Otherwise, it returns a negative number.

_E_x_a_m_p_l_e
For an example of this routine, see the entry for ffssccaannff().

_S_e_e _A_l_s_o
lliibbcc, pprriinnttff(), sspprriinnttff(), vvffpprriinnttff()
ANSI Standard, section 7.9.6.1
POSIX Standard, section 8.1

_N_o_t_e_s
Because C does not perform type  checking, it is essential that an argument
match its  specification.  For example, if  the argument is a  lloonngg and the
specification is  for a sshhoorrtt,  ffpprriinnttff() will peel  off the first  word of
that lloonngg and present it as an sshhoorrtt.
