bugfix in sio.h; avoid EFAULT