Scaning disk
Hi,
I would like to scan hard disk in my application written in gcc(c language), is it possible. Are there already any functions or structures with linux gcc to make it work.... Thanx |
Everything is possible with c.
In the filesystem level, or at the byte level? What do you mean by scanning? Looking for some strings in files? Try Code:
grep -r foo / |
HI
I would like to scan how muc free space is there left on hard disk and write it to some int variable in my c code!
Bye |
see
Code:
man 2 statfs |
All times are GMT -5. The time now is 04:08 PM. |