c++ equivalent function for df

I need to know the disk free space on my floppy disk, is there a
equivalent c++ function for the shell command ‘df’?

“Ran Zhang” <rzhang@vamcointernational.com> wrote in message
news:cpukr1$aph$1@inn.qnx.com

I need to know the disk free space on my floppy disk, is there a
equivalent c++ function for the shell command ‘df’?

What about disk_space(). It’s not C++ but it should do the job.