Dear Friends,

How do I know how much memory is still available in disk using program in C++ with QNX environment (momentics)

Which header files do I need to include and what is the file format and methods should I use to get the available disk space and memory in the system


I think there is probably a better way, but you can always read the./bitmap file, count 0 bits, and multiply by 512. I think df must have a more direct way to do this.


Thanks, fstatvfs() is working fineā€¦