(C) 1998 AROS - The Amiga Research OS


NAME
#include <exec/types.h>
#include <proto/dos.h>

LONG Rename (oldName , newName)

LOCATION
In DOSBase at offset 13

SYNOPSIS
STRPTR oldName
STRPTR newName

FUNCTION
Renames a given file. The old name and the new name must point to the same volume.

INPUTS
oldName
Name of the file to rename
newName
New name of the file to rename

RESULT
boolean - DOSTRUE or DOSFALSE. IoErr() provides additional information on DOSFALSE.

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS
Calls the action FSA_RENAME on the filesystem-handler.

HISTORY
20.10.1998 hkiel
Amiga Research OS
25.12.1997 srittau
New function: MakeLink() (not tested)

Function prepared: Rename()

27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column