MCPcopy Create free account
hub / github.com/axboe/liburing / create_sockets

Function create_sockets

test/socket-getsetsock-cmd.c:29–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27};
28
29static struct fds create_sockets(void)
30{
31 struct fds retval;
32 int fd[2];
33
34 t_create_socket_pair(fd, true);
35
36 retval.tx = fd[0];
37 retval.rx = fd[1];
38
39 return retval;
40}
41
42static struct io_uring create_ring(void)
43{

Callers 1

mainFunction · 0.70

Calls 1

t_create_socket_pairFunction · 0.85

Tested by

no test coverage detected