7.11 SYS_FLEN (0x0C)

Returns the length of a specified file.

Entry

On entry, R1 contains a pointer to a one-word argument block:

word 1

A handle for a previously opened, seekable file object.

Return

On exit, R0 contains:

  • the current length of the file object, if the call is successful

  • –1 if an error occurs.

Non-ConfidentialPDF file icon PDF versionARM DUI0471M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.