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 .