1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> 5<meta http-equiv="Content-Style-Type" content="text/css" /> 6<title>FS_FlushFile</title> 7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" /> 8</head> 9<body> 10 11<h1>FS_FlushFile <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1> 12<h2>Syntax</h2> 13<pre><code> 14#include <nitro/fs.h> 15 16<a href="../fs_result_const.html">FSResult</a> FS_FlushFile(<A href="../fs_file_type.html">FSFile</a> *file); 17</code></pre> 18 19<h2>Arguments</h2> 20<table style="width:100%"> 21<tbody> 22<tr> 23<td style="width:13%"><em><strong>file</strong></em></td> 24<td style="width:87%">The <A href="../fs_file_type.html"><CODE>FSFile</CODE></a> structure with the file handle.</td> 25</tr> 26</tbody> 27</table> 28 29<h2>Return Values</h2> 30<p>The result that it returns is of type <code><a href="../fs_result_const.html">FSResult</a></code>.</p> 31 32<h2>Description</h2> 33<p>This function makes a request to reliably write back the file changes to the device.</p> 34 35<h2>See Also</h2> 36<p><code><a href="FS_OpenFileEx.html">FS_OpenFileEx</a> <a href="FS_SetFileLength.html">FS_SetFileLength</a> <a href="FS_WriteFile.html">FS_WriteFile</a></code></p> 37 38<h2>Revision History</h2> 39<p> 402007/09/18 Initial version. 41</p> 42<hr><p>CONFIDENTIAL</p></body> 43</html> 44