Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


rewind()                  STDIO Function                 rewind()




Reset file pointer

#include <stdio.h>
int rewind(fp) FILE *fp;

rewind resets the file pointer to the beginning of stream fp.  It
is a synonym for fseek(fp, 0L, 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


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026