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 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>FS_CloseFile</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">FS_CloseFile <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/fs.h></CODE><BR> <BR> <CODE>BOOL FS_CloseFile( <A href="../fs_file_type.html">FSFile</a> *p_file );</CODE><br> <br> 20 </dd> 21</dl> 22<h2>Arguments</h2> 23<TABLE border="1" width="100%"> 24 <TBODY> 25 <TR> 26<TD width="13%"><EM><STRONG>p_file</STRONG></EM></TD> 27<TD width="87%">Address of the <A href="../fs_file_type.html"><CODE>FSFile</CODE></A> structure.</TD> 28 </TR> 29 </TBODY> 30</TABLE> 31 32<h2>Return Values</h2> 33<p>If it correctly closes the file, it returns a value of TRUE. Otherwise it returns a value of FALSE.</p> 34 35<H2>Description</H2> 36<P>This function closes an open file. 37</P> 38<br> 39<H2>Note</H2> 40<p><font color="#800000">This function cannot be called from the interrupt handler (IRQ mode).<br> Also note that in some cases processing may not end if interrupts are left prohibited.<br></font></p> 41<BR> 42<h2>See Also</h2> 43<p><CODE><A href="FS_OpenFileEx.html">FS_OpenFileEx</A><BR> <A href="FS_OpenFileFast.html">FS_OpenFileFast</A></CODE></p> 44 45<H2>Revision History</H2> 46<P> 472008/10/02 Updated the See Also list.<br /> 2004/09/24 Added the description in the Caution section regarding the conditions for calling this function.<br /> 2004/04/01 Initial version. 48</P> 49<hr><p>CONFIDENTIAL</p></body> 50</html> 51