// Copyright 2020 Andrey Semashev // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt // See library home page at http://www.boost.org/libs/filesystem #include "platform_config.hpp" #include #include #include #include int main() { struct statx st; int res = statx(AT_FDCWD, ".", AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT, STATX_BTIME, &st); st.stx_btime.tv_sec = 1; st.stx_btime.tv_nsec = 10; }