MCPcopy Create free account
hub / github.com/COVESA/vsomeip / __wrap_accept

Function __wrap_accept

implementation/utility/src/wrappers.cpp:43–45  ·  view source on GitHub ↗

* Overrides accept(2) to set SOCK_CLOEXEC by default. */

Source from the content-addressed store, hash-verified

41 * Overrides accept(2) to set SOCK_CLOEXEC by default.
42 */
43int __wrap_accept(int sockfd, struct sockaddr* addr, socklen_t* addrlen) {
44 return accept4(sockfd, addr, addrlen, SOCK_CLOEXEC);
45}
46
47/*
48 * The real open(2), renamed by GCC.

Callers

nothing calls this directly

Calls 1

accept4Function · 0.85

Tested by

no test coverage detected