Re: Space on device



On Thursday 05 February 2004 21:57, Harring Figueiredo wrote:

Does anyone know the system call that the Windows Explorer uses to find the
space available on a drive ?  (Drive here means C:\ or D:\ etc.).

  GetDiskFreeSpaceEx() probably.


What is the system call the df uses on linux/unixes(?) ?

on Linux there's  statfs(), but I don't think that is very portable (even if 
the call is, the structs might differ).

Cheers
-Tim




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]