rreewwiinndd() -- STDIO Function (libc)

Reset file pointer
#iinncclluuddee <ssttddiioo.hh>
vvooiidd rreewwiinndd(_f_p)
FFIILLEE *_f_p;

rreewwiinndd() resets  the file pointer  to the beginning  of stream _f_p.  It is a
synonym for ffsseeeekk(_f_p, 00LL, 00).

_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
ffsseeeekk(), fftteellll(), lliibbcc, llsseeeekk()
ANSI Standard, section 7.9.9.5
POSIX Standard, section 8.1

_N_o_t_e_s
Release  4.2  of COHERENT  has  changed  rreewwiinndd() to  conform  to the  ANSI
Standard.  Prior to release 4.2,  rreewwiinndd() returned EOF if an error occurs,
and otherwise returned  zero.  rreewwiinndd() now returns nothing.  Programs that
depend upon the  return value of rreewwiinndd() should be  modified to conform to
this change.
