|Non-Confidential||PDF version||ARM DUI0471M|
|Home > What is Semihosting? > SYS_SEEK (0x0A)|
Seeks to a specified position in a file using an offset specified from the start of the file.
The file is assumed to be a byte array and the offset is given in bytes.
R1 contains a pointer to a two-word
a handle for a seekable file object
the absolute byte position to search to.
0 if the request is successful
A negative value if the request is not successful.
SYS_ERRNO to read the value of the host
describing the error.
The effect of seeking outside the current extent of the file object is undefined.