Blame io/bits/types/struct_statx.h

Packit Bot 17d3c2
/* Definition of the generic version of struct statx.
Packit Bot 17d3c2
   Copyright (C) 2018-2019 Free Software Foundation, Inc.
Packit Bot 17d3c2
   This file is part of the GNU C Library.
Packit Bot 17d3c2
Packit Bot 17d3c2
   The GNU C Library is free software; you can redistribute it and/or
Packit Bot 17d3c2
   modify it under the terms of the GNU Lesser General Public
Packit Bot 17d3c2
   License as published by the Free Software Foundation; either
Packit Bot 17d3c2
   version 2.1 of the License, or (at your option) any later version.
Packit Bot 17d3c2
Packit Bot 17d3c2
   The GNU C Library is distributed in the hope that it will be useful,
Packit Bot 17d3c2
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Bot 17d3c2
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Bot 17d3c2
   Lesser General Public License for more details.
Packit Bot 17d3c2
Packit Bot 17d3c2
   You should have received a copy of the GNU Lesser General Public
Packit Bot 17d3c2
   License along with the GNU C Library; if not, see
Packit Bot 17d3c2
   <http://www.gnu.org/licenses/>.  */
Packit Bot 17d3c2
Packit Bot 17d3c2
#ifndef _SYS_STAT_H
Packit Bot 17d3c2
# error Never include <bits/types/struct_statx.h> directly, include <sys/stat.h> instead.
Packit Bot 17d3c2
#endif
Packit Bot 17d3c2
Packit Bot 17d3c2
#ifndef __statx_defined
Packit Bot 17d3c2
#define __statx_defined 1
Packit Bot 17d3c2
Packit Bot 17d3c2
/* Warning: The kernel may add additional fields to this struct in the
Packit Bot 17d3c2
   future.  Only use this struct for calling the statx function, not
Packit Bot 17d3c2
   for storing data.  (Expansion will be controlled by the mask
Packit Bot 17d3c2
   argument of the statx function.)  */
Packit Bot 17d3c2
struct statx
Packit Bot 17d3c2
{
Packit Bot 17d3c2
  __uint32_t stx_mask;
Packit Bot 17d3c2
  __uint32_t stx_blksize;
Packit Bot 17d3c2
  __uint64_t stx_attributes;
Packit Bot 17d3c2
  __uint32_t stx_nlink;
Packit Bot 17d3c2
  __uint32_t stx_uid;
Packit Bot 17d3c2
  __uint32_t stx_gid;
Packit Bot 17d3c2
  __uint16_t stx_mode;
Packit Bot 17d3c2
  __uint16_t __statx_pad1[1];
Packit Bot 17d3c2
  __uint64_t stx_ino;
Packit Bot 17d3c2
  __uint64_t stx_size;
Packit Bot 17d3c2
  __uint64_t stx_blocks;
Packit Bot 17d3c2
  __uint64_t stx_attributes_mask;
Packit Bot 17d3c2
  struct statx_timestamp stx_atime;
Packit Bot 17d3c2
  struct statx_timestamp stx_btime;
Packit Bot 17d3c2
  struct statx_timestamp stx_ctime;
Packit Bot 17d3c2
  struct statx_timestamp stx_mtime;
Packit Bot 17d3c2
  __uint32_t stx_rdev_major;
Packit Bot 17d3c2
  __uint32_t stx_rdev_minor;
Packit Bot 17d3c2
  __uint32_t stx_dev_major;
Packit Bot 17d3c2
  __uint32_t stx_dev_minor;
Packit Bot 17d3c2
  __uint64_t __statx_pad2[14];
Packit Bot 17d3c2
};
Packit Bot 17d3c2
Packit Bot 17d3c2
#endif /* __statx_defined */