hwhw/kindlepdfviewer — pull request #298 by tigran123 (2012-09-19 20:12:34+00:00)
Title: Report the amount of free disk space in file info.

I think it is useful to know the amount of free disk space from within KPV's file manager, especially for deciding whether to remove the current file or not. So I implemented a new function util.df which resides in util.c and internally calls statvfs(2) system call, returning the amount of free disk space in a specified filesystem in bytes.

Also, in this pull request a cleanup from the previous commit of making "Home" the only exit key from filemanager --- I forgot to mention this in the helppage so it still said "Back: exit".