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

Function __wrap_open

implementation/utility/src/wrappers.cpp:55–57  ·  view source on GitHub ↗

* Overrides open(2) to set O_CLOEXEC by default. */

Source from the content-addressed store, hash-verified

53 * Overrides open(2) to set O_CLOEXEC by default.
54 */
55int __wrap_open(const char* pathname, int flags, mode_t mode) {
56 return __real_open(pathname, flags | O_CLOEXEC, mode);
57}
58
59/*
60 * The real close(2), renamed by GCC.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected