renameRenames a file | |||||
Arguments
Return Value1 is returned if the rename was successful.0 is returned in all other cases. ExplanationThe filename specified by src is renamed to the name specified by dest.The full path from the device name must be specified for both src and dest. Notesrename() is valid only for writeable file systems. |