Keil™, An ARM® Company

RealView Compiler User's Guide

SYS_REMOVE (0x0E)

A.3.15. SYS_REMOVE (0x0E)

Caution

Deletes a specified file on the host filing system.

Entry

On entry, r1 contains a pointer to a two‑word argument block:

word 1

Points to a null‑terminated string that gives the path name of the file to be deleted.

word 2

The length of the string.

Return

On exit, r0 contains:

  • 0 if the delete is successful

  • a nonzero, host‑specific error code if the delete fails.

Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0375A