blob: 88c93f067da125abe5031a8b6a02577dad07d3fd (
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
49
50
51
52
53
54
55
56
57
58
|
/***
*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]
*
*Revision History:
* 07-28-87 SKS Fixed TIME_T_DEFINED to be _TIME_T_DEFINED
* 08-22-89 GJF Fixed copyright
* 10-30-89 GJF Fixed copyright (again)
* 03-21-90 GJF Added #ifndef _INC_TYPES stuff.
* 01-18-91 GJF ANSI naming.
* 01-20-91 JCR Fixed dev_t definition
* 09-16-92 SKS Fix copyright, clean up backslash
* 02-23-93 SKS Update copyright to 1993
*
****/
#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 */
|