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_GetSeekCacheSize</title>
7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" />
8</head>
9<body>
10
11<h1>FS_GetSeekCacheSize <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1>
12<h2>Syntax</h2>
13<pre><code>
14#include &lt;nitro/fs.h&gt;
15
16u32 FS_GetSeekCacheSize(const char *path);
17</code></pre>
18
19<h2>Arguments</h2>
20<table style="width:100%">
21<tbody>
22<tr>
23<td style="width:13%"><em><strong>path</strong></em></td>
24<td style="width:87%">Path of the file for which the seek cache buffer is required.</td>
25</tr>
26</tbody>
27</table>
28
29<h2>Return Values</h2>
30<p>Returns the required size of the seek cache buffer if the specified path is a valid file; returns 0 otherwise.</p>
31
32<h2>Description</h2>
33<p>Calculates the sufficient size of the buffer specified with <code><a href="FS_SetSeekCache.html">FS_SetSeekCache()</a></code>.</p>
34
35<h2>See Also</h2>
36<p><code><a href="FS_SetSeekCache.html">FS_SetSeekCache</a></code></p>
37
38<h2>Revision History</h2>
39<p>
402008/06/26 Initial version.
41</p>
42<hr><p>CONFIDENTIAL</p></body>
43</html>
44