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 http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>CNTClose</title> 9</head> 10 11<body> 12 13<h1>CNTClose</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre><code> 17#include <revolution/cnt.h> 18 19s32 CNTClose(CNTFileInfo* cf); 20</code></pre></dd></dl> 21 22<h2>Arguments</h2> 23<p> 24<TABLE border="1" > 25 <tr> 26<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>cf</EM></STRONG></CODE></TD> 27<TD width="520">Pointer to the file structure.</TD> 28 </tr> 29</TABLE> 30</p> 31 32<h2>Return Values</h2> 33<p> 34The current implementation will always return <CODE>CNT_RESULT_OK</CODE> for a NAND application. <CODE>CNT_RESULT_CLOSE_ERR</CODE> is returned for a disc application if an error occurs during a close.<br> 35</p> 36 37 38<H2>Description</H2> 39<p> 40Closes a file.<br> 41</p> 42 43<h2>See Also</h2> 44<p> 45<code><a href="./CNTOpen.html">CNTOpen</a></code> 46</p> 47<H2>Revision History</H2> 48<p> 492006/12/04 Added result code descriptions.<br>2006/08/15 Initial version. 50</p> 51 52 53<hr><p>CONFIDENTIAL</p></body> 54</html> 55