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_GetPosition</title> 7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" /> 8</head> 9<body> 10 11<h1 align="left">FS_GetPosition <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 16u32 FS_GetPosition(FSFile *file); 17</code></pre> 18 19<h2>Arguments</h2> 20<table style="width:100%"> 21<tbody> 22<tr> 23<td style="width:13%"><CODE>file</CODE></td> 24<td style="width:87%">The FSFile structure with the file handle.</td> 25</tr> 26</tbody> 27</table> 28 29<h2>Return Values</h2> 30<p>Returns the current seek position in the file.</p> 31 32<h2>Description</h2> 33<P>This acquires the current seek position in an open file. This function is the same as the <a href="FS_GetFilePosition.html">FS_GetFilePosition</a> function. It was created for the sake of compatibility, but the use of <a href="FS_GetFilePosition.html">FS_GetFilePosition</a> is now recommended.</p> 34 35<h2>See Also</h2> 36<p><code><a href="FS_GetFilePosition.html">FS_GetFilePosition</a></code></p> 37 38<h2>Revision History</h2> 39<p> 402008/12/04 Deleted the <CODE>const</CODE> argument modification. <br />2007/09/18 Changed text to recommend <CODE>FS_GetFileLength</CODE>.<br />2004/05/14 Initial version.<br /> 41</p> 42<hr><p>CONFIDENTIAL</p></body> 43</html> 44