

rewind()                  STDIO Function                 rewind()




Reset file pointer

#include <stdio.h>
iinntt rreewwiinndd(_f_p) FFIILLEE *_f_p;

rewind resets the file pointer to the beginning of stream fp.  It
is a synonym for ffsseeeekk(_f_p, 00LL, 00).

***** Example *****

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

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

fseek(), ftell(), lseek(), STDIO

***** Diagnostics *****

rewind  returns EOF  if an  error  occurs; otherwise,  it returns
zero.




































COHERENT Lexicon                                           Page 1


