don't try to read from negative file descriptors