[fpc-devel] Determin file size - how?

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Dec 15 00:10:32 CET 2011

On 15 Dec 2011, at 00:07, Tomas Hajny wrote:

> Actually, it's somewhat 
> surprising for me to see that System.FileSize is implemented using 
> fpStat under Unix platforms rather than using fpLSeek (which should 
> be the equivalent to the API calls used under other platforms if I 
> understand it correctly)

That would fail if you don't have rights to open the file.


More information about the fpc-devel mailing list