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>VFGetFileSizeU32(W)</title>
9</head>
10
11<body>
12
13<h1>VFGetFileSizeU32(W)</h1>
14
15<h2>Syntax</h2>
16<dl><dd><pre><code>
17#include &lt;revolution/vf.h&gt;
18
19VFErr VFGetFileSizeU32( const char* path, u32* file_size );
20VFErr VFGetFileSizeU32W( const VFWchar* path, u32* file_size );
21
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>path</EM></STRONG></CODE></TD>
29    <TD width="520">The address that stores path and file name.<br> Either a full or relative path may be specified.</TD>
30  </tr>
31  <tr>
32    <TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>file_size</EM></STRONG></CODE></TD>
33    <TD width="520">Pointer to a u32-type variable.<br>The file size in bytes is returned.</TD>
34  </tr>
35</TABLE>
36</p>
37
38<h2>Return Values</h2>
39<PRE>
40Returns 0 when successful.
41Otherwise, returns <code><a href="./VFErr.html">VFErr</a></code> (non-zero).
42</PRE>
43
44
45<H2>Description</H2>
46<p>
47Gets the file size in bytes in a 32-bit unsigned integer. <br>
48</p>
49
50<h2>See Also</h2>
51<p>
52<code><a href="./VFGetFileSize.html">VFGetFileSize</a></code>, <code><a href="./VFGetFileSizeByFd.html">VFGetFileSizeByFd</a></code>, <code><a href="./VFGetFileSizeU32ByFd.html">VFGetFileSizeU32ByFd</a></code>
53</p>
54
55<H2>Revision History</H2>
56<p>
572008/12/16 Initial version.<br>
58</p>
59
60
61<hr><p>CONFIDENTIAL</p></body>
62</html>
63