Admin Production ni-theme
Current Publication

rewind

LabWindows/CVI

rewind

void rewind (FILE *stream);

Purpose

Sets the file position indicator for the specified stream to the beginning of the file. It is equivalent to the following, except that the error indicator for the stream is also cleared:
(void) fseek(stream, 0L, SEEK_SET)

Parameters

Input
Name Type Description
stream FILE * Contains a pointer to the stream that has had its file position indicator reset to the beginning of the file.

Return Value

None.

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later