-

Functions HI-TECH C REWIND

From HI-TECH C for CP/M Fan WIKI(EN)
Revision as of 23:12, 31 July 2017 by Kumokosi (talk | contribs) (Created page with "<strong>REWIND</strong> ==SYNOPSIS== #include <stdio.h> int rewind(FILE * stream) ==DESCRIPTION== This function will attempt to re-position the read/write p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

REWIND

SYNOPSIS

#include  <stdio.h>

int rewind(FILE * stream)


DESCRIPTION

This function will attempt to re-position the read/write pointer of the nominated stream to the beginning of the file. A return value of -1 indicates that the attempt was not successful, perhaps because the stream is associated with a non-random access file such as a character device.

SEE ALSO

fseek, ftell