You copied the Doc URL to your clipboard.


Defined in rt_sys.h, this function puts the file pointer at offset pos from the beginning of the file.


int _sys_seek(FILEHANDLE fh, long pos);


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


The result is:

  • Non-negative if no error occurs.

  • Negative if an error occurs.

See also


ARM C and C++ Libraries and Floating-Point Support User Guide: