MCPcopy Create free account
hub / github.com/ElementsProject/lightning / test_socket

Function test_socket

cli/test/run-remove-hint.c:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39/* AUTOGENERATED MOCKS END */
40
41int test_socket(int domain UNUSED, int type UNUSED, int protocol UNUSED)
42{
43 /* We give a real fd, as it writes to it */
44 return open("/dev/null", O_WRONLY);
45}
46
47int test_connect(int sockfd UNUSED, const struct sockaddr *addr UNUSED,
48 socklen_t addrlen UNUSED)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected