11.7 SYS_CLOSE (0x02)

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


On entry, R1 contains a pointer to a one-word argument block:
word 1
contains a handle for an open file.


On exit, R0 contains:
  • 0 if the call is successful
  • –1 if the call is not successful.
Related reference
11.16 SYS_OPEN (0x01)
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.