Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hard disk Space

Status
Not open for further replies.

varthi

Programmer
Joined
Feb 14, 2002
Messages
6
Location
IN
I want to find a free hard space available through C program?
For this any C function avaiable?
 
Hello Varthi,
If you know the answere for unix, can you pleas let me know?

Thanks in advance
 
using /proc in linux, you could probably obtain this.
my only thought would be to fopen the root directory, and maybe use the sizeof operator... i don't know for sure, but, it's my guess.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top