Argox PA-20 Programming Guide Manual de usuario Pagina 49

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 130
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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);
Vista de pagina 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 129 130

Comentarios a estos manuales

Sin comentarios