5.4.14. SYS_RENAME (0x0F)

Renames a specified file.

Entry

On entry, r1 contains a pointer to a four-word data block:

word 1

This is a pointer to the name of the old file.

word 2

This is the length of the old file name.

word 3

This is a pointer to the new file name.

word 4

This is the length of the new file name.

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.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D
Non-Confidential