MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ngx_blocking

Function ngx_blocking

app/nginx-1.28.0/src/os/unix/ngx_socket.c:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36
37int
38ngx_blocking(ngx_socket_t s)
39{
40 int nb;
41
42 nb = 0;
43
44 return ioctl(s, FIONBIO, &nb);
45}
46
47#endif
48

Callers 3

ngx_resolver.cFile · 0.50
ngx_event_accept.cFile · 0.50

Calls 1

ioctlFunction · 0.50

Tested by

no test coverage detected