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

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 © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0040D
Non-Confidential