Debian Codegraph @

unix/ztypes_aix_ppc.go

raw
1 // cgo -godefs types_aix.go | go run mkpost.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
3
4 //go:build ppc && aix
5
6 package unix
7
8 const (
9 SizeofPtr = 0x4
10 SizeofShort = 0x2
11 SizeofInt = 0x4
12 SizeofLong = 0x4
13 SizeofLongLong = 0x8
14 PathMax = 0x3ff
15 )
16
17 type (
18 _C_short int16
19 _C_int int32
20 _C_long int32
21 _C_long_long int64
22 )
23
24 type off64 int64
25 type off int32
26 type Mode_t uint32
27
28 type Timespec struct {
29 Sec int32
30 Nsec int32
31 }
32
33 type Timeval struct {
34 Sec int32
35 Usec int32
36 }
37
38 type Timeval32 struct {
39 Sec int32
40 Usec int32
41 }
42
43 type Timex struct{}
44
45 type Time_t int32
46
47 type Tms struct{}
48
49 type Utimbuf struct {
50 Actime int32
51 Modtime int32
52 }
53
54 type Timezone struct {
55 Minuteswest int32
56 Dsttime int32
57 }
58
59 type Rusage struct {
60 Utime Timeval
61 Stime Timeval
62 Maxrss int32
63 Ixrss int32
64 Idrss int32
65 Isrss int32
66 Minflt int32
67 Majflt int32
68 Nswap int32
69 Inblock int32
70 Oublock int32
71 Msgsnd int32
72 Msgrcv int32
73 Nsignals int32
74 Nvcsw int32
75 Nivcsw int32
76 }
77
78 type Rlimit struct {
79 Cur uint64
80 Max uint64
81 }
82
83 type Pid_t int32
84
85 type _Gid_t uint32
86
87 type dev_t uint32
88
89 type Stat_t struct {
90 Dev uint32
91 Ino uint32
92 Mode uint32
93 Nlink int16
94 Flag uint16
95 Uid uint32
96 Gid uint32
97 Rdev uint32
98 Size int32
99 Atim Timespec
100 Mtim Timespec
101 Ctim Timespec
102 Blksize int32
103 Blocks int32
104 Vfstype int32
105 Vfs uint32
106 Type uint32
107 Gen uint32
108 Reserved [9]uint32
109 }
110
111 type StatxTimestamp struct{}
112
113 type Statx_t struct{}
114
115 type Dirent struct {
116 Offset uint32
117 Ino uint32
118 Reclen uint16
119 Namlen uint16
120 Name [256]uint8
121 }
122
123 type RawSockaddrInet4 struct {
124 Len uint8
125 Family uint8
126 Port uint16
127 Addr [4]byte /* in_addr */
128 Zero [8]uint8
129 }
130
131 type RawSockaddrInet6 struct {
132 Len uint8
133 Family uint8
134 Port uint16
135 Flowinfo uint32
136 Addr [16]byte /* in6_addr */
137 Scope_id uint32
138 }
139
140 type RawSockaddrUnix struct {
141 Len uint8
142 Family uint8
143 Path [1023]uint8
144 }
145
146 type RawSockaddrDatalink struct {
147 Len uint8
148 Family uint8
149 Index uint16
150 Type uint8
151 Nlen uint8
152 Alen uint8
153 Slen uint8
154 Data [120]uint8
155 }
156
157 type RawSockaddr struct {
158 Len uint8
159 Family uint8
160 Data [14]uint8
161 }
162
163 type RawSockaddrAny struct {
164 Addr RawSockaddr
165 Pad [1012]uint8
166 }
167
168 type _Socklen uint32
169
170 type Cmsghdr struct {
171 Len uint32
172 Level int32
173 Type int32
174 }
175
176 type ICMPv6Filter struct {
177 Filt [8]uint32
178 }
179
180 type Iovec struct {
181 Base *byte
182 Len uint32
183 }
184
185 type IPMreq struct {
186 Multiaddr [4]byte /* in_addr */
187 Interface [4]byte /* in_addr */
188 }
189
190 type IPv6Mreq struct {
191 Multiaddr [16]byte /* in6_addr */
192 Interface uint32
193 }
194
195 type IPv6MTUInfo struct {
196 Addr RawSockaddrInet6
197 Mtu uint32
198 }
199
200 type Linger struct {
201 Onoff int32
202 Linger int32
203 }
204
205 type Msghdr struct {
206 Name *byte
207 Namelen uint32
208 Iov *Iovec
209 Iovlen int32
210 Control *byte
211 Controllen uint32
212 Flags int32
213 }
214
215 const (
216 SizeofSockaddrInet4 = 0x10
217 SizeofSockaddrInet6 = 0x1c
218 SizeofSockaddrAny = 0x404
219 SizeofSockaddrUnix = 0x401
220 SizeofSockaddrDatalink = 0x80
221 SizeofLinger = 0x8
222 SizeofIovec = 0x8
223 SizeofIPMreq = 0x8
224 SizeofIPv6Mreq = 0x14
225 SizeofIPv6MTUInfo = 0x20
226 SizeofMsghdr = 0x1c
227 SizeofCmsghdr = 0xc
228 SizeofICMPv6Filter = 0x20
229 )
230
231 const (
232 SizeofIfMsghdr = 0x10
233 )
234
235 type IfMsgHdr struct {
236 Msglen uint16
237 Version uint8
238 Type uint8
239 Addrs int32
240 Flags int32
241 Index uint16
242 Addrlen uint8
243 _ [1]byte
244 }
245
246 type FdSet struct {
247 Bits [2048]int32
248 }
249
250 type Utsname struct {
251 Sysname [32]byte
252 Nodename [32]byte
253 Release [32]byte
254 Version [32]byte
255 Machine [32]byte
256 }
257
258 type Ustat_t struct{}
259
260 type Sigset_t struct {
261 Losigs uint32
262 Hisigs uint32
263 }
264
265 const (
266 AT_FDCWD = -0x2
267 AT_REMOVEDIR = 0x1
268 AT_SYMLINK_NOFOLLOW = 0x1
269 )
270
271 type Termios struct {
272 Iflag uint32
273 Oflag uint32
274 Cflag uint32
275 Lflag uint32
276 Cc [16]uint8
277 }
278
279 type Termio struct {
280 Iflag uint16
281 Oflag uint16
282 Cflag uint16
283 Lflag uint16
284 Line uint8
285 Cc [8]uint8
286 _ [1]byte
287 }
288
289 type Winsize struct {
290 Row uint16
291 Col uint16
292 Xpixel uint16
293 Ypixel uint16
294 }
295
296 type PollFd struct {
297 Fd int32
298 Events uint16
299 Revents uint16
300 }
301
302 const (
303 POLLERR = 0x4000
304 POLLHUP = 0x2000
305 POLLIN = 0x1
306 POLLNVAL = 0x8000
307 POLLOUT = 0x2
308 POLLPRI = 0x4
309 POLLRDBAND = 0x20
310 POLLRDNORM = 0x10
311 POLLWRBAND = 0x40
312 POLLWRNORM = 0x2
313 )
314
315 type Flock_t struct {
316 Type int16
317 Whence int16
318 Sysid uint32
319 Pid int32
320 Vfs int32
321 Start int64
322 Len int64
323 }
324
325 type Fsid_t struct {
326 Val [2]uint32
327 }
328 type Fsid64_t struct {
329 Val [2]uint64
330 }
331
332 type Statfs_t struct {
333 Version int32
334 Type int32
335 Bsize uint32
336 Blocks uint32
337 Bfree uint32
338 Bavail uint32
339 Files uint32
340 Ffree uint32
341 Fsid Fsid_t
342 Vfstype int32
343 Fsize uint32
344 Vfsnumber int32
345 Vfsoff int32
346 Vfslen int32
347 Vfsvers int32
348 Fname [32]uint8
349 Fpack [32]uint8
350 Name_max int32
351 }
352
353 const RNDGETENTCNT = 0x80045200