SA_Rename


 

SA_Rename changes the name of a file on disk.

int SA_Rename ( char *OldName, u32 OldNameLen, char *NewName, u32 NewNameLen );

Parameters:
OldName
The name of the file to be renamed.
OldNameLen
The length of the {OldName} parameter.
NewName
The new name of the file.
newNameLen
The length of the {NewName} 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_PositEndOfFile SA_RepositFile