IO::fseek(3) Seek to a position in a file


Void fseek( File h, Int p )


h A file handle

p The byte position to seek to (if the file contains multi-byte UTF-8 characters, and is being read as a string, be aware of the problems that positioning the pointer part way through a multi-byte character may cause)


Seek to the specified byte of the file. Files opened with the Append file mode will always have writes occur at the end of the file, though this function will affect reading.


Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see


The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.