]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/filesystem/config/has_statx.cpp
1 // Copyright 2020 Andrey Semashev
3 // Distributed under the Boost Software License, Version 1.0.
4 // See http://www.boost.org/LICENSE_1_0.txt
6 // See library home page at http://www.boost.org/libs/filesystem
8 #include "platform_config.hpp"
10 #include <sys/types.h>
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;