gzrewind

(PHP 3, PHP 4 >= 4.0.0)

gzrewind -- Rewind the position of a gz-file pointer

Description

int gzrewind (int zp)

Sets the file position indicator for zp to the beginning of the file stream.

If an error occurs, returns 0.

The file pointer must be valid, and must point to a file successfully opened by gzopen().

See also gzseek() and gztell().