ARM VERSION 1.2 Arkusz Danych Strona 158

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 176
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 157
Semihosting
5-20 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
5.4.13 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 This points to a null-terminated string that gives the pathname of the file
to be deleted.
word 2 This is 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.
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.
Przeglądanie stron 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 175 176

Komentarze do niniejszej Instrukcji

Brak uwag