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>VFGetOffsetU32ByFd</title> 9</head> 10 11<body> 12 13<h1>VFGetOffsetU32ByFd</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre><code> 17#include <revolution/vf.h> 18 19VFErr VFGetOffsetU32ByFd( VFFile* file, u32* offset ); 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 <tr> 30 <TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>offset</EM></STRONG></CODE></TD> 31 <TD width="520">Pointer to a u32-type variable.<br>The seek offset in bytes is returned.</TD> 32 </tr> 33</TABLE> 34</p> 35 36<h2>Return Values</h2> 37<PRE> 38Returns 0 when successful. 39Otherwise, returns <code><a href="./VFErr.html">VFErr</a></code> (non-zero). 40</PRE> 41 42 43<H2>Description</H2> 44<p> 45Gets the seek offset (in bytes) with a 32-bit unsigned integer. <br> 46</p> 47 48<h2>See Also</h2> 49<p> 50<code><a href="./VFGetOffsetByFd.html">VFGetOffsetByFd</a></code> 51</p> 52 53<H2>Revision History</H2> 54<p> 552008/12/16 Initial version.<br> 56</p> 57 58 59<hr><p>CONFIDENTIAL</p></body> 60</html> 61