MCPcopy Create free account
hub / github.com/boostorg/filesystem / invoke_statx

Function invoke_statx

src/operations.cpp:344–348  ·  view source on GitHub ↗

A wrapper for statx libc function. Disable MSAN since at least on clang 10 it doesn't know which fields of struct statx are initialized by the syscall and misdetects errors.

Source from the content-addressed store, hash-verified

342//! A wrapper for statx libc function. Disable MSAN since at least on clang 10 it doesn't
343//! know which fields of struct statx are initialized by the syscall and misdetects errors.
344BOOST_FILESYSTEM_NO_SANITIZE_MEMORY
345BOOST_FORCEINLINE int invoke_statx(int dirfd, const char* path, int flags, unsigned int mask, struct ::statx* stx)
346{
347 return ::statx(dirfd, path, flags, mask, stx);
348}
349
350#elif defined(BOOST_FILESYSTEM_HAS_STATX_SYSCALL)
351

Callers 10

operations.cppFile · 0.85
copy_fileFunction · 0.85
create_directoryFunction · 0.85
equivalent_v3Function · 0.85
equivalent_v4Function · 0.85
file_sizeFunction · 0.85
hard_link_countFunction · 0.85
is_emptyFunction · 0.85
time_t creation_timeMethod · 0.85

Calls 2

atomic_load_relaxedFunction · 0.85
statxClass · 0.50

Tested by

no test coverage detected