SA_CopyFile


 

SA_CopyFile copies a source file to a destination file on disk.

int SA_CopyFile ( char *SrcName, u32 SrcNameLen, char *DstName, u32 DstNameLen );

Parameters:
SrcName
The name of the file to be copied.
SrcNameLen
The length of the {SrcName} parameter.
DstName
The name of the destination file.
DstNameLen
The length of the {DstName} parameter.

Note the following:

  1. Function return codes are as follows:

  2.  

    Value

    Meaning

    1

    Success.

    -nn

    Error as described in Sunaccess Errors

     

     



Sunaccess Reference SA_Config SA_Erase