filestat is my learning effort for application development in ANSI C