Blame io/bits/statx-generic.h

Packit Service c1f087
/* Generic statx-related definitions and declarations.
Packit Service c1f087
   Copyright (C) 2018-2019 Free Software Foundation, Inc.
Packit Service c1f087
   This file is part of the GNU C Library.
Packit Service c1f087
Packit Service c1f087
   The GNU C Library is free software; you can redistribute it and/or
Packit Service c1f087
   modify it under the terms of the GNU Lesser General Public
Packit Service c1f087
   License as published by the Free Software Foundation; either
Packit Service c1f087
   version 2.1 of the License, or (at your option) any later version.
Packit Service c1f087
Packit Service c1f087
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service c1f087
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service c1f087
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service c1f087
   Lesser General Public License for more details.
Packit Service c1f087
Packit Service c1f087
   You should have received a copy of the GNU Lesser General Public
Packit Service c1f087
   License along with the GNU C Library; if not, see
Packit Service c1f087
   <http://www.gnu.org/licenses/>.  */
Packit Service c1f087
Packit Service c1f087
/* This interface is based on <linux/stat.h> in Linux.  */
Packit Service c1f087
Packit Service c1f087
#ifndef _SYS_STAT_H
Packit Service c1f087
# error Never include <bits/statx-generic.h> directly, include <sys/stat.h> instead.
Packit Service c1f087
#endif
Packit Service c1f087
Packit Service c1f087
#include <bits/types/struct_statx_timestamp.h>
Packit Service c1f087
#include <bits/types/struct_statx.h>
Packit Service c1f087
Packit Service c1f087
#ifndef STATX_TYPE
Packit Service c1f087
# define STATX_TYPE 0x0001U
Packit Service c1f087
# define STATX_MODE 0x0002U
Packit Service c1f087
# define STATX_NLINK 0x0004U
Packit Service c1f087
# define STATX_UID 0x0008U
Packit Service c1f087
# define STATX_GID 0x0010U
Packit Service c1f087
# define STATX_ATIME 0x0020U
Packit Service c1f087
# define STATX_MTIME 0x0040U
Packit Service c1f087
# define STATX_CTIME 0x0080U
Packit Service c1f087
# define STATX_INO 0x0100U
Packit Service c1f087
# define STATX_SIZE 0x0200U
Packit Service c1f087
# define STATX_BLOCKS 0x0400U
Packit Service c1f087
# define STATX_BASIC_STATS 0x07ffU
Packit Service c1f087
# define STATX_ALL 0x0fffU
Packit Service c1f087
# define STATX_BTIME 0x0800U
Packit Service c1f087
# define STATX__RESERVED 0x80000000U
Packit Service c1f087
Packit Service c1f087
# define STATX_ATTR_COMPRESSED 0x0004
Packit Service c1f087
# define STATX_ATTR_IMMUTABLE 0x0010
Packit Service c1f087
# define STATX_ATTR_APPEND 0x0020
Packit Service c1f087
# define STATX_ATTR_NODUMP 0x0040
Packit Service c1f087
# define STATX_ATTR_ENCRYPTED 0x0800
Packit Service c1f087
# define STATX_ATTR_AUTOMOUNT 0x1000
Packit Service c1f087
#endif /* !STATX_TYPE */
Packit Service c1f087
Packit Service c1f087
__BEGIN_DECLS
Packit Service c1f087
Packit Service c1f087
/* Fill *BUF with information about PATH in DIRFD.  */
Packit Service c1f087
int statx (int __dirfd, const char *__restrict __path, int __flags,
Packit Service c1f087
           unsigned int __mask, struct statx *__restrict __buf)
Packit Service c1f087
  __THROW __nonnull ((2, 5));
Packit Service c1f087
Packit Service c1f087
__END_DECLS