<html>
<head>
</head>
<body>
I ened up using:<br>
<br>
struct stat statbuf;<br>
fstat(fileno(_fp), &statbuf);<br>
return statbuf.st_size;<br>
<br>
<br>
Ralf Corsepius wrote:<br>
<blockquote type="cite" cite="mid:1022224134.28754.9.camel@mccallum">
<pre wrap="">Am Fre, 2002-05-24 um 01.55 schrieb Angelo Fraietta:<br></pre>
<blockquote type="cite">
<pre wrap="">How does one determine the file length of a file?<br></pre>
</blockquote>
<pre wrap=""><!----><br>C.f. man 2 stat<br><br>struct stat -> off_t is probably what you are looking for.<br><br>Ralf<br><br><br><br></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">--
Angelo Fraietta
PO Box 859
Hamilton NSW 2303
Home Page
<a class="moz-txt-link-freetext" href="http://www.users.bigpond.com/angelo_f/">http://www.users.bigpond.com/angelo_f/</a>
There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
Bernard of Clairvaux (1090 - 1153)</pre>
<br>
</body>
</html>