1IO.fseek(3kaya) Kaya module reference IO.fseek(3kaya)
2
3
4
6 IO::fseek - Seek to a position in a file
7
9 Void fseek( File h, Int p )
10
12 h A file handle
13
14 p The byte position to seek to (if the file contains multi-byte UTF-8
15 characters, and is being read as a string, be aware of the problems
16 that positioning the pointer part way through a multi-byte character
17 may cause)
18
20 Seek to the specified byte of the file. Files opened with the Append
21 file mode will always have writes occur at the end of the file, though
22 this function will affect reading.
23
25 Kaya standard library by Edwin Brady, Chris Morris and others
26 (kaya@kayalang.org). For further information see http://kayalang.org/
27
29 The Kaya standard library is free software; you can redistribute it
30 and/or modify it under the terms of the GNU Lesser General Public
31 License (version 2.1 or any later version) as published by the Free
32 Software Foundation.
33
35 IO.fpos (3kaya)
36
37
38
39Kaya December 2010 IO.fseek(3kaya)