We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在26-简单的epoll服务器.md中的void setnoblocking(int fd)这个函数里面调用了fcntl(fd, F_SETFL);但是实际上应该为fcntl(fd, F_SETFL, opts);否则不会设置成功的,ops只是一个局部的int变量。
void setnoblocking(int fd)
fcntl(fd, F_SETFL);
fcntl(fd, F_SETFL, opts);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在26-简单的epoll服务器.md中的
void setnoblocking(int fd)
这个函数里面调用了fcntl(fd, F_SETFL);
但是实际上应该为fcntl(fd, F_SETFL, opts);
否则不会设置成功的,ops只是一个局部的int变量。The text was updated successfully, but these errors were encountered: