23 lines
534 B
C++
23 lines
534 B
C++
// 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 <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <unistd.h>
|
|
#include <fcntl.h>
|
|
|
|
#error disabled
|
|
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;
|
|
}
|