MCPcopy Create free account
hub / github.com/Tencent/libco / sockaddr

Class sockaddr

co_hook_sys_call.cpp:67–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66typedef int (*socket_pfn_t)(int domain, int type, int protocol);
67typedef int (*connect_pfn_t)(int socket, const struct sockaddr *address, socklen_t address_len);
68typedef int (*close_pfn_t)(int fd);
69
70typedef ssize_t (*read_pfn_t)(int fildes, void *buf, size_t nbyte);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected