off by one error, and #define a bunch more things to make it clearer.
interface, with reasonable defaults, to the information provided by stat(2) so that scripts can use the data therein much more easily.