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_GetLength</title> 7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" /> 8</head> 9 10<body> 11 12<h1>FS_GetLength <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1> 13<h2>Syntax</h2> 14<pre><code> 15#include <nitro/fs.h> 16 17u32 FS_GetLength(FSFile *file); 18</code></pre> 19 20<h2>Arguments</h2> 21<table style="width:100%"> 22<tbody> 23<tr> 24<td style="width:13%"><CODE>file</CODE></td> 25<td style="width:87%">The FSFile structure with the file handle.</td> 26</tr> 27</tbody> 28</table> 29 30<h2>Return Values</h2> 31<p>Returns the size of the file.</p> 32 33<h2>Description</h2> 34<p>This gets the size of an open file. This function is the same as the <a href="FS_GetFileLength.html">FS_GetFileLength</a> function. It was created for the sake of compatibility, but the use of <a href="FS_GetFileLength.html">FS_GetFileLength</a> is now recommended.</p> 35 36<h2>See Also</h2> 37<p><code><a href="FS_GetFileLength.html">FS_GetFileLength</a></code></p> 38 39<h2>Revision History</h2> 40<p> 412008/12/04 Deleted the <CODE>const</CODE> argument modification. <br />2007/09/18 Changed text to recommend <CODE>FS_GetFileLength</CODE>.<br />2004/04/01 Initial version.<br /> 42</p> 43<hr><p>CONFIDENTIAL</p></body> 44</html> 45