blob: b9bbaedc6a1fe37f2694f621f15acbe8e66fc999 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
/***
*sys/types.h - types returned by system level calls for file and time info
*
* Copyright (c) 1985-1993, Microsoft Corporation. All rights reserved.
*
*Purpose:
* This file defines types used in defining values returned by system
* level calls for file status and time information.
* [System V]
*
****/
#ifndef _INC_TYPES
#ifndef _TIME_T_DEFINED
typedef long time_t;
#define _TIME_T_DEFINED
#endif
#ifndef _INO_T_DEFINED
typedef unsigned short _ino_t; /* i-node number (not used on DOS) */
#if !__STDC__
/* Non-ANSI name for compatibility */
#define ino_t _ino_t
#endif
#define _INO_T_DEFINED
#endif
#ifndef _DEV_T_DEFINED
typedef short _dev_t; /* device code */
#if !__STDC__
/* Non-ANSI name for compatibility */
#define dev_t _dev_t
#endif
#define _DEV_T_DEFINED
#endif
#ifndef _OFF_T_DEFINED
typedef long _off_t; /* file offset value */
#if !__STDC__
/* Non-ANSI name for compatibility */
#define off_t _off_t
#endif
#define _OFF_T_DEFINED
#endif
#define _INC_TYPES
#endif /* _INC_TYPES */
|