home | help
xt_ff_rewind(3) 	    Library Functions Manual		 xt_ff_rewind(3)

NAME
     xt_ff_rewind() - Reposition file descriptor to beginning of file

LIBRARY
     #include <xtend/fast-file.h>
     -lxtend

SYNOPSIS
     int     xt_ff_rewind(xt_ff_t *stream)

ARGUMENTS
     stream  xt_ff_t pointer referring to the file

DESCRIPTION
     xt_ff_rewind(stream)  repositions the underlying file descriptor to the be-
     ginning of the file.  It is equivalent to xt_ff_seeko(stream, 0, SEEK_SET).

RETURN VALUES
     0 on success, -1 on failure (errno set)

SEE ALSO
     xt_ff_seeko(3)

								 xt_ff_rewind(3)

home | help