1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9<title>CARDRename</title>
10</head>
11
12<body>
13
14<h1>CARDRename</h1>
15<h2>C Specification</h2>
16
17<dl>
18<dd><pre><code>#include &lt;revolution/card.h&gt;</code></pre>
19  </dd>
20<dd><pre><CODE>s32 CARDRename(s32 chan, const char* oldName, const char* newName);</CODE></pre>
21  </dd>
22</dl>
23
24<h2>Arguments</h2>
25<TABLE border="1" cellpadding="3" cellspacing="0.1">
26  <tr>
27<TD width="120" bgcolor="#ffffe8"><em><strong><code><STRONG><EM><code>chan</code></EM></STRONG></code></strong></em></TD>
28<TD width="520">EXI channel number.</TD>
29    </tr>
30  <tr>
31<TD width="120" bgcolor="#ffffe8"><em><strong><code><STRONG><EM><code>oldName</code></EM></STRONG></code></strong></em></TD>
32<TD width="520">Pointer to the file name to rename.</TD>
33    </tr>
34  <tr>
35<TD width="120" bgcolor="#ffffe8"><em><strong><code><STRONG><EM><code>newName</code></EM></STRONG></code></strong></em></TD>
36<TD width="520">Pointer to the new file name.</TD>
37    </tr>
38</TABLE>
39<h2>Return Values</h2>
40
41<P>One of the following codes:</P>
42<p><code>CARD_RESULT_FATAL_ERROR<br> CARD_RESULT_NOCARD<br> CARD_RESULT_NOFILE<br> CARD_RESULT_NOPERM<br> CARD_RESULT_BUSY<br> CARD_RESULT_EXIST<br> CARD_RESULT_NAMETOOLONG<br> CARD_RESULT_IOERROR<br> CARD_RESULT_READY</code></p>
43<H2>Description</H2>
44<P>Synchronously renames a file.</P>
45<P><STRONG>Note:</STRONG>
46 This function is provided for debugging. Do not use in programs.</P>
47<h2>See Also</h2>
48<H2>Revision History</H2>
49<P>03/01/2006 Initial version.</P>
50</body>
51</html>
52