Added missing properties.
[cake.git] / workbench / libs / rexxsupport / rename.c
blob038c66d4d1f042fdd85286543f128574336491ab
1 /*
2 Copyright © 1995-2006, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Rename a file
6 Lang: English
7 */
9 #include <proto/exec.h>
10 #include <proto/dos.h>
11 #include <proto/rexxsyslib.h>
12 #include <exec/types.h>
13 #include <exec/memory.h>
14 #include <rexx/storage.h>
15 #include <rexx/errors.h>
17 #include <ctype.h>
18 #include <stdlib.h>
20 #include "rexxsupport_intern.h"
21 #include "rxfunctions.h"
23 LONG rxsupp_rename(struct Library *RexxSupportBase, struct RexxMsg *msg, UBYTE **argstring)
25 BOOL ok;
27 ok = Rename(ARG1(msg), ARG2(msg));
28 *argstring = CreateArgstring(ok ? "1" : "0", 1);
30 return RC_OK;