Keil Logo Arm Logo

C and C++ Libraries and Floating-Point Support Reference

_sys_seek()

_sys_seek()

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

Show/hideSyntax

int _sys_seek(FILEHANDLE fh, long pos);

Show/hideUsage

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

Show/hideReturns

The result is:

  • non-negative if no error occurs

  • negative if an error occurs.

Show/hideSee also

Reference

Using ARM C and C++ Libraries and Floating-Point Support:

Copyright © 2011-2012 ARM. All rights reserved.ARM DUI 0589B
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.