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>VFGetFileSizeByFd</title>
9</head>
10
11<body>
12
13<h1>VFGetFileSizeByFd</h1>
14
15<h2>C Specification</h2>
16<dl><dd><pre><code>
17#include &lt;revolution/vf.h&gt;
18
19s32 VFGetFileSizeByFd( VFFile* file );
20</code></pre></dd></dl>
21
22<h2>Arguments</h2>
23<p>
24<TABLE border="1" >
25  <tr>
26<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>file</EM></STRONG></CODE></TD>
27<TD width="520">The file descriptor.</TD>
28  </tr>
29</TABLE>
30</p>
31
32<h2>Return Values</h2>
33<PRE>
34Success: File size (0 or higher)
35Failure: -1 (at this time, VF errors can be verified with  <code><a href="./VFGetLastError.html">VFGetLastError</a></code>)
36</PRE>
37
38
39<H2>Description</H2>
40<p>
41Gets the file size in bytes from the file descriptor.
42</p>
43
44<h2>See Also</h2>
45<p>
46</p>
47
48<H2>Revision History</H2>
49<p>2006/06/09 Release.</p>
50
51
52<hr><p>CONFIDENTIAL</p></body>
53</html>
54