blob: 07482acffd736067e5981e8ad61806835f909bdc (
plain)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
$NetBSD: patch-ao,v 1.1.1.1 2001/02/10 18:34:23 tron Exp $
--- ../spunk/statdef.h.orig Thu Nov 7 18:06:52 1996
+++ ../spunk/statdef.h Sat Feb 10 18:38:35 2001
@@ -33,120 +33,6 @@
-/*****************************************************************************/
-/* Defines */
-/*****************************************************************************/
-
-
-
-#ifndef R_OK
-#define R_OK 4
-#endif
-
-#ifndef W_OK
-#define W_OK 2
-#endif
-
-#ifndef X_OK
-#define X_OK 1
-#endif
-
-#ifndef F_OK
-#define F_OK 0
-#endif
-
-#ifndef S_IRUSR
-#define S_IRUSR S_IREAD
-#endif
-
-#ifndef S_IWUSR
-#define S_IWUSR S_IWRITE
-#endif
-
-#ifndef S_IXUSR
-#define S_IXUSR S_IEXEC
-#endif
-
-#ifndef S_IRGRP
-#define S_IRGRP S_IRUSR
-#endif
-
-#ifndef S_IWGRP
-#define S_IWGRP S_IWUSR
-#endif
-
-#ifndef S_IXGRP
-#define S_IXGRP S_IXUSR
-#endif
-
-#ifndef S_IROTH
-#define S_IROTH S_IRUSR
-#endif
-
-#ifndef S_IWOTH
-#define S_IWOTH S_IWUSR
-#endif
-
-#ifndef S_IXOTH
-#define S_IXOTH S_IXUSR
-#endif
-
-#ifndef S_IRWXU
-#define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR)
-#endif
-
-#ifndef S_IRWXG
-#define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP)
-#endif
-
-#ifndef S_IRWXO
-#define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH)
-#endif
-
-#ifndef S_ISUID
-#define S_ISUID 0
-#endif
-
-#ifndef S_ISGID
-#define S_ISGID 0
-#endif
-
-#ifndef S_ISVTX
-#define S_ISVTX 0
-#endif
-
-#ifndef S_ISBLK
-#define S_ISBLK(__mode) 0
-#endif
-
-#ifndef S_ISFIFO
-#define S_ISFIFO(__mode) 0
-#endif
-
-#ifndef S_ISSOCK
-#define S_ISSOCK(__mode) 0
-#endif
-
-#ifndef S_ISLNK
-#define S_ISLNK(__mode) 0
-#endif
-
-#ifndef S_ISCHR
-#define S_ISCHR(__mode) (((__mode) & S_IFMT) == S_IFCHR)
-#endif
-
-#ifndef S_ISDIR
-#define S_ISDIR(__mode) (((__mode) & S_IFMT) == S_IFDIR)
-#endif
-
-#ifndef S_ISREG
-#define S_ISREG(__mode) (((__mode) & S_IFMT) == S_IFREG)
-#endif
-
-
-
-// End of STATDEF.H
-
#endif
|