Function

fseek

Synopsis

fseek(object, int, int ...): int

Area
Runtime\PS\Files\fseekareas

Description

fseek moves $stream to $offset, counted from the start of the handle, from where it sits when $whence is SEEK_CUR, or from the end when $whence is SEEK_END; it answers 0 on success and -1 on failure, which is the opposite way round from every other function here and is php's own choice.

Usage

$value = fseek($arguments);
$fn = fseek(...);

See also