[maemo-developers] Getting the siz of the Memory Card

From: Kaj-Michael Lang milang at tal.org
Date: Wed May 19 13:48:16 EEST 2010
On Tue, 2010-05-18 at 15:44 +0530, sandeep kodimela wrote:
> Hi all,
> I'm just trying to find out the size of the memory card,and the amount used and the amount free.Can anyone suggest me with the API for the same.

You should be able to use statvfs or fstatvfs (see "man statvfs").

-- 
Kaj-Michael Lang <milang at tal.org>

More information about the maemo-developers mailing list