ReactOS 0.4.17-dev-672-gf9943c7
types.h
Go to the documentation of this file.
1//
2// sys/types.h
3//
4// Copyright (c) Microsoft Corporation. All rights reserved.
5//
6// Types used for returning file status and time information.
7//
8#pragma once
9
10#include <corecrt.h>
11
12#pragma warning(push)
13#pragma warning(disable: _UCRT_DISABLED_WARNINGS)
15
16#ifndef _INO_T_DEFINED
17 #define _INO_T_DEFINED
18
19 typedef unsigned short _ino_t; // inode number (unused on Windows)
20
21 #if (defined _CRT_DECLARE_NONSTDC_NAMES && _CRT_DECLARE_NONSTDC_NAMES) || (!defined _CRT_DECLARE_NONSTDC_NAMES && !__STDC__)
22 typedef _ino_t ino_t;
23 #endif
24#endif
25
26
27
28#ifndef _DEV_T_DEFINED
29 #define _DEV_T_DEFINED
30
31 typedef unsigned int _dev_t; // device code
32
33 #if (defined _CRT_DECLARE_NONSTDC_NAMES && _CRT_DECLARE_NONSTDC_NAMES) || (!defined _CRT_DECLARE_NONSTDC_NAMES && !__STDC__)
34 typedef _dev_t dev_t;
35 #endif
36#endif
37
38
39
40#ifndef _OFF_T_DEFINED
41 #define _OFF_T_DEFINED
42
43 typedef long _off_t; // file offset value
44
45 #if (defined _CRT_DECLARE_NONSTDC_NAMES && _CRT_DECLARE_NONSTDC_NAMES) || (!defined _CRT_DECLARE_NONSTDC_NAMES && !__STDC__)
46 typedef _off_t off_t;
47 #endif
48#endif
49
51#pragma warning(pop) // _UCRT_DISABLED_WARNINGS
int _off_t
Definition: stat.h:31
unsigned short _ino_t
Definition: stat.h:26
unsigned int _dev_t
Definition: stat.h:20
int _off_t
Definition: types.h:45
unsigned short _ino_t
Definition: types.h:35
unsigned int _dev_t
Definition: types.h:29
unsigned int dev_t
Definition: types.h:27
unsigned short ino_t
Definition: types.h:19
long off_t
Definition: types.h:35
#define _UCRT_DISABLE_CLANG_WARNINGS
Definition: corecrt.h:109
#define _UCRT_RESTORE_CLANG_WARNINGS
Definition: corecrt.h:117