github.com/ice-blockchain/go/src@v0.0.0-20240403114104-1564d284e521/syscall/ztypes_aix_ppc64.go (about) 1 // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 // cgo -godefs types_aix.go | go run mkpost.go 3 4 package syscall 5 6 const ( 7 sizeofPtr = 0x8 8 sizeofShort = 0x2 9 sizeofInt = 0x4 10 sizeofLong = 0x8 11 sizeofLongLong = 0x8 12 PathMax = 0x3ff 13 ) 14 15 type ( 16 _C_short int16 17 _C_int int32 18 _C_long int64 19 _C_long_long int64 20 ) 21 22 type Timespec struct { 23 Sec int64 24 Nsec int64 25 } 26 27 type Timeval struct { 28 Sec int64 29 Usec int32 30 Pad_cgo_0 [4]byte 31 } 32 33 type Timeval32 struct { 34 Sec int32 35 Usec int32 36 } 37 38 type Timezone struct { 39 Minuteswest int32 40 Dsttime int32 41 } 42 43 type Rusage struct { 44 Utime Timeval 45 Stime Timeval 46 Maxrss int64 47 Ixrss int64 48 Idrss int64 49 Isrss int64 50 Minflt int64 51 Majflt int64 52 Nswap int64 53 Inblock int64 54 Oublock int64 55 Msgsnd int64 56 Msgrcv int64 57 Nsignals int64 58 Nvcsw int64 59 Nivcsw int64 60 } 61 62 type Rlimit struct { 63 Cur uint64 64 Max uint64 65 } 66 67 type _Pid_t int32 68 69 type _Gid_t uint32 70 71 type Flock_t struct { 72 Type int16 73 Whence int16 74 Sysid uint32 75 Pid int32 76 Vfs int32 77 Start int64 78 Len int64 79 } 80 81 type Stat_t struct { 82 Dev uint64 83 Ino uint64 84 Mode uint32 85 Nlink int16 86 Flag uint16 87 Uid uint32 88 Gid uint32 89 Rdev uint64 90 Ssize int32 91 Atim StTimespec_t 92 Mtim StTimespec_t 93 Ctim StTimespec_t 94 Blksize int64 95 Blocks int64 96 Vfstype int32 97 Vfs uint32 98 Type uint32 99 Gen uint32 100 Reserved [9]uint32 101 Padto_ll uint32 102 Size int64 103 } 104 105 type Statfs_t struct { 106 Version int32 107 Type int32 108 Bsize uint64 109 Blocks uint64 110 Bfree uint64 111 Bavail uint64 112 Files uint64 113 Ffree uint64 114 Fsid Fsid64_t 115 Vfstype int32 116 Fsize uint64 117 Vfsnumber int32 118 Vfsoff int32 119 Vfslen int32 120 Vfsvers int32 121 Fname [32]uint8 122 Fpack [32]uint8 123 Name_max int32 124 Pad_cgo_0 [4]byte 125 } 126 127 type Fsid64_t struct { 128 Val [2]uint64 129 } 130 131 type StTimespec_t struct { 132 Sec int64 133 Nsec int32 134 Pad_cgo_0 [4]byte 135 } 136 137 type Dirent struct { 138 Offset uint64 139 Ino uint64 140 Reclen uint16 141 Namlen uint16 142 Name [256]uint8 143 Pad_cgo_0 [4]byte 144 } 145 146 type RawSockaddrInet4 struct { 147 Len uint8 148 Family uint8 149 Port uint16 150 Addr [4]byte /* in_addr */ 151 Zero [8]uint8 152 } 153 154 type RawSockaddrInet6 struct { 155 Len uint8 156 Family uint8 157 Port uint16 158 Flowinfo uint32 159 Addr [16]byte /* in6_addr */ 160 Scope_id uint32 161 } 162 163 type RawSockaddrUnix struct { 164 Len uint8 165 Family uint8 166 Path [1023]uint8 167 } 168 169 type RawSockaddrDatalink struct { 170 Len uint8 171 Family uint8 172 Index uint16 173 Type uint8 174 Nlen uint8 175 Alen uint8 176 Slen uint8 177 Data [120]uint8 178 } 179 180 type RawSockaddr struct { 181 Len uint8 182 Family uint8 183 Data [14]uint8 184 } 185 186 type RawSockaddrAny struct { 187 Addr RawSockaddr 188 Pad [1012]uint8 189 } 190 191 type _Socklen uint32 192 193 type Cmsghdr struct { 194 Len uint32 195 Level int32 196 Type int32 197 } 198 199 type ICMPv6Filter struct { 200 Filt [8]uint32 201 } 202 203 type Iovec struct { 204 Base *byte 205 Len uint64 206 } 207 208 type IPMreq struct { 209 Multiaddr [4]byte /* in_addr */ 210 Interface [4]byte /* in_addr */ 211 } 212 213 type IPv6Mreq struct { 214 Multiaddr [16]byte /* in6_addr */ 215 Interface uint32 216 } 217 218 type Linger struct { 219 Onoff int32 220 Linger int32 221 } 222 223 type Msghdr struct { 224 Name *byte 225 Namelen uint32 226 Iov *Iovec 227 Iovlen int32 228 Control *byte 229 Controllen uint32 230 Flags int32 231 } 232 233 const ( 234 SizeofSockaddrInet4 = 0x10 235 SizeofSockaddrInet6 = 0x1c 236 SizeofSockaddrAny = 0x404 237 SizeofSockaddrUnix = 0x401 238 SizeofSockaddrDatalink = 0x80 239 SizeofLinger = 0x8 240 SizeofIPMreq = 0x8 241 SizeofIPv6Mreq = 0x14 242 SizeofMsghdr = 0x30 243 SizeofCmsghdr = 0xc 244 SizeofICMPv6Filter = 0x20 245 ) 246 247 const ( 248 PTRACE_TRACEME = 0x0 249 PTRACE_CONT = 0x7 250 PTRACE_KILL = 0x8 251 ) 252 253 const ( 254 SizeofIfMsghdr = 0x10 255 ) 256 257 type IfMsgHdr struct { 258 Msglen uint16 259 Version uint8 260 Type uint8 261 Addrs int32 262 Flags int32 263 Index uint16 264 Addrlen uint8 265 Pad_cgo_0 [1]byte 266 } 267 268 type Utsname struct { 269 Sysname [32]uint8 270 Nodename [32]uint8 271 Release [32]uint8 272 Version [32]uint8 273 Machine [32]uint8 274 } 275 276 const ( 277 _AT_FDCWD = -0x2 278 _AT_REMOVEDIR = 0x1 279 _AT_SYMLINK_NOFOLLOW = 0x1 280 ) 281 282 type Termios struct { 283 Iflag uint32 284 Oflag uint32 285 Cflag uint32 286 Lflag uint32 287 Cc [16]uint8 288 }