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>CARDDelete</title>
10</head>
11
12<body>
13
14<h1>CARDDelete</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><code>#include &lt;revolution/card.h&gt;</CODE></pre></dd>
21<dd><pre><CODE>s32 CARDDelete(s32 chan, const char* fileName);</CODE></pre></dd>
22</dl><h2>Arguments</h2>
23<TABLE border="1" cellpadding="3" cellspacing="0.1">
24  <tr>
25<TD width="120" bgcolor="#ffffe8"><em><strong><code>chan</code></strong></em></TD>
26<TD width="520">EXI channel number.</TD>
27    </tr>
28  <tr>
29<TD width="120" bgcolor="#ffffe8"><em><strong><code>fileName</code></strong></em></TD>
30<TD width="520">Pointer to file name to delete.</TD>
31    </tr>
32</TABLE>
33<h2>Return Values</h2>
34
35<p>One of the following codes:</p>
36
37<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_IOERROR<br> CARD_RESULT_READY</code></p>
38<H2>Description</H2>
39<P>Synchronously deletes a file. This function does not return until deletion has ended.</P>
40<p>
41This function may put the current thread to sleep. For precautions when calling similar functions, refer to <a href="../os/Interrupt/intro.html">Interrupts and Callback Functions</a>.
42</p>
43<P><STRONG><B>Note:</B></STRONG> This function is provided for debugging purposes. Applications should not use this function.</P>
44
45<h2>See Also</h2>
46<H2>Revision History</H2>
47<P>2007/09/25 Added information on the sleep status of threads.<br>2006/03/01 Initial version.</P>
48<hr><p>CONFIDENTIAL</p></body>
49</html>
50