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

Function ngx_nonblocking

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

Source from the content-addressed store, hash-verified

24#if (NGX_HAVE_FIONBIO)
25
26int
27ngx_nonblocking(ngx_socket_t s)
28{
29 int nb;
30
31 nb = 1;
32
33 return ioctl(s, FIONBIO, &nb);
34}
35
36
37int

Callers 7

ngx_spawn_processFunction · 0.70
ngx_udp_connectFunction · 0.50
ngx_resolver.cFile · 0.50
ngx_syslog_init_peerFunction · 0.50
ngx_event_accept.cFile · 0.50

Calls 1

ioctlFunction · 0.50

Tested by

no test coverage detected