chickadee » posix » block-device?

character-device? FILEprocedure
block-device? FILEprocedure
socket? FILEprocedure

These procedures return #t if FILE given is of the appropriate type. FILE may be a filename, a file-descriptor or a port object. Note that these operations follow symbolic links. If the file does not exist, #f is returned.