ARM VERSION 1.2 Fiche technique Page 158

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 176
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 175 176

Commentaires sur ces manuels

Pas de commentaire