-APUE-:
fig4.3, print type of file.
tiny_stat, example from stat(2).