-
Difference between revisions of "Functions HI-TECH C REWIND"
From HI-TECH C for CP/M Fan WIKI(EN)
(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...") |
(No difference)
|
Latest revision as of 23:12, 31 July 2017
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