home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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: sysread Perl in a Nutshell Next: Reference: system
Reference: sysread Book Index Reference: system

Library Navigation Links

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