5.11.9. _sys_seek()

This function puts the file pointer at offset pos from the beginning of the file.

Syntax

int _sys_seek(FILEHANDLE fh, long pos);

Implementation

This function sets the current read or write position to the new location pos relative to the start of the current file fh.

Returns

The result is non-negative if no error occurs or is negative if an error occurs.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0205G
Non-Confidential