Monthly Archives: July 2011

iPhone中获取磁盘剩余空间大小


+ (long long) freeDiskSpaceInBytes{ struct statfs buf; long long freespace = -1; if(statfs("/var", &buf) >= 0){ freespace = (long long)(bu[......]

Read more

Posted in iOS | Tagged | Leave a comment