TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:1901] Finding file sizes in C...



Hello all:

> 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?

Thou seekest stat(2), O most elite hacker.

J!