Linux下阻塞和非阻塞读写 阻塞读 非阻塞读 阻塞读 ssize_t ret; vhile (len != 0 && (ret = read(fd, buf, len))!=0) { if (ret = -