Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: sysreadChapter 5
Function Reference
Next: Reference: system
 

sysseek

sysseek filehandle, offset, whence

A variant of seek() that sets and gets the file's system read/write position using the lseek(2) system call. It's the only reliable way to seek before a sysread() or syswrite(). Returns the new position, or undef on failure. Arguments are the same as for seek.


Previous: Reference: sysreadPerl in a NutshellNext: Reference: system
Reference: sysreadBook IndexReference: system

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.