MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / set_nonblocking

Function set_nonblocking

test/sockets/test_udp_echo.c:38–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36bool pong_sent = false;
37
38void set_nonblocking(int fd) {
39 fcntl(fd, F_SETFL, O_NONBLOCK);
40}
41
42void test_success(void) {
43 printf("UDP ECHO PASS\n");

Callers 1

mainFunction · 0.70

Calls 1

fcntlFunction · 0.50

Tested by

no test coverage detected