diff options
Diffstat (limited to 'man2/statx.2')
-rw-r--r-- | man2/statx.2 | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/man2/statx.2 b/man2/statx.2 index 0d1b4591f..c339c65f3 100644 --- a/man2/statx.2 +++ b/man2/statx.2 @@ -31,20 +31,20 @@ The returned buffer is a structure of the following type: .in +4n .EX struct statx { - __u32 stx_mask; /* Mask of bits indicating - filled fields */ - __u32 stx_blksize; /* Block size for filesystem I/O */ - __u64 stx_attributes; /* Extra file attribute indicators */ - __u32 stx_nlink; /* Number of hard links */ - __u32 stx_uid; /* User ID of owner */ - __u32 stx_gid; /* Group ID of owner */ - __u16 stx_mode; /* File type and mode */ - __u64 stx_ino; /* Inode number */ - __u64 stx_size; /* Total size in bytes */ - __u64 stx_blocks; /* Number of 512B blocks allocated */ - __u64 stx_attributes_mask; - /* Mask to show what\(aqs supported - in stx_attributes */ + uint32_t stx_mask; /* Mask of bits indicating + filled fields */ + uint32_t stx_blksize; /* Block size for filesystem I/O */ + uint64_t stx_attributes; /* Extra file attribute indicators */ + uint32_t stx_nlink; /* Number of hard links */ + uint32_t stx_uid; /* User ID of owner */ + uint32_t stx_gid; /* Group ID of owner */ + uint16_t stx_mode; /* File type and mode */ + uint64_t stx_ino; /* Inode number */ + uint64_t stx_size; /* Total size in bytes */ + uint64_t stx_blocks; /* Number of 512B blocks allocated */ + uint64_t stx_attributes_mask; + /* Mask to show what\(aqs supported + in stx_attributes */ /* The following fields are file timestamps */ struct statx_timestamp stx_atime; /* Last access */ @@ -54,14 +54,14 @@ struct statx { /* If this file represents a device, then the next two fields contain the ID of the device */ - __u32 stx_rdev_major; /* Major ID */ - __u32 stx_rdev_minor; /* Minor ID */ + uint32_t stx_rdev_major; /* Major ID */ + uint32_t stx_rdev_minor; /* Minor ID */ /* The next two fields contain the ID of the device containing the filesystem where the file resides */ - __u32 stx_dev_major; /* Major ID */ - __u32 stx_dev_minor; /* Minor ID */ - __u64 stx_mnt_id; /* Mount ID */ + uint32_t stx_dev_major; /* Major ID */ + uint32_t stx_dev_minor; /* Minor ID */ + uint64_t stx_mnt_id; /* Mount ID */ }; .EE .in @@ -71,8 +71,8 @@ The file timestamps are structures of the following type: .in +4n .EX struct statx_timestamp { - __s64 tv_sec; /* Seconds since the Epoch (UNIX time) */ - __u32 tv_nsec; /* Nanoseconds since tv_sec */ + int64_t tv_sec; /* Seconds since the Epoch (UNIX time) */ + uint32_t tv_nsec; /* Nanoseconds since tv_sec */ }; .EE .in |