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