i thought lseek(fd,SEEK_END,0) is a portable way.


 > |> |print logfile.size, "\n"
 > 
 > makes sense.  But unfortunately standard C does not provide the
 > portable way to get the size of opened file.
 > 
 > 							matz.
 > 
 > 

-- 
Vardhan Varma <vardhan / cadence.com>  +91-118-4562842 Extn / VMail: 4123
Random Quote: Whenever you stop to think, don't forget to start.