5.4.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

This is 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.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D
Non-Confidential