lseek#

Reposition the read/write offset of an open fd.

תקציר#

use POSIX qw(lseek SEEK_SET SEEK_CUR SEEK_END);
my $pos = lseek($fd, 0, SEEK_CUR);    # current offset

מה מוחזר#

The new absolute offset on success, -1 on failure (with $! set).

הבדלים מן ה-upstream#

Fully compatible with upstream POSIX.