STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 
11 
12 #ifndef _INO_T_DEFINED
13  #define _INO_T_DEFINED
14 
15  typedef unsigned short _ino_t; // inode number (unused on Windows)
16 
17  #if (defined _CRT_DECLARE_NONSTDC_NAMES && _CRT_DECLARE_NONSTDC_NAMES) || (!defined _CRT_DECLARE_NONSTDC_NAMES && !__STDC__)
18  typedef _ino_t ino_t;
19  #endif
20 #endif
21 
22 
23 
24 #ifndef _DEV_T_DEFINED
25  #define _DEV_T_DEFINED
26 
27  typedef unsigned int _dev_t; // device code
28 
29  #if (defined _CRT_DECLARE_NONSTDC_NAMES && _CRT_DECLARE_NONSTDC_NAMES) || (!defined _CRT_DECLARE_NONSTDC_NAMES && !__STDC__)
30  typedef _dev_t dev_t;
31  #endif
32 #endif
33 
34 
35 
36 #ifndef _OFF_T_DEFINED
37  #define _OFF_T_DEFINED
38 
39  typedef long _off_t; // file offset value
40 
41  #if (defined _CRT_DECLARE_NONSTDC_NAMES && _CRT_DECLARE_NONSTDC_NAMES) || (!defined _CRT_DECLARE_NONSTDC_NAMES && !__STDC__)
42  typedef _off_t off_t;
43  #endif
44 #endif
_dev_t dev_t
Definition: types.h:30
_off_t off_t
Definition: types.h:42
_ino_t ino_t
Definition: types.h:18
unsigned short _ino_t
Definition: types.h:15
unsigned int _dev_t
Definition: types.h:27
long _off_t
Definition: types.h:39