TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Finding file sizes in C...
Is there a good way for finding the size of a file in C (on linux)?
Specifically, a way of finding the size without opening it and seeking
to the end?
Heh.. I decided to roll my own file manager using GTK+ -- right now, it
will give a list of all the files in a directory, but without sizes..
Not too bad a start for just having worked on it for a few hours (well,
IMO.. ;-)
--
--== Mike Hicks ==--
http://umn.edu/~hick0088 mailto:hick0088@tc.umn.edu
ICQ:6883760
Linux User Since 1.2.13 Current Kernel: 2.1.125