'Try to read some bytes out of one of the in-memory buffers which may
previously have been populated by C{write}.
@see: L{os.read}'

def read(self, fd, limit):

    try:
        return self._openFiles[fd].read(limit)
    except KeyError:
        raise OSError(EBADF, 'Bad    file    descriptor')
