|
Packit Service |
bceff7 |
/* statx-related definitions and declarations. Linux version.
|
|
Packit Service |
bceff7 |
Copyright (C) 2018-2019 Free Software Foundation, Inc.
|
|
Packit Service |
bceff7 |
This file is part of the GNU C Library.
|
|
Packit Service |
bceff7 |
|
|
Packit Service |
bceff7 |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
bceff7 |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
bceff7 |
License as published by the Free Software Foundation; either
|
|
Packit Service |
bceff7 |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
bceff7 |
|
|
Packit Service |
bceff7 |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
bceff7 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
bceff7 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
bceff7 |
Lesser General Public License for more details.
|
|
Packit Service |
bceff7 |
|
|
Packit Service |
bceff7 |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
bceff7 |
License along with the GNU C Library; if not, see
|
|
Packit Service |
bceff7 |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
bceff7 |
|
|
Packit Service |
bceff7 |
/* This interface is based on <linux/stat.h> in Linux. */
|
|
Packit Service |
bceff7 |
|
|
Packit Service |
bceff7 |
#ifndef _SYS_STAT_H
|
|
Packit Service |
bceff7 |
# error Never include <bits/statx.h> directly, include <sys/stat.h> instead.
|
|
Packit Service |
bceff7 |
#endif
|
|
Packit Service |
bceff7 |
|
|
Packit Service |
bceff7 |
/* Use the Linux kernel header if available. */
|
|
Packit Service |
88ab0a |
|
|
Packit Service |
88ab0a |
/* Use "" to work around incorrect macro expansion of the
|
|
Packit Service |
88ab0a |
__has_include argument (GCC PR 80005). */
|
|
Packit Service |
88ab0a |
#if __glibc_has_include ("linux/stat.h")
|
|
Packit Service |
88ab0a |
# include "linux/stat.h"
|
|
Packit Service |
bceff7 |
# ifdef STATX_TYPE
|
|
Packit Service |
bceff7 |
# define __statx_timestamp_defined 1
|
|
Packit Service |
bceff7 |
# define __statx_defined 1
|
|
Packit Service |
bceff7 |
# endif
|
|
Packit Service |
bceff7 |
#endif
|
|
Packit Service |
bceff7 |
|
|
Packit Service |
bceff7 |
#include <bits/statx-generic.h>
|