This is a great thing to dust off, but a couple portability notes:
- Compilers are trying to get rid of K&R syntax even though it warms my grizzled heart to see it.
- st_birthtime and d_type are not POSIX. For example, 10.4 doesn't have birthtime; AIX 6 doesn't have that or d_type. (Both do...