gzrewind

(PHP3 , PHP4 )

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().


Hosted by Tonec Inc.