1 //  Copyright 2020 Andrey Semashev
2 
3 //  Distributed under the Boost Software License, Version 1.0.
4 //  See http://www.boost.org/LICENSE_1_0.txt
5 
6 //  See library home page at http://www.boost.org/libs/filesystem
7 
8 #include "platform_config.hpp"
9 
10 #include <sys/types.h>
11 #include <sys/stat.h>
12 #include <unistd.h>
13 #include <fcntl.h>
14 
main()15 int main()
16 {
17     struct statx st;
18     int res = statx(AT_FDCWD, ".", AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT, STATX_BTIME, &st);
19     st.stx_btime.tv_sec = 1;
20     st.stx_btime.tv_nsec = 10;
21 }
22