Bump version to 19.1.0 (final)
[llvm-project.git] / libc / include / llvm-libc-types / struct_stat.h
blobd8ae9dd6ffdcab0605a52a63e4eba426688cf197
1 //===-- Definition of struct stat -----------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_TYPES_STRUCT_STAT_H
10 #define LLVM_LIBC_TYPES_STRUCT_STAT_H
12 #include "llvm-libc-types/blkcnt_t.h"
13 #include "llvm-libc-types/blksize_t.h"
14 #include "llvm-libc-types/dev_t.h"
15 #include "llvm-libc-types/gid_t.h"
16 #include "llvm-libc-types/ino_t.h"
17 #include "llvm-libc-types/mode_t.h"
18 #include "llvm-libc-types/nlink_t.h"
19 #include "llvm-libc-types/off_t.h"
20 #include "llvm-libc-types/struct_timespec.h"
21 #include "llvm-libc-types/uid_t.h"
23 struct stat {
24 dev_t st_dev;
25 ino_t st_ino;
26 mode_t st_mode;
27 nlink_t st_nlink;
28 uid_t st_uid;
29 gid_t st_gid;
30 dev_t st_rdev;
31 off_t st_size;
32 struct timespec st_atim;
33 struct timespec st_mtim;
34 struct timespec st_ctim;
35 blksize_t st_blksize;
36 blkcnt_t st_blocks;
39 #endif // LLVM_LIBC_TYPES_STRUCT_STAT_H