Keil Logo

SYS_RENAME (0x0F)

11.20 SYS_RENAME (0x0F)

Renames a specified file.

Entry

On entry, R1 contains a pointer to a four-word data block:
word 1
a pointer to the name of the old file
word 2
the length of the old filename
word 3
a pointer to the new filename
word 4
the length of the new filename.
Both strings are null-terminated.

Return

On exit, R0 contains:
  • 0 if the rename is successful
  • a nonzero, host-specific error code if the rename fails.
Non-ConfidentialPDF file icon PDF versionARM DUI0375H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.