Warning: This file is not a C or C++ file. It does not have highlighting.

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//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIBC_TYPES_STRUCT_STAT_H
10#define LLVM_LIBC_TYPES_STRUCT_STAT_H
11
12#include "blkcnt_t.h"
13#include "blksize_t.h"
14#include "dev_t.h"
15#include "gid_t.h"
16#include "ino_t.h"
17#include "mode_t.h"
18#include "nlink_t.h"
19#include "off_t.h"
20#include "struct_timespec.h"
21#include "uid_t.h"
22
23struct 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;
37};
38
39#endif // LLVM_LIBC_TYPES_STRUCT_STAT_H
40

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of libc/include/llvm-libc-types/struct_stat.h