equal
deleted
inserted
replaced
1 // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go |
1 // cgo -godefs -objdir=/tmp/sparc64/cgo -- -Wall -Werror -static -I/tmp/sparc64/include linux/types.go | go run mkpost.go |
2 // Code generated by the command above; see README.md. DO NOT EDIT. |
2 // Code generated by the command above; see README.md. DO NOT EDIT. |
3 |
3 |
4 //go:build sparc64 && linux |
4 //go:build sparc64 && linux |
5 // +build sparc64,linux |
5 // +build sparc64,linux |
6 |
6 |
175 Len uint64 |
175 Len uint64 |
176 Level int32 |
176 Level int32 |
177 Type int32 |
177 Type int32 |
178 } |
178 } |
179 |
179 |
|
180 type ifreq struct { |
|
181 Ifrn [16]byte |
|
182 Ifru [24]byte |
|
183 } |
|
184 |
180 const ( |
185 const ( |
181 SizeofSockaddrNFCLLCP = 0x60 |
186 SizeofSockaddrNFCLLCP = 0x60 |
182 SizeofIovec = 0x10 |
187 SizeofIovec = 0x10 |
183 SizeofMsghdr = 0x38 |
188 SizeofMsghdr = 0x38 |
184 SizeofCmsghdr = 0x10 |
189 SizeofCmsghdr = 0x10 |
233 Fd int32 |
238 Fd int32 |
234 Pad int32 |
239 Pad int32 |
235 } |
240 } |
236 |
241 |
237 const ( |
242 const ( |
|
243 OPEN_TREE_CLOEXEC = 0x400000 |
|
244 ) |
|
245 |
|
246 const ( |
238 POLLRDHUP = 0x800 |
247 POLLRDHUP = 0x800 |
239 ) |
248 ) |
240 |
249 |
241 type Sigset_t struct { |
250 type Sigset_t struct { |
242 Val [16]uint64 |
251 Val [16]uint64 |
243 } |
252 } |
244 |
253 |
245 const _C__NSIG = 0x41 |
254 const _C__NSIG = 0x41 |
|
255 |
|
256 type Siginfo struct { |
|
257 Signo int32 |
|
258 Errno int32 |
|
259 Code int32 |
|
260 _ int32 |
|
261 _ [112]byte |
|
262 } |
246 |
263 |
247 type Termios struct { |
264 type Termios struct { |
248 Iflag uint32 |
265 Iflag uint32 |
249 Oflag uint32 |
266 Oflag uint32 |
250 Cflag uint32 |
267 Cflag uint32 |
301 Freepages_count uint64 |
318 Freepages_count uint64 |
302 Freepages_delay_total uint64 |
319 Freepages_delay_total uint64 |
303 Thrashing_count uint64 |
320 Thrashing_count uint64 |
304 Thrashing_delay_total uint64 |
321 Thrashing_delay_total uint64 |
305 Ac_btime64 uint64 |
322 Ac_btime64 uint64 |
|
323 Compact_count uint64 |
|
324 Compact_delay_total uint64 |
|
325 Ac_tgid uint32 |
|
326 Ac_tgetime uint64 |
|
327 Ac_exe_dev uint64 |
|
328 Ac_exe_inode uint64 |
|
329 Wpcopy_count uint64 |
|
330 Wpcopy_delay_total uint64 |
306 } |
331 } |
307 |
332 |
308 type cpuMask uint64 |
333 type cpuMask uint64 |
309 |
334 |
310 const ( |
335 const ( |
630 PPS_GETPARAMS = 0x400870a1 |
655 PPS_GETPARAMS = 0x400870a1 |
631 PPS_SETPARAMS = 0x800870a2 |
656 PPS_SETPARAMS = 0x800870a2 |
632 PPS_GETCAP = 0x400870a3 |
657 PPS_GETCAP = 0x400870a3 |
633 PPS_FETCH = 0xc00870a4 |
658 PPS_FETCH = 0xc00870a4 |
634 ) |
659 ) |
|
660 |
|
661 const ( |
|
662 PIDFD_NONBLOCK = 0x4000 |
|
663 ) |
|
664 |
|
665 type SysvIpcPerm struct { |
|
666 Key int32 |
|
667 Uid uint32 |
|
668 Gid uint32 |
|
669 Cuid uint32 |
|
670 Cgid uint32 |
|
671 Mode uint32 |
|
672 _ uint16 |
|
673 Seq uint16 |
|
674 _ uint64 |
|
675 _ uint64 |
|
676 } |
|
677 type SysvShmDesc struct { |
|
678 Perm SysvIpcPerm |
|
679 Atime int64 |
|
680 Dtime int64 |
|
681 Ctime int64 |
|
682 Segsz uint64 |
|
683 Cpid int32 |
|
684 Lpid int32 |
|
685 Nattch uint64 |
|
686 _ uint64 |
|
687 _ uint64 |
|
688 } |