Argox PA-20 Programming Guide Manuel d'utilisateur Page 49

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 130
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 48
PT-20 Programming Guide
47
to the file (includes the null character). In case of error, writeln
returns an integer value of -1 and an error code is set to the global
variable fErrorCode to indicate the error condition encountered.
Possible error codes and their interpretation are listed below.
fErrorCode
2:File handle is NULL.
7:fd is not a file handle of a previously opened file.
9:no null character found in buffer
10:No more free file space for file extension.
DiskC_format
Purpose
Format disk C.
Syntax
int DiskC_format(void);
Example call
DiskC_format ( );
Includes
#include “SDK.h ”
Description
The DiskC_format function formats disk C.
Returns
0 : Format false
1 : Format OK
fErrorCode
None
DiskD_format
Purpose
Format disk D.
Syntax
int DiskD_format (void);
Example call
DiskD_format ( );
Includes
#include “SDK.h ”
Description
The DiskC_format function formats disk D.
Returns
0 : Format false
1 : Format OK
fErrorCode
None
DiskC_totalsize
Purpose
Checking the total space in disk C.
Syntax
unsigned int DiskC_totalsize (void);
Example call
DiskC_totalsize ( );
Includes
#include “SDK.h ”
Description
The DicskC_totalsize function returns the used space in disk C.
Returns
0xffffffff : Disk C unformatted.
Others : The total space in disk C.(Bytes)
fErrorCode
None
DiskD_totalsize
Purpose
Checking the total space in disk D.
Syntax
unsigned int DiskD_ totalsize (void);
Vue de la page 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 129 130

Commentaires sur ces manuels

Pas de commentaire