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.