Adam Glauser wrote:
I don't see any way to tell if a stream file is a regular file, a link, or some sort of device file. Can anyone recommend a good method to distinguish between the stream file types?
You should be able to look at the mode parameter to determine the file type.
That will tell you if the file is a block special file, character special file, directory, fifo, regular, symlink, socket, or native object.