Keil Logo

_sys_seek()

4.46 _sys_seek()

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

Syntax

int _sys_seek(FILEHANDLE fh, long pos);

Usage

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:
  • Negative if an error occurs.
  • Non-negative if no error occurs.
Non-ConfidentialPDF file icon PDF versionARM DUI0378H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  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.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.