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