SYS_CLOSE (0x02)

Closes a file on the host system. The handle must reference a file that was opened with SYS_OPEN.

Show/hideEntry

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

word 1

contains a handle for an open file.

Show/hideReturn

On exit, R0 contains:

  • 0 if the call is successful

  • -1 if the call is not successful.

Show/hideSee also

Reference
Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0471G
Non-ConfidentialID021412