Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ set_fd_nonblock
Function
set_fd_nonblock
adapter/micro_thread/echo.cpp:8–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
using namespace NS_MICRO_THREAD;
7
8
int set_fd_nonblock(int fd)
9
{
10
int nonblock = 1;
11
return ioctl(fd, FIONBIO, &nonblock);
12
}
13
14
int create_tcp_sock()
15
{
Callers
2
create_tcp_sock
Function · 0.85
echo_server
Function · 0.85
Calls
1
ioctl
Function · 0.70
Tested by
no test coverage detected