aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/sys-types.h
blob: 7db46f112c526ccda2620b963347f82043d7f9f5 (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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
enum clnt_stat { ___fake1 };
enum auth_stat { ___fake2 };

struct netconfig;
struct netbuf;
struct address;
struct tm;
struct ldfile;
struct syment;
struct stat;
struct timeval;
struct termios;
struct tms;
struct dma_cb;
struct cred;
struct vnode;
struct vattr;
struct uarg;
struct statfs;
struct statvfs;
struct dirent;
struct itimerval;
struct mnttab;
struct strbuf;
struct vfstab;
struct ldfile;
struct syment;
struct scnhdr;
struct exception;
struct nd_hostservlist;
struct nd_hostserv;
struct utsname;
struct uio;
struct pid;
struct pollfd;
struct nlist;
struct passwd;
struct spwd;
struct flock;
struct seg;
struct sembuf;
struct sigaction;
struct utimbuf;
struct map;
struct filehdr;
struct lineno;
struct nd_addrlist;
struct FTW;
struct buf;
struct ustat;
struct qelem;
struct prpsinfo;
struct user;
struct qelem;
struct execenv;
struct utmpx;

struct direct;
struct tm;
struct stat;
struct rlimit;
struct rusage;
struct sockaddr;
struct sockaddr_in;
struct timeval { int i; };
struct exportent;
struct fstab;
struct hostent;
struct in_addr { int i; };
struct ldfile;
struct mallinfo { int i; };
struct mint;
struct nmtent;
struct netent;
struct pmaplist;
struct protoent;
struct rpcent;
struct servent;
struct authdes_cred;
struct rpc_err;
struct ypall_callback;

union wait;

/* Get size_t and wchar_t.  */
#include <stddef.h>

/* #include "sys/types.h" */
#define ssize_t int

/* The actual types used here are mostly wrong,
   but it is not supposed to matter what types we use here.  */

typedef int dev_t;
typedef int pid_t;
typedef int gid_t;
typedef int off_t;
typedef int mode_t;
typedef int uid_t;

typedef int proc_t;
typedef int time_t;
typedef int addr_t;
typedef int caddr_t;
typedef int clock_t;
typedef int div_t;
typedef int ldiv_t;
typedef int dl_t;
typedef int major_t;
typedef int minor_t;
typedef int emcp_t;
typedef int fpclass_t;
typedef int index_t;
typedef int ecb_t;
typedef int aioop_t;
typedef int evver_t;
typedef int evcntlcmds_t;
typedef int idtype_t;
typedef int id_t;
typedef int procset_t;
typedef int hostid_t;
typedef int evpollcmds_t;
typedef int event_t;
typedef int hrtime_t;
typedef int evqcntlcmds_t;
typedef int sigset_t;
typedef int evsiginfo_t;
typedef int evcontext_t;
typedef int evta_t;
typedef int speed_t;
typedef int rlim_t;
typedef int cred_t;
typedef int file_t;
typedef int vnode_t;
typedef int vfs_t;
typedef int fpos_t;
typedef int exhda_t;
typedef int ucontext_t;
typedef int sess_t;
typedef int hrtcmd_t;
typedef int interval_t;
typedef int key_t;
typedef int daddr_t;
typedef int stack_t;
typedef int sigaction_t;
typedef int siginfo_t;
typedef int mblk_t;
typedef int paddr_t;
typedef int qband_t;
typedef int queue_t;
typedef int rf_resource_t;
typedef int sr_mount_t;
typedef int timer_t;
typedef int fpregset_t;
typedef int prstatus_t;
typedef int vfssw_t;
typedef int eucwidth_t;
typedef int page_t;

typedef int u_int;
typedef int u_short;
typedef int u_long;
typedef int u_char;

typedef int ushort;
typedef int ulong;
typedef int uint;

typedef int __gnuc_va_list;

typedef int archdr;
typedef int AUTH;
typedef int CLIENT;
typedef int DIR;
typedef int ENTRY;
typedef int Elf;
typedef int Elf32_Ehdr;
typedef int Elf32_Phdr;
typedef int Elf32_Shdr;
typedef int Elf_Arhdr;
typedef int Elf_Arsym;
typedef int Elf_Cmd;
typedef int Elf_Data;
typedef int Elf_Scn;
typedef int Elf_Type;
typedef int Elf_Kind;
typedef int FIELD;
typedef int FIELDTYPE;
typedef int PTF_int;
typedef int PTF_void;
typedef int PTF_charP;
typedef int FILE;
typedef int FORM;
typedef int ITEM;
typedef int MENU;
typedef int OPTIONS;
typedef int PANEL;
typedef int FTP_void;
typedef int RPCBLIST;
typedef int SCREEN;
typedef int SVCXPRT;
typedef int TERMINAL;
typedef int WINDOW;
typedef int bool;
typedef int nl_catd;
typedef int nl_item;
typedef int chtype;
typedef int datum;
typedef int fp_rnd;
typedef int spraycumul;
typedef int WORD;
typedef int VISIT;
typedef int ACTION;

typedef int *jmp_buf;
typedef int *sigjmp_buf;
typedef int xdrproc_t;
typedef int CALL;
typedef int bool_t;
typedef int DBM;
typedef int des_block;
typedef int resultproc_t;


#ifdef BSD

#define mode_t int
#define uid_t int
#define gid_t int
#define time_t long
#define pid_t int
#define signal_ret_t int
#define wait_arg_t union wait

#else

#define signal_ret_t void
#define wait_arg_t int

#endif