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>VFFileSync</title>
9</head>
10
11<body>
12
13<h1>VFFileSync</h1>
14
15<h2>C Specification</h2>
16<dl><dd><pre><code>
17#include &lt;revolution/vf.h&gt;
18
19typedef s32	VFErr;
20
21extern VFErr VFFileSync( VFFile* file );
22</code></pre></dd></dl>
23
24<h2>Arguments</h2>
25<p>
26<TABLE border="1" >
27  <tr>
28<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM><STRONG><EM><CODE>file</CODE></EM></STRONG></EM></STRONG></CODE></TD>
29<TD width="520">Pointer to the file descriptor.</TD>
30  </tr>
31</TABLE>
32</p>
33
34<h2>Return Values</h2>
35<PRE>
36Returns 0 for success.
37Otherwise, returns a <code><a href="./VFErr.html">VFErr</a></code> other than 0.
38</PRE>
39
40
41<H2>Description</H2>
42<p>
43Writes back the data in the cache of the specified file to the media.<br>However, data in the cache that has not been updated is not written back.<br>
44</p>
45
46<h2>See Also</h2>
47<p>
48<code><a href="./VFSync.html">VFSync</a></code>
49</p>
50
51<H2>Revision History</H2>
52<p>2006/09/26 Release.</p>
53
54
55<hr><p>CONFIDENTIAL</p></body>
56</html>
57