test: Fix failing tests
This commit is contained in:
		| @ -69,14 +69,14 @@ func TestAlertProvider_buildRequestBody(t *testing.T) { | |||||||
| 			Provider:     AlertProvider{URL: "https://ntfy.sh", Topic: "example", Priority: 1}, | 			Provider:     AlertProvider{URL: "https://ntfy.sh", Topic: "example", Priority: 1}, | ||||||
| 			Alert:        alert.Alert{Description: &firstDescription, SuccessThreshold: 5, FailureThreshold: 3}, | 			Alert:        alert.Alert{Description: &firstDescription, SuccessThreshold: 5, FailureThreshold: 3}, | ||||||
| 			Resolved:     false, | 			Resolved:     false, | ||||||
| 			ExpectedBody: "{\"topic\":\"example\",\"title\":\"Gatus\",\"message\":\"endpoint-name - description-1\",\"tags\":[\"x\"],\"priority\":1}", | 			ExpectedBody: `{"topic":"example","title":"Gatus: endpoint-name","message":"An alert has been triggered due to having failed 3 time(s) in a row with the following description: description-1","tags":["x"],"priority":1}`, | ||||||
| 		}, | 		}, | ||||||
| 		{ | 		{ | ||||||
| 			Name:         "resolved", | 			Name:         "resolved", | ||||||
| 			Provider:     AlertProvider{URL: "https://ntfy.sh", Topic: "example", Priority: 2}, | 			Provider:     AlertProvider{URL: "https://ntfy.sh", Topic: "example", Priority: 2}, | ||||||
| 			Alert:        alert.Alert{Description: &secondDescription, SuccessThreshold: 5, FailureThreshold: 3}, | 			Alert:        alert.Alert{Description: &secondDescription, SuccessThreshold: 5, FailureThreshold: 3}, | ||||||
| 			Resolved:     true, | 			Resolved:     true, | ||||||
| 			ExpectedBody: "{\"topic\":\"example\",\"title\":\"Gatus\",\"message\":\"endpoint-name - description-2\",\"tags\":[\"white_check_mark\"],\"priority\":2}", | 			ExpectedBody: `{"topic":"example","title":"Gatus: endpoint-name","message":"An alert has been resolved after passing successfully 5 time(s) in a row with the following description: description-2","tags":["white_check_mark"],"priority":2}`, | ||||||
| 		}, | 		}, | ||||||
| 	} | 	} | ||||||
| 	for _, scenario := range scenarios { | 	for _, scenario := range scenarios { | ||||||
|  | |||||||
							
								
								
									
										29
									
								
								vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,29 @@ | |||||||
|  | // Copyright 2021 The Go Authors. All rights reserved. | ||||||
|  | // Use of this source code is governed by a BSD-style | ||||||
|  | // license that can be found in the LICENSE file. | ||||||
|  |  | ||||||
|  | //go:build (darwin || freebsd || netbsd || openbsd) && gc | ||||||
|  | // +build darwin freebsd netbsd openbsd | ||||||
|  | // +build gc | ||||||
|  |  | ||||||
|  | #include "textflag.h" | ||||||
|  |  | ||||||
|  | // System call support for RISCV64 BSD | ||||||
|  |  | ||||||
|  | // Just jump to package syscall's implementation for all these functions. | ||||||
|  | // The runtime may know about them. | ||||||
|  |  | ||||||
|  | TEXT	·Syscall(SB),NOSPLIT,$0-56 | ||||||
|  | 	JMP	syscall·Syscall(SB) | ||||||
|  |  | ||||||
|  | TEXT	·Syscall6(SB),NOSPLIT,$0-80 | ||||||
|  | 	JMP	syscall·Syscall6(SB) | ||||||
|  |  | ||||||
|  | TEXT	·Syscall9(SB),NOSPLIT,$0-104 | ||||||
|  | 	JMP	syscall·Syscall9(SB) | ||||||
|  |  | ||||||
|  | TEXT	·RawSyscall(SB),NOSPLIT,$0-56 | ||||||
|  | 	JMP	syscall·RawSyscall(SB) | ||||||
|  |  | ||||||
|  | TEXT	·RawSyscall6(SB),NOSPLIT,$0-80 | ||||||
|  | 	JMP	syscall·RawSyscall6(SB) | ||||||
							
								
								
									
										63
									
								
								vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,63 @@ | |||||||
|  | // Copyright 2022 The Go Authors. All rights reserved. | ||||||
|  | // Use of this source code is governed by a BSD-style | ||||||
|  | // license that can be found in the LICENSE file. | ||||||
|  |  | ||||||
|  | //go:build riscv64 && freebsd | ||||||
|  | // +build riscv64,freebsd | ||||||
|  |  | ||||||
|  | package unix | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"syscall" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | func setTimespec(sec, nsec int64) Timespec { | ||||||
|  | 	return Timespec{Sec: sec, Nsec: nsec} | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func setTimeval(sec, usec int64) Timeval { | ||||||
|  | 	return Timeval{Sec: sec, Usec: usec} | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func SetKevent(k *Kevent_t, fd, mode, flags int) { | ||||||
|  | 	k.Ident = uint64(fd) | ||||||
|  | 	k.Filter = int16(mode) | ||||||
|  | 	k.Flags = uint16(flags) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func (iov *Iovec) SetLen(length int) { | ||||||
|  | 	iov.Len = uint64(length) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func (msghdr *Msghdr) SetControllen(length int) { | ||||||
|  | 	msghdr.Controllen = uint32(length) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func (msghdr *Msghdr) SetIovlen(length int) { | ||||||
|  | 	msghdr.Iovlen = int32(length) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func (cmsg *Cmsghdr) SetLen(length int) { | ||||||
|  | 	cmsg.Len = uint32(length) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { | ||||||
|  | 	var writtenOut uint64 = 0 | ||||||
|  | 	_, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0) | ||||||
|  |  | ||||||
|  | 	written = int(writtenOut) | ||||||
|  |  | ||||||
|  | 	if e1 != 0 { | ||||||
|  | 		err = e1 | ||||||
|  | 	} | ||||||
|  | 	return | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) | ||||||
|  |  | ||||||
|  | func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { | ||||||
|  | 	ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint64(countin)} | ||||||
|  | 	err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) | ||||||
|  | 	return int(ioDesc.Len), err | ||||||
|  | } | ||||||
							
								
								
									
										27
									
								
								vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,27 @@ | |||||||
|  | // Copyright 2022 The Go Authors. All rights reserved. | ||||||
|  | // Use of this source code is governed by a BSD-style | ||||||
|  | // license that can be found in the LICENSE file. | ||||||
|  |  | ||||||
|  | //go:build (openbsd && 386) || (openbsd && amd64) || (openbsd && arm64) | ||||||
|  | // +build openbsd,386 openbsd,amd64 openbsd,arm64 | ||||||
|  |  | ||||||
|  | package unix | ||||||
|  |  | ||||||
|  | import _ "unsafe" | ||||||
|  |  | ||||||
|  | // Implemented in the runtime package (runtime/sys_openbsd3.go) | ||||||
|  | func syscall_syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) | ||||||
|  | func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) | ||||||
|  | func syscall_syscall10(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10 uintptr) (r1, r2 uintptr, err Errno) | ||||||
|  | func syscall_rawSyscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) | ||||||
|  | func syscall_rawSyscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) | ||||||
|  |  | ||||||
|  | //go:linkname syscall_syscall syscall.syscall | ||||||
|  | //go:linkname syscall_syscall6 syscall.syscall6 | ||||||
|  | //go:linkname syscall_syscall10 syscall.syscall10 | ||||||
|  | //go:linkname syscall_rawSyscall syscall.rawSyscall | ||||||
|  | //go:linkname syscall_rawSyscall6 syscall.rawSyscall6 | ||||||
|  |  | ||||||
|  | func syscall_syscall9(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno) { | ||||||
|  | 	return syscall_syscall10(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, 0) | ||||||
|  | } | ||||||
							
								
								
									
										2148
									
								
								vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2148
									
								
								vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1889
									
								
								vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1889
									
								
								vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										796
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										796
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,796 @@ | |||||||
|  | // go run mkasm.go openbsd 386 | ||||||
|  | // Code generated by the command above; DO NOT EDIT. | ||||||
|  |  | ||||||
|  | #include "textflag.h" | ||||||
|  |  | ||||||
|  | TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getgroups(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getgroups_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getgroups_trampoline_addr(SB)/4, $libc_getgroups_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setgroups(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setgroups_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setgroups_trampoline_addr(SB)/4, $libc_setgroups_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_wait4(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_wait4_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_wait4_trampoline_addr(SB)/4, $libc_wait4_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_accept(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_accept_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_accept_trampoline_addr(SB)/4, $libc_accept_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_bind(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_bind_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_bind_trampoline_addr(SB)/4, $libc_bind_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_connect(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_connect_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_connect_trampoline_addr(SB)/4, $libc_connect_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_socket(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_socket_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_socket_trampoline_addr(SB)/4, $libc_socket_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getsockopt(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getsockopt_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getsockopt_trampoline_addr(SB)/4, $libc_getsockopt_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setsockopt(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setsockopt_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setsockopt_trampoline_addr(SB)/4, $libc_setsockopt_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpeername(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpeername_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getpeername_trampoline_addr(SB)/4, $libc_getpeername_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getsockname(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getsockname_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getsockname_trampoline_addr(SB)/4, $libc_getsockname_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_shutdown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_shutdown_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_shutdown_trampoline_addr(SB)/4, $libc_shutdown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_socketpair(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_socketpair_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_socketpair_trampoline_addr(SB)/4, $libc_socketpair_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_recvfrom(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_recvfrom_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_recvfrom_trampoline_addr(SB)/4, $libc_recvfrom_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sendto(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sendto_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_sendto_trampoline_addr(SB)/4, $libc_sendto_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_recvmsg(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_recvmsg_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_recvmsg_trampoline_addr(SB)/4, $libc_recvmsg_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sendmsg(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sendmsg_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_sendmsg_trampoline_addr(SB)/4, $libc_sendmsg_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_kevent(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_kevent_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_kevent_trampoline_addr(SB)/4, $libc_kevent_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_utimes(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_utimes_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_utimes_trampoline_addr(SB)/4, $libc_utimes_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_futimes(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_futimes_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_futimes_trampoline_addr(SB)/4, $libc_futimes_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_poll(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_poll_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_poll_trampoline_addr(SB)/4, $libc_poll_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_madvise(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_madvise_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_madvise_trampoline_addr(SB)/4, $libc_madvise_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mlock(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mlock_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_mlock_trampoline_addr(SB)/4, $libc_mlock_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mlockall(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mlockall_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_mlockall_trampoline_addr(SB)/4, $libc_mlockall_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mprotect(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mprotect_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_mprotect_trampoline_addr(SB)/4, $libc_mprotect_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_msync(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_msync_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_msync_trampoline_addr(SB)/4, $libc_msync_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_munlock(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_munlock_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_munlock_trampoline_addr(SB)/4, $libc_munlock_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_munlockall(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_munlockall_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_munlockall_trampoline_addr(SB)/4, $libc_munlockall_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pipe2(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pipe2_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_pipe2_trampoline_addr(SB)/4, $libc_pipe2_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getdents(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getdents_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getdents_trampoline_addr(SB)/4, $libc_getdents_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getcwd(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getcwd_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getcwd_trampoline_addr(SB)/4, $libc_getcwd_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_ioctl(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_ioctl_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_ioctl_trampoline_addr(SB)/4, $libc_ioctl_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sysctl(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sysctl_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_sysctl_trampoline_addr(SB)/4, $libc_sysctl_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_ppoll(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_ppoll_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_ppoll_trampoline_addr(SB)/4, $libc_ppoll_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_access(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_access_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_access_trampoline_addr(SB)/4, $libc_access_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_adjtime(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_adjtime_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_adjtime_trampoline_addr(SB)/4, $libc_adjtime_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chdir_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_chdir_trampoline_addr(SB)/4, $libc_chdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chflags(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chflags_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_chflags_trampoline_addr(SB)/4, $libc_chflags_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chmod(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chmod_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_chmod_trampoline_addr(SB)/4, $libc_chmod_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chown_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_chown_trampoline_addr(SB)/4, $libc_chown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chroot(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chroot_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_chroot_trampoline_addr(SB)/4, $libc_chroot_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_close(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_close_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_close_trampoline_addr(SB)/4, $libc_close_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_dup(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_dup_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_dup_trampoline_addr(SB)/4, $libc_dup_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_dup2(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_dup2_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_dup2_trampoline_addr(SB)/4, $libc_dup2_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_dup3(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_dup3_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_dup3_trampoline_addr(SB)/4, $libc_dup3_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_exit(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_exit_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_exit_trampoline_addr(SB)/4, $libc_exit_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_faccessat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_faccessat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_faccessat_trampoline_addr(SB)/4, $libc_faccessat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchdir_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_fchdir_trampoline_addr(SB)/4, $libc_fchdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchflags(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchflags_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_fchflags_trampoline_addr(SB)/4, $libc_fchflags_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchmod(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchmod_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_fchmod_trampoline_addr(SB)/4, $libc_fchmod_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchmodat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchmodat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_fchmodat_trampoline_addr(SB)/4, $libc_fchmodat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchown_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_fchown_trampoline_addr(SB)/4, $libc_fchown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchownat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchownat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_fchownat_trampoline_addr(SB)/4, $libc_fchownat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_flock(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_flock_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_flock_trampoline_addr(SB)/4, $libc_flock_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fpathconf(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fpathconf_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_fpathconf_trampoline_addr(SB)/4, $libc_fpathconf_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fstat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fstat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_fstat_trampoline_addr(SB)/4, $libc_fstat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fstatat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fstatat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_fstatat_trampoline_addr(SB)/4, $libc_fstatat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fstatfs(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fstatfs_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_fstatfs_trampoline_addr(SB)/4, $libc_fstatfs_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fsync(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fsync_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_fsync_trampoline_addr(SB)/4, $libc_fsync_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_ftruncate(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_ftruncate_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_ftruncate_trampoline_addr(SB)/4, $libc_ftruncate_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getegid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getegid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getegid_trampoline_addr(SB)/4, $libc_getegid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_geteuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_geteuid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_geteuid_trampoline_addr(SB)/4, $libc_geteuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getgid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getgid_trampoline_addr(SB)/4, $libc_getgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpgid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getpgid_trampoline_addr(SB)/4, $libc_getpgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpgrp(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpgrp_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getpgrp_trampoline_addr(SB)/4, $libc_getpgrp_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getpid_trampoline_addr(SB)/4, $libc_getpid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getppid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getppid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getppid_trampoline_addr(SB)/4, $libc_getppid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpriority(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpriority_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getpriority_trampoline_addr(SB)/4, $libc_getpriority_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getrlimit(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getrlimit_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getrlimit_trampoline_addr(SB)/4, $libc_getrlimit_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getrtable(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getrtable_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getrtable_trampoline_addr(SB)/4, $libc_getrtable_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getrusage(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getrusage_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getrusage_trampoline_addr(SB)/4, $libc_getrusage_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getsid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getsid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getsid_trampoline_addr(SB)/4, $libc_getsid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_gettimeofday(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_gettimeofday_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_gettimeofday_trampoline_addr(SB)/4, $libc_gettimeofday_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getuid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_getuid_trampoline_addr(SB)/4, $libc_getuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_issetugid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_issetugid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_issetugid_trampoline_addr(SB)/4, $libc_issetugid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_kill(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_kill_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_kill_trampoline_addr(SB)/4, $libc_kill_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_kqueue(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_kqueue_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_kqueue_trampoline_addr(SB)/4, $libc_kqueue_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_lchown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_lchown_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_lchown_trampoline_addr(SB)/4, $libc_lchown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_link(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_link_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_link_trampoline_addr(SB)/4, $libc_link_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_linkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_linkat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_linkat_trampoline_addr(SB)/4, $libc_linkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_listen(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_listen_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_listen_trampoline_addr(SB)/4, $libc_listen_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_lstat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_lstat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_lstat_trampoline_addr(SB)/4, $libc_lstat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkdir_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_mkdir_trampoline_addr(SB)/4, $libc_mkdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkdirat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkdirat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_mkdirat_trampoline_addr(SB)/4, $libc_mkdirat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkfifo(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkfifo_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_mkfifo_trampoline_addr(SB)/4, $libc_mkfifo_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkfifoat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkfifoat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_mkfifoat_trampoline_addr(SB)/4, $libc_mkfifoat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mknod(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mknod_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_mknod_trampoline_addr(SB)/4, $libc_mknod_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mknodat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mknodat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_mknodat_trampoline_addr(SB)/4, $libc_mknodat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_nanosleep(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_nanosleep_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_nanosleep_trampoline_addr(SB)/4, $libc_nanosleep_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_open(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_open_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_open_trampoline_addr(SB)/4, $libc_open_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_openat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_openat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_openat_trampoline_addr(SB)/4, $libc_openat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pathconf(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pathconf_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_pathconf_trampoline_addr(SB)/4, $libc_pathconf_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pread(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pread_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_pread_trampoline_addr(SB)/4, $libc_pread_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pwrite(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pwrite_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_pwrite_trampoline_addr(SB)/4, $libc_pwrite_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_read(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_read_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_read_trampoline_addr(SB)/4, $libc_read_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_readlink(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_readlink_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_readlink_trampoline_addr(SB)/4, $libc_readlink_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_readlinkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_readlinkat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_readlinkat_trampoline_addr(SB)/4, $libc_readlinkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_rename(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_rename_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_rename_trampoline_addr(SB)/4, $libc_rename_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_renameat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_renameat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_renameat_trampoline_addr(SB)/4, $libc_renameat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_revoke(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_revoke_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_revoke_trampoline_addr(SB)/4, $libc_revoke_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_rmdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_rmdir_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_rmdir_trampoline_addr(SB)/4, $libc_rmdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_lseek(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_lseek_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_lseek_trampoline_addr(SB)/4, $libc_lseek_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_select(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_select_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_select_trampoline_addr(SB)/4, $libc_select_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setegid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setegid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setegid_trampoline_addr(SB)/4, $libc_setegid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_seteuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_seteuid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_seteuid_trampoline_addr(SB)/4, $libc_seteuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setgid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setgid_trampoline_addr(SB)/4, $libc_setgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setlogin(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setlogin_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setlogin_trampoline_addr(SB)/4, $libc_setlogin_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setpgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setpgid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setpgid_trampoline_addr(SB)/4, $libc_setpgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setpriority(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setpriority_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setpriority_trampoline_addr(SB)/4, $libc_setpriority_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setregid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setregid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setregid_trampoline_addr(SB)/4, $libc_setregid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setreuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setreuid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setreuid_trampoline_addr(SB)/4, $libc_setreuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setresgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setresgid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setresgid_trampoline_addr(SB)/4, $libc_setresgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setresuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setresuid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setresuid_trampoline_addr(SB)/4, $libc_setresuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setrlimit(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setrlimit_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setrlimit_trampoline_addr(SB)/4, $libc_setrlimit_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setrtable(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setrtable_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setrtable_trampoline_addr(SB)/4, $libc_setrtable_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setsid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setsid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setsid_trampoline_addr(SB)/4, $libc_setsid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_settimeofday(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_settimeofday_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_settimeofday_trampoline_addr(SB)/4, $libc_settimeofday_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setuid_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_setuid_trampoline_addr(SB)/4, $libc_setuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_stat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_stat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_stat_trampoline_addr(SB)/4, $libc_stat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_statfs(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_statfs_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_statfs_trampoline_addr(SB)/4, $libc_statfs_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_symlink(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_symlink_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_symlink_trampoline_addr(SB)/4, $libc_symlink_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_symlinkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_symlinkat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_symlinkat_trampoline_addr(SB)/4, $libc_symlinkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sync(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sync_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_sync_trampoline_addr(SB)/4, $libc_sync_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_truncate(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_truncate_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_truncate_trampoline_addr(SB)/4, $libc_truncate_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_umask(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_umask_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_umask_trampoline_addr(SB)/4, $libc_umask_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_unlink(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_unlink_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_unlink_trampoline_addr(SB)/4, $libc_unlink_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_unlinkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_unlinkat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_unlinkat_trampoline_addr(SB)/4, $libc_unlinkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_unmount(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_unmount_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_unmount_trampoline_addr(SB)/4, $libc_unmount_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_write(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_write_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_write_trampoline_addr(SB)/4, $libc_write_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mmap(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mmap_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_mmap_trampoline_addr(SB)/4, $libc_mmap_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_munmap(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_munmap_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_munmap_trampoline_addr(SB)/4, $libc_munmap_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_utimensat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_utimensat_trampoline_addr(SB), RODATA, $4 | ||||||
|  | DATA	·libc_utimensat_trampoline_addr(SB)/4, $libc_utimensat_trampoline<>(SB) | ||||||
							
								
								
									
										796
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										796
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,796 @@ | |||||||
|  | // go run mkasm.go openbsd amd64 | ||||||
|  | // Code generated by the command above; DO NOT EDIT. | ||||||
|  |  | ||||||
|  | #include "textflag.h" | ||||||
|  |  | ||||||
|  | TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getgroups(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getgroups_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setgroups(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setgroups_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_wait4(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_wait4_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_accept(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_accept_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_bind(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_bind_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_connect(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_connect_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_socket(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_socket_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getsockopt(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getsockopt_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setsockopt(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setsockopt_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpeername(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpeername_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getsockname(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getsockname_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_shutdown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_shutdown_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_socketpair(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_socketpair_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_recvfrom(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_recvfrom_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sendto(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sendto_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_recvmsg(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_recvmsg_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sendmsg(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sendmsg_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_kevent(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_kevent_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_utimes(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_utimes_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_futimes(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_futimes_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_poll(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_poll_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_madvise(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_madvise_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mlock(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mlock_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mlockall(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mlockall_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mprotect(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mprotect_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_msync(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_msync_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_munlock(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_munlock_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_munlockall(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_munlockall_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pipe2(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pipe2_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_pipe2_trampoline_addr(SB)/8, $libc_pipe2_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getdents(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getdents_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getdents_trampoline_addr(SB)/8, $libc_getdents_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getcwd(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getcwd_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_ioctl(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_ioctl_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sysctl(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sysctl_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_ppoll(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_ppoll_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_ppoll_trampoline_addr(SB)/8, $libc_ppoll_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_access(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_access_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_adjtime(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_adjtime_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chdir_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chflags(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chflags_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chmod(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chmod_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chown_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chroot(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chroot_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_close(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_close_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_dup(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_dup_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_dup2(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_dup2_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_dup3(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_dup3_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_dup3_trampoline_addr(SB)/8, $libc_dup3_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_exit(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_exit_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_faccessat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_faccessat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchdir_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchflags(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchflags_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchmod(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchmod_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchmodat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchmodat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchown_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchownat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchownat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_flock(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_flock_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fpathconf(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fpathconf_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fstat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fstat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fstat_trampoline_addr(SB)/8, $libc_fstat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fstatat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fstatat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fstatat_trampoline_addr(SB)/8, $libc_fstatat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fstatfs(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fstatfs_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fstatfs_trampoline_addr(SB)/8, $libc_fstatfs_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fsync(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fsync_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_ftruncate(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_ftruncate_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getegid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getegid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_geteuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_geteuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getgid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpgid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpgrp(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpgrp_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getppid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getppid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpriority(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpriority_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getrlimit(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getrlimit_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getrtable(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getrtable_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getrtable_trampoline_addr(SB)/8, $libc_getrtable_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getrusage(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getrusage_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getsid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getsid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_gettimeofday(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_gettimeofday_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_issetugid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_issetugid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_kill(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_kill_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_kqueue(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_kqueue_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_lchown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_lchown_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_link(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_link_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_linkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_linkat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_listen(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_listen_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_lstat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_lstat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_lstat_trampoline_addr(SB)/8, $libc_lstat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkdir_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkdirat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkdirat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkfifo(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkfifo_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkfifoat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkfifoat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mkfifoat_trampoline_addr(SB)/8, $libc_mkfifoat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mknod(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mknod_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mknodat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mknodat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_nanosleep(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_nanosleep_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_nanosleep_trampoline_addr(SB)/8, $libc_nanosleep_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_open(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_open_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_openat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_openat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pathconf(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pathconf_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pread(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pread_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pwrite(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pwrite_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_read(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_read_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_readlink(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_readlink_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_readlinkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_readlinkat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_rename(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_rename_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_renameat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_renameat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_revoke(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_revoke_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_rmdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_rmdir_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_lseek(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_lseek_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_select(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_select_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setegid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setegid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_seteuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_seteuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setgid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setlogin(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setlogin_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setpgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setpgid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setpriority(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setpriority_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setregid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setregid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setreuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setreuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setresgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setresgid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setresgid_trampoline_addr(SB)/8, $libc_setresgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setresuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setresuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setresuid_trampoline_addr(SB)/8, $libc_setresuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setrlimit(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setrlimit_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setrlimit_trampoline_addr(SB)/8, $libc_setrlimit_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setrtable(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setrtable_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setrtable_trampoline_addr(SB)/8, $libc_setrtable_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setsid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setsid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_settimeofday(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_settimeofday_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_stat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_stat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_stat_trampoline_addr(SB)/8, $libc_stat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_statfs(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_statfs_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_statfs_trampoline_addr(SB)/8, $libc_statfs_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_symlink(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_symlink_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_symlinkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_symlinkat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sync(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sync_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_truncate(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_truncate_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_umask(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_umask_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_unlink(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_unlink_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_unlinkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_unlinkat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_unmount(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_unmount_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_write(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_write_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mmap(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mmap_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_munmap(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_munmap_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_utimensat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_utimensat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) | ||||||
							
								
								
									
										796
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										796
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,796 @@ | |||||||
|  | // go run mkasm.go openbsd arm64 | ||||||
|  | // Code generated by the command above; DO NOT EDIT. | ||||||
|  |  | ||||||
|  | #include "textflag.h" | ||||||
|  |  | ||||||
|  | TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getgroups(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getgroups_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setgroups(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setgroups_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_wait4(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_wait4_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_accept(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_accept_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_bind(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_bind_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_connect(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_connect_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_socket(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_socket_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getsockopt(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getsockopt_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setsockopt(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setsockopt_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpeername(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpeername_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getsockname(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getsockname_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_shutdown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_shutdown_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_socketpair(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_socketpair_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_recvfrom(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_recvfrom_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sendto(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sendto_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_recvmsg(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_recvmsg_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sendmsg(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sendmsg_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_kevent(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_kevent_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_utimes(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_utimes_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_futimes(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_futimes_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_poll(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_poll_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_madvise(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_madvise_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mlock(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mlock_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mlockall(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mlockall_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mprotect(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mprotect_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_msync(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_msync_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_munlock(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_munlock_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_munlockall(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_munlockall_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pipe2(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pipe2_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_pipe2_trampoline_addr(SB)/8, $libc_pipe2_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getdents(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getdents_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getdents_trampoline_addr(SB)/8, $libc_getdents_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getcwd(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getcwd_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_ioctl(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_ioctl_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sysctl(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sysctl_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_ppoll(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_ppoll_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_ppoll_trampoline_addr(SB)/8, $libc_ppoll_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_access(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_access_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_adjtime(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_adjtime_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chdir_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chflags(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chflags_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chmod(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chmod_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chown_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_chroot(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_chroot_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_close(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_close_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_dup(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_dup_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_dup2(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_dup2_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_dup3(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_dup3_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_dup3_trampoline_addr(SB)/8, $libc_dup3_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_exit(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_exit_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_faccessat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_faccessat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchdir_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchflags(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchflags_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchmod(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchmod_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchmodat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchmodat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchown_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fchownat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fchownat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_flock(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_flock_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fpathconf(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fpathconf_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fstat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fstat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fstat_trampoline_addr(SB)/8, $libc_fstat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fstatat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fstatat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fstatat_trampoline_addr(SB)/8, $libc_fstatat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fstatfs(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fstatfs_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fstatfs_trampoline_addr(SB)/8, $libc_fstatfs_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_fsync(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_fsync_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_ftruncate(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_ftruncate_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getegid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getegid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_geteuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_geteuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getgid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpgid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpgrp(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpgrp_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getppid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getppid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getpriority(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getpriority_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getrlimit(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getrlimit_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getrtable(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getrtable_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getrtable_trampoline_addr(SB)/8, $libc_getrtable_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getrusage(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getrusage_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getsid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getsid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_gettimeofday(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_gettimeofday_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_getuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_getuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_issetugid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_issetugid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_kill(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_kill_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_kqueue(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_kqueue_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_lchown(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_lchown_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_link(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_link_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_linkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_linkat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_listen(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_listen_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_lstat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_lstat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_lstat_trampoline_addr(SB)/8, $libc_lstat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkdir_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkdirat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkdirat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkfifo(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkfifo_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mkfifoat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mkfifoat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mkfifoat_trampoline_addr(SB)/8, $libc_mkfifoat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mknod(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mknod_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mknodat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mknodat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_nanosleep(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_nanosleep_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_nanosleep_trampoline_addr(SB)/8, $libc_nanosleep_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_open(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_open_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_openat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_openat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pathconf(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pathconf_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pread(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pread_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_pwrite(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_pwrite_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_read(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_read_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_readlink(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_readlink_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_readlinkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_readlinkat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_rename(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_rename_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_renameat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_renameat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_revoke(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_revoke_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_rmdir(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_rmdir_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_lseek(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_lseek_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_select(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_select_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setegid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setegid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_seteuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_seteuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setgid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setlogin(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setlogin_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setpgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setpgid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setpriority(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setpriority_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setregid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setregid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setreuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setreuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setresgid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setresgid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setresgid_trampoline_addr(SB)/8, $libc_setresgid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setresuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setresuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setresuid_trampoline_addr(SB)/8, $libc_setresuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setrlimit(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setrlimit_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setrlimit_trampoline_addr(SB)/8, $libc_setrlimit_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setrtable(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setrtable_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setrtable_trampoline_addr(SB)/8, $libc_setrtable_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setsid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setsid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_settimeofday(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_settimeofday_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_setuid(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_setuid_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_stat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_stat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_stat_trampoline_addr(SB)/8, $libc_stat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_statfs(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_statfs_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_statfs_trampoline_addr(SB)/8, $libc_statfs_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_symlink(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_symlink_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_symlinkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_symlinkat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_sync(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_sync_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_truncate(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_truncate_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_umask(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_umask_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_unlink(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_unlink_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_unlinkat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_unlinkat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_unmount(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_unmount_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_write(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_write_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_mmap(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_mmap_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_munmap(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_munmap_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) | ||||||
|  |  | ||||||
|  | TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 | ||||||
|  | 	JMP	libc_utimensat(SB) | ||||||
|  |  | ||||||
|  | GLOBL	·libc_utimensat_trampoline_addr(SB), RODATA, $8 | ||||||
|  | DATA	·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) | ||||||
							
								
								
									
										394
									
								
								vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										394
									
								
								vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,394 @@ | |||||||
|  | // go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12 | ||||||
|  | // Code generated by the command above; see README.md. DO NOT EDIT. | ||||||
|  |  | ||||||
|  | //go:build riscv64 && freebsd | ||||||
|  | // +build riscv64,freebsd | ||||||
|  |  | ||||||
|  | package unix | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	// SYS_NOSYS = 0;  // { int nosys(void); } syscall nosys_args int | ||||||
|  | 	SYS_EXIT                     = 1   // { void sys_exit(int rval); } exit sys_exit_args void | ||||||
|  | 	SYS_FORK                     = 2   // { int fork(void); } | ||||||
|  | 	SYS_READ                     = 3   // { ssize_t read(int fd, void *buf, size_t nbyte); } | ||||||
|  | 	SYS_WRITE                    = 4   // { ssize_t write(int fd, const void *buf, size_t nbyte); } | ||||||
|  | 	SYS_OPEN                     = 5   // { int open(char *path, int flags, int mode); } | ||||||
|  | 	SYS_CLOSE                    = 6   // { int close(int fd); } | ||||||
|  | 	SYS_WAIT4                    = 7   // { int wait4(int pid, int *status, int options, struct rusage *rusage); } | ||||||
|  | 	SYS_LINK                     = 9   // { int link(char *path, char *link); } | ||||||
|  | 	SYS_UNLINK                   = 10  // { int unlink(char *path); } | ||||||
|  | 	SYS_CHDIR                    = 12  // { int chdir(char *path); } | ||||||
|  | 	SYS_FCHDIR                   = 13  // { int fchdir(int fd); } | ||||||
|  | 	SYS_CHMOD                    = 15  // { int chmod(char *path, int mode); } | ||||||
|  | 	SYS_CHOWN                    = 16  // { int chown(char *path, int uid, int gid); } | ||||||
|  | 	SYS_BREAK                    = 17  // { caddr_t break(char *nsize); } | ||||||
|  | 	SYS_GETPID                   = 20  // { pid_t getpid(void); } | ||||||
|  | 	SYS_MOUNT                    = 21  // { int mount(char *type, char *path, int flags, caddr_t data); } | ||||||
|  | 	SYS_UNMOUNT                  = 22  // { int unmount(char *path, int flags); } | ||||||
|  | 	SYS_SETUID                   = 23  // { int setuid(uid_t uid); } | ||||||
|  | 	SYS_GETUID                   = 24  // { uid_t getuid(void); } | ||||||
|  | 	SYS_GETEUID                  = 25  // { uid_t geteuid(void); } | ||||||
|  | 	SYS_PTRACE                   = 26  // { int ptrace(int req, pid_t pid, caddr_t addr, int data); } | ||||||
|  | 	SYS_RECVMSG                  = 27  // { int recvmsg(int s, struct msghdr *msg, int flags); } | ||||||
|  | 	SYS_SENDMSG                  = 28  // { int sendmsg(int s, struct msghdr *msg, int flags); } | ||||||
|  | 	SYS_RECVFROM                 = 29  // { int recvfrom(int s, caddr_t buf, size_t len, int flags, struct sockaddr * __restrict from, __socklen_t * __restrict fromlenaddr); } | ||||||
|  | 	SYS_ACCEPT                   = 30  // { int accept(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen); } | ||||||
|  | 	SYS_GETPEERNAME              = 31  // { int getpeername(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); } | ||||||
|  | 	SYS_GETSOCKNAME              = 32  // { int getsockname(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); } | ||||||
|  | 	SYS_ACCESS                   = 33  // { int access(char *path, int amode); } | ||||||
|  | 	SYS_CHFLAGS                  = 34  // { int chflags(const char *path, u_long flags); } | ||||||
|  | 	SYS_FCHFLAGS                 = 35  // { int fchflags(int fd, u_long flags); } | ||||||
|  | 	SYS_SYNC                     = 36  // { int sync(void); } | ||||||
|  | 	SYS_KILL                     = 37  // { int kill(int pid, int signum); } | ||||||
|  | 	SYS_GETPPID                  = 39  // { pid_t getppid(void); } | ||||||
|  | 	SYS_DUP                      = 41  // { int dup(u_int fd); } | ||||||
|  | 	SYS_GETEGID                  = 43  // { gid_t getegid(void); } | ||||||
|  | 	SYS_PROFIL                   = 44  // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); } | ||||||
|  | 	SYS_KTRACE                   = 45  // { int ktrace(const char *fname, int ops, int facs, int pid); } | ||||||
|  | 	SYS_GETGID                   = 47  // { gid_t getgid(void); } | ||||||
|  | 	SYS_GETLOGIN                 = 49  // { int getlogin(char *namebuf, u_int namelen); } | ||||||
|  | 	SYS_SETLOGIN                 = 50  // { int setlogin(char *namebuf); } | ||||||
|  | 	SYS_ACCT                     = 51  // { int acct(char *path); } | ||||||
|  | 	SYS_SIGALTSTACK              = 53  // { int sigaltstack(stack_t *ss, stack_t *oss); } | ||||||
|  | 	SYS_IOCTL                    = 54  // { int ioctl(int fd, u_long com, caddr_t data); } | ||||||
|  | 	SYS_REBOOT                   = 55  // { int reboot(int opt); } | ||||||
|  | 	SYS_REVOKE                   = 56  // { int revoke(char *path); } | ||||||
|  | 	SYS_SYMLINK                  = 57  // { int symlink(char *path, char *link); } | ||||||
|  | 	SYS_READLINK                 = 58  // { ssize_t readlink(char *path, char *buf, size_t count); } | ||||||
|  | 	SYS_EXECVE                   = 59  // { int execve(char *fname, char **argv, char **envv); } | ||||||
|  | 	SYS_UMASK                    = 60  // { int umask(int newmask); } | ||||||
|  | 	SYS_CHROOT                   = 61  // { int chroot(char *path); } | ||||||
|  | 	SYS_MSYNC                    = 65  // { int msync(void *addr, size_t len, int flags); } | ||||||
|  | 	SYS_VFORK                    = 66  // { int vfork(void); } | ||||||
|  | 	SYS_SBRK                     = 69  // { int sbrk(int incr); } | ||||||
|  | 	SYS_SSTK                     = 70  // { int sstk(int incr); } | ||||||
|  | 	SYS_MUNMAP                   = 73  // { int munmap(void *addr, size_t len); } | ||||||
|  | 	SYS_MPROTECT                 = 74  // { int mprotect(void *addr, size_t len, int prot); } | ||||||
|  | 	SYS_MADVISE                  = 75  // { int madvise(void *addr, size_t len, int behav); } | ||||||
|  | 	SYS_MINCORE                  = 78  // { int mincore(const void *addr, size_t len, char *vec); } | ||||||
|  | 	SYS_GETGROUPS                = 79  // { int getgroups(u_int gidsetsize, gid_t *gidset); } | ||||||
|  | 	SYS_SETGROUPS                = 80  // { int setgroups(u_int gidsetsize, gid_t *gidset); } | ||||||
|  | 	SYS_GETPGRP                  = 81  // { int getpgrp(void); } | ||||||
|  | 	SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); } | ||||||
|  | 	SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); } | ||||||
|  | 	SYS_SWAPON                   = 85  // { int swapon(char *name); } | ||||||
|  | 	SYS_GETITIMER                = 86  // { int getitimer(u_int which, struct itimerval *itv); } | ||||||
|  | 	SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); } | ||||||
|  | 	SYS_DUP2                     = 90  // { int dup2(u_int from, u_int to); } | ||||||
|  | 	SYS_FCNTL                    = 92  // { int fcntl(int fd, int cmd, long arg); } | ||||||
|  | 	SYS_SELECT                   = 93  // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); } | ||||||
|  | 	SYS_FSYNC                    = 95  // { int fsync(int fd); } | ||||||
|  | 	SYS_SETPRIORITY              = 96  // { int setpriority(int which, int who, int prio); } | ||||||
|  | 	SYS_SOCKET                   = 97  // { int socket(int domain, int type, int protocol); } | ||||||
|  | 	SYS_CONNECT                  = 98  // { int connect(int s, caddr_t name, int namelen); } | ||||||
|  | 	SYS_GETPRIORITY              = 100 // { int getpriority(int which, int who); } | ||||||
|  | 	SYS_BIND                     = 104 // { int bind(int s, caddr_t name, int namelen); } | ||||||
|  | 	SYS_SETSOCKOPT               = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); } | ||||||
|  | 	SYS_LISTEN                   = 106 // { int listen(int s, int backlog); } | ||||||
|  | 	SYS_GETTIMEOFDAY             = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); } | ||||||
|  | 	SYS_GETRUSAGE                = 117 // { int getrusage(int who, struct rusage *rusage); } | ||||||
|  | 	SYS_GETSOCKOPT               = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); } | ||||||
|  | 	SYS_READV                    = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); } | ||||||
|  | 	SYS_WRITEV                   = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); } | ||||||
|  | 	SYS_SETTIMEOFDAY             = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); } | ||||||
|  | 	SYS_FCHOWN                   = 123 // { int fchown(int fd, int uid, int gid); } | ||||||
|  | 	SYS_FCHMOD                   = 124 // { int fchmod(int fd, int mode); } | ||||||
|  | 	SYS_SETREUID                 = 126 // { int setreuid(int ruid, int euid); } | ||||||
|  | 	SYS_SETREGID                 = 127 // { int setregid(int rgid, int egid); } | ||||||
|  | 	SYS_RENAME                   = 128 // { int rename(char *from, char *to); } | ||||||
|  | 	SYS_FLOCK                    = 131 // { int flock(int fd, int how); } | ||||||
|  | 	SYS_MKFIFO                   = 132 // { int mkfifo(char *path, int mode); } | ||||||
|  | 	SYS_SENDTO                   = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); } | ||||||
|  | 	SYS_SHUTDOWN                 = 134 // { int shutdown(int s, int how); } | ||||||
|  | 	SYS_SOCKETPAIR               = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); } | ||||||
|  | 	SYS_MKDIR                    = 136 // { int mkdir(char *path, int mode); } | ||||||
|  | 	SYS_RMDIR                    = 137 // { int rmdir(char *path); } | ||||||
|  | 	SYS_UTIMES                   = 138 // { int utimes(char *path, struct timeval *tptr); } | ||||||
|  | 	SYS_ADJTIME                  = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); } | ||||||
|  | 	SYS_SETSID                   = 147 // { int setsid(void); } | ||||||
|  | 	SYS_QUOTACTL                 = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); } | ||||||
|  | 	SYS_NLM_SYSCALL              = 154 // { int nlm_syscall(int debug_level, int grace_period, int addr_count, char **addrs); } | ||||||
|  | 	SYS_NFSSVC                   = 155 // { int nfssvc(int flag, caddr_t argp); } | ||||||
|  | 	SYS_LGETFH                   = 160 // { int lgetfh(char *fname, struct fhandle *fhp); } | ||||||
|  | 	SYS_GETFH                    = 161 // { int getfh(char *fname, struct fhandle *fhp); } | ||||||
|  | 	SYS_SYSARCH                  = 165 // { int sysarch(int op, char *parms); } | ||||||
|  | 	SYS_RTPRIO                   = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); } | ||||||
|  | 	SYS_SEMSYS                   = 169 // { int semsys(int which, int a2, int a3, int a4, int a5); } | ||||||
|  | 	SYS_MSGSYS                   = 170 // { int msgsys(int which, int a2, int a3, int a4, int a5, int a6); } | ||||||
|  | 	SYS_SHMSYS                   = 171 // { int shmsys(int which, int a2, int a3, int a4); } | ||||||
|  | 	SYS_SETFIB                   = 175 // { int setfib(int fibnum); } | ||||||
|  | 	SYS_NTP_ADJTIME              = 176 // { int ntp_adjtime(struct timex *tp); } | ||||||
|  | 	SYS_SETGID                   = 181 // { int setgid(gid_t gid); } | ||||||
|  | 	SYS_SETEGID                  = 182 // { int setegid(gid_t egid); } | ||||||
|  | 	SYS_SETEUID                  = 183 // { int seteuid(uid_t euid); } | ||||||
|  | 	SYS_PATHCONF                 = 191 // { int pathconf(char *path, int name); } | ||||||
|  | 	SYS_FPATHCONF                = 192 // { int fpathconf(int fd, int name); } | ||||||
|  | 	SYS_GETRLIMIT                = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int | ||||||
|  | 	SYS_SETRLIMIT                = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int | ||||||
|  | 	SYS___SYSCTL                 = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int | ||||||
|  | 	SYS_MLOCK                    = 203 // { int mlock(const void *addr, size_t len); } | ||||||
|  | 	SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); } | ||||||
|  | 	SYS_UNDELETE                 = 205 // { int undelete(char *path); } | ||||||
|  | 	SYS_FUTIMES                  = 206 // { int futimes(int fd, struct timeval *tptr); } | ||||||
|  | 	SYS_GETPGID                  = 207 // { int getpgid(pid_t pid); } | ||||||
|  | 	SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, int timeout); } | ||||||
|  | 	SYS_SEMGET                   = 221 // { int semget(key_t key, int nsems, int semflg); } | ||||||
|  | 	SYS_SEMOP                    = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } | ||||||
|  | 	SYS_MSGGET                   = 225 // { int msgget(key_t key, int msgflg); } | ||||||
|  | 	SYS_MSGSND                   = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } | ||||||
|  | 	SYS_MSGRCV                   = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } | ||||||
|  | 	SYS_SHMAT                    = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } | ||||||
|  | 	SYS_SHMDT                    = 230 // { int shmdt(const void *shmaddr); } | ||||||
|  | 	SYS_SHMGET                   = 231 // { int shmget(key_t key, size_t size, int shmflg); } | ||||||
|  | 	SYS_CLOCK_GETTIME            = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); } | ||||||
|  | 	SYS_CLOCK_SETTIME            = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); } | ||||||
|  | 	SYS_CLOCK_GETRES             = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } | ||||||
|  | 	SYS_KTIMER_CREATE            = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } | ||||||
|  | 	SYS_KTIMER_DELETE            = 236 // { int ktimer_delete(int timerid); } | ||||||
|  | 	SYS_KTIMER_SETTIME           = 237 // { int ktimer_settime(int timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); } | ||||||
|  | 	SYS_KTIMER_GETTIME           = 238 // { int ktimer_gettime(int timerid, struct itimerspec *value); } | ||||||
|  | 	SYS_KTIMER_GETOVERRUN        = 239 // { int ktimer_getoverrun(int timerid); } | ||||||
|  | 	SYS_NANOSLEEP                = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } | ||||||
|  | 	SYS_FFCLOCK_GETCOUNTER       = 241 // { int ffclock_getcounter(ffcounter *ffcount); } | ||||||
|  | 	SYS_FFCLOCK_SETESTIMATE      = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); } | ||||||
|  | 	SYS_FFCLOCK_GETESTIMATE      = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); } | ||||||
|  | 	SYS_CLOCK_NANOSLEEP          = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } | ||||||
|  | 	SYS_CLOCK_GETCPUCLOCKID2     = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); } | ||||||
|  | 	SYS_NTP_GETTIME              = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } | ||||||
|  | 	SYS_MINHERIT                 = 250 // { int minherit(void *addr, size_t len, int inherit); } | ||||||
|  | 	SYS_RFORK                    = 251 // { int rfork(int flags); } | ||||||
|  | 	SYS_ISSETUGID                = 253 // { int issetugid(void); } | ||||||
|  | 	SYS_LCHOWN                   = 254 // { int lchown(char *path, int uid, int gid); } | ||||||
|  | 	SYS_AIO_READ                 = 255 // { int aio_read(struct aiocb *aiocbp); } | ||||||
|  | 	SYS_AIO_WRITE                = 256 // { int aio_write(struct aiocb *aiocbp); } | ||||||
|  | 	SYS_LIO_LISTIO               = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); } | ||||||
|  | 	SYS_LCHMOD                   = 274 // { int lchmod(char *path, mode_t mode); } | ||||||
|  | 	SYS_LUTIMES                  = 276 // { int lutimes(char *path, struct timeval *tptr); } | ||||||
|  | 	SYS_PREADV                   = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } | ||||||
|  | 	SYS_PWRITEV                  = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } | ||||||
|  | 	SYS_FHOPEN                   = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } | ||||||
|  | 	SYS_MODNEXT                  = 300 // { int modnext(int modid); } | ||||||
|  | 	SYS_MODSTAT                  = 301 // { int modstat(int modid, struct module_stat* stat); } | ||||||
|  | 	SYS_MODFNEXT                 = 302 // { int modfnext(int modid); } | ||||||
|  | 	SYS_MODFIND                  = 303 // { int modfind(const char *name); } | ||||||
|  | 	SYS_KLDLOAD                  = 304 // { int kldload(const char *file); } | ||||||
|  | 	SYS_KLDUNLOAD                = 305 // { int kldunload(int fileid); } | ||||||
|  | 	SYS_KLDFIND                  = 306 // { int kldfind(const char *file); } | ||||||
|  | 	SYS_KLDNEXT                  = 307 // { int kldnext(int fileid); } | ||||||
|  | 	SYS_KLDSTAT                  = 308 // { int kldstat(int fileid, struct kld_file_stat *stat); } | ||||||
|  | 	SYS_KLDFIRSTMOD              = 309 // { int kldfirstmod(int fileid); } | ||||||
|  | 	SYS_GETSID                   = 310 // { int getsid(pid_t pid); } | ||||||
|  | 	SYS_SETRESUID                = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); } | ||||||
|  | 	SYS_SETRESGID                = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); } | ||||||
|  | 	SYS_AIO_RETURN               = 314 // { ssize_t aio_return(struct aiocb *aiocbp); } | ||||||
|  | 	SYS_AIO_SUSPEND              = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } | ||||||
|  | 	SYS_AIO_CANCEL               = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); } | ||||||
|  | 	SYS_AIO_ERROR                = 317 // { int aio_error(struct aiocb *aiocbp); } | ||||||
|  | 	SYS_YIELD                    = 321 // { int yield(void); } | ||||||
|  | 	SYS_MLOCKALL                 = 324 // { int mlockall(int how); } | ||||||
|  | 	SYS_MUNLOCKALL               = 325 // { int munlockall(void); } | ||||||
|  | 	SYS___GETCWD                 = 326 // { int __getcwd(char *buf, size_t buflen); } | ||||||
|  | 	SYS_SCHED_SETPARAM           = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); } | ||||||
|  | 	SYS_SCHED_GETPARAM           = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); } | ||||||
|  | 	SYS_SCHED_SETSCHEDULER       = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); } | ||||||
|  | 	SYS_SCHED_GETSCHEDULER       = 330 // { int sched_getscheduler (pid_t pid); } | ||||||
|  | 	SYS_SCHED_YIELD              = 331 // { int sched_yield (void); } | ||||||
|  | 	SYS_SCHED_GET_PRIORITY_MAX   = 332 // { int sched_get_priority_max (int policy); } | ||||||
|  | 	SYS_SCHED_GET_PRIORITY_MIN   = 333 // { int sched_get_priority_min (int policy); } | ||||||
|  | 	SYS_SCHED_RR_GET_INTERVAL    = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); } | ||||||
|  | 	SYS_UTRACE                   = 335 // { int utrace(const void *addr, size_t len); } | ||||||
|  | 	SYS_KLDSYM                   = 337 // { int kldsym(int fileid, int cmd, void *data); } | ||||||
|  | 	SYS_JAIL                     = 338 // { int jail(struct jail *jail); } | ||||||
|  | 	SYS_SIGPROCMASK              = 340 // { int sigprocmask(int how, const sigset_t *set, sigset_t *oset); } | ||||||
|  | 	SYS_SIGSUSPEND               = 341 // { int sigsuspend(const sigset_t *sigmask); } | ||||||
|  | 	SYS_SIGPENDING               = 343 // { int sigpending(sigset_t *set); } | ||||||
|  | 	SYS_SIGTIMEDWAIT             = 345 // { int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout); } | ||||||
|  | 	SYS_SIGWAITINFO              = 346 // { int sigwaitinfo(const sigset_t *set, siginfo_t *info); } | ||||||
|  | 	SYS___ACL_GET_FILE           = 347 // { int __acl_get_file(const char *path, acl_type_t type, struct acl *aclp); } | ||||||
|  | 	SYS___ACL_SET_FILE           = 348 // { int __acl_set_file(const char *path, acl_type_t type, struct acl *aclp); } | ||||||
|  | 	SYS___ACL_GET_FD             = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); } | ||||||
|  | 	SYS___ACL_SET_FD             = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); } | ||||||
|  | 	SYS___ACL_DELETE_FILE        = 351 // { int __acl_delete_file(const char *path, acl_type_t type); } | ||||||
|  | 	SYS___ACL_DELETE_FD          = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); } | ||||||
|  | 	SYS___ACL_ACLCHECK_FILE      = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); } | ||||||
|  | 	SYS___ACL_ACLCHECK_FD        = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } | ||||||
|  | 	SYS_EXTATTRCTL               = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } | ||||||
|  | 	SYS_EXTATTR_SET_FILE         = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } | ||||||
|  | 	SYS_EXTATTR_GET_FILE         = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } | ||||||
|  | 	SYS_EXTATTR_DELETE_FILE      = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } | ||||||
|  | 	SYS_AIO_WAITCOMPLETE         = 359 // { ssize_t aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); } | ||||||
|  | 	SYS_GETRESUID                = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } | ||||||
|  | 	SYS_GETRESGID                = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } | ||||||
|  | 	SYS_KQUEUE                   = 362 // { int kqueue(void); } | ||||||
|  | 	SYS_EXTATTR_SET_FD           = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } | ||||||
|  | 	SYS_EXTATTR_GET_FD           = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } | ||||||
|  | 	SYS_EXTATTR_DELETE_FD        = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } | ||||||
|  | 	SYS___SETUGID                = 374 // { int __setugid(int flag); } | ||||||
|  | 	SYS_EACCESS                  = 376 // { int eaccess(char *path, int amode); } | ||||||
|  | 	SYS_NMOUNT                   = 378 // { int nmount(struct iovec *iovp, unsigned int iovcnt, int flags); } | ||||||
|  | 	SYS___MAC_GET_PROC           = 384 // { int __mac_get_proc(struct mac *mac_p); } | ||||||
|  | 	SYS___MAC_SET_PROC           = 385 // { int __mac_set_proc(struct mac *mac_p); } | ||||||
|  | 	SYS___MAC_GET_FD             = 386 // { int __mac_get_fd(int fd, struct mac *mac_p); } | ||||||
|  | 	SYS___MAC_GET_FILE           = 387 // { int __mac_get_file(const char *path_p, struct mac *mac_p); } | ||||||
|  | 	SYS___MAC_SET_FD             = 388 // { int __mac_set_fd(int fd, struct mac *mac_p); } | ||||||
|  | 	SYS___MAC_SET_FILE           = 389 // { int __mac_set_file(const char *path_p, struct mac *mac_p); } | ||||||
|  | 	SYS_KENV                     = 390 // { int kenv(int what, const char *name, char *value, int len); } | ||||||
|  | 	SYS_LCHFLAGS                 = 391 // { int lchflags(const char *path, u_long flags); } | ||||||
|  | 	SYS_UUIDGEN                  = 392 // { int uuidgen(struct uuid *store, int count); } | ||||||
|  | 	SYS_SENDFILE                 = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } | ||||||
|  | 	SYS_MAC_SYSCALL              = 394 // { int mac_syscall(const char *policy, int call, void *arg); } | ||||||
|  | 	SYS_KSEM_CLOSE               = 400 // { int ksem_close(semid_t id); } | ||||||
|  | 	SYS_KSEM_POST                = 401 // { int ksem_post(semid_t id); } | ||||||
|  | 	SYS_KSEM_WAIT                = 402 // { int ksem_wait(semid_t id); } | ||||||
|  | 	SYS_KSEM_TRYWAIT             = 403 // { int ksem_trywait(semid_t id); } | ||||||
|  | 	SYS_KSEM_INIT                = 404 // { int ksem_init(semid_t *idp, unsigned int value); } | ||||||
|  | 	SYS_KSEM_OPEN                = 405 // { int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode, unsigned int value); } | ||||||
|  | 	SYS_KSEM_UNLINK              = 406 // { int ksem_unlink(const char *name); } | ||||||
|  | 	SYS_KSEM_GETVALUE            = 407 // { int ksem_getvalue(semid_t id, int *val); } | ||||||
|  | 	SYS_KSEM_DESTROY             = 408 // { int ksem_destroy(semid_t id); } | ||||||
|  | 	SYS___MAC_GET_PID            = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } | ||||||
|  | 	SYS___MAC_GET_LINK           = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } | ||||||
|  | 	SYS___MAC_SET_LINK           = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } | ||||||
|  | 	SYS_EXTATTR_SET_LINK         = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } | ||||||
|  | 	SYS_EXTATTR_GET_LINK         = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } | ||||||
|  | 	SYS_EXTATTR_DELETE_LINK      = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } | ||||||
|  | 	SYS___MAC_EXECVE             = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } | ||||||
|  | 	SYS_SIGACTION                = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } | ||||||
|  | 	SYS_SIGRETURN                = 417 // { int sigreturn(const struct __ucontext *sigcntxp); } | ||||||
|  | 	SYS_GETCONTEXT               = 421 // { int getcontext(struct __ucontext *ucp); } | ||||||
|  | 	SYS_SETCONTEXT               = 422 // { int setcontext(const struct __ucontext *ucp); } | ||||||
|  | 	SYS_SWAPCONTEXT              = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } | ||||||
|  | 	SYS_SWAPOFF                  = 424 // { int swapoff(const char *name); } | ||||||
|  | 	SYS___ACL_GET_LINK           = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } | ||||||
|  | 	SYS___ACL_SET_LINK           = 426 // { int __acl_set_link(const char *path, acl_type_t type, struct acl *aclp); } | ||||||
|  | 	SYS___ACL_DELETE_LINK        = 427 // { int __acl_delete_link(const char *path, acl_type_t type); } | ||||||
|  | 	SYS___ACL_ACLCHECK_LINK      = 428 // { int __acl_aclcheck_link(const char *path, acl_type_t type, struct acl *aclp); } | ||||||
|  | 	SYS_SIGWAIT                  = 429 // { int sigwait(const sigset_t *set, int *sig); } | ||||||
|  | 	SYS_THR_CREATE               = 430 // { int thr_create(ucontext_t *ctx, long *id, int flags); } | ||||||
|  | 	SYS_THR_EXIT                 = 431 // { void thr_exit(long *state); } | ||||||
|  | 	SYS_THR_SELF                 = 432 // { int thr_self(long *id); } | ||||||
|  | 	SYS_THR_KILL                 = 433 // { int thr_kill(long id, int sig); } | ||||||
|  | 	SYS_JAIL_ATTACH              = 436 // { int jail_attach(int jid); } | ||||||
|  | 	SYS_EXTATTR_LIST_FD          = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } | ||||||
|  | 	SYS_EXTATTR_LIST_FILE        = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } | ||||||
|  | 	SYS_EXTATTR_LIST_LINK        = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } | ||||||
|  | 	SYS_KSEM_TIMEDWAIT           = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } | ||||||
|  | 	SYS_THR_SUSPEND              = 442 // { int thr_suspend(const struct timespec *timeout); } | ||||||
|  | 	SYS_THR_WAKE                 = 443 // { int thr_wake(long id); } | ||||||
|  | 	SYS_KLDUNLOADF               = 444 // { int kldunloadf(int fileid, int flags); } | ||||||
|  | 	SYS_AUDIT                    = 445 // { int audit(const void *record, u_int length); } | ||||||
|  | 	SYS_AUDITON                  = 446 // { int auditon(int cmd, void *data, u_int length); } | ||||||
|  | 	SYS_GETAUID                  = 447 // { int getauid(uid_t *auid); } | ||||||
|  | 	SYS_SETAUID                  = 448 // { int setauid(uid_t *auid); } | ||||||
|  | 	SYS_GETAUDIT                 = 449 // { int getaudit(struct auditinfo *auditinfo); } | ||||||
|  | 	SYS_SETAUDIT                 = 450 // { int setaudit(struct auditinfo *auditinfo); } | ||||||
|  | 	SYS_GETAUDIT_ADDR            = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } | ||||||
|  | 	SYS_SETAUDIT_ADDR            = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } | ||||||
|  | 	SYS_AUDITCTL                 = 453 // { int auditctl(char *path); } | ||||||
|  | 	SYS__UMTX_OP                 = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } | ||||||
|  | 	SYS_THR_NEW                  = 455 // { int thr_new(struct thr_param *param, int param_size); } | ||||||
|  | 	SYS_SIGQUEUE                 = 456 // { int sigqueue(pid_t pid, int signum, void *value); } | ||||||
|  | 	SYS_KMQ_OPEN                 = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } | ||||||
|  | 	SYS_KMQ_SETATTR              = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } | ||||||
|  | 	SYS_KMQ_TIMEDRECEIVE         = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } | ||||||
|  | 	SYS_KMQ_TIMEDSEND            = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); } | ||||||
|  | 	SYS_KMQ_NOTIFY               = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } | ||||||
|  | 	SYS_KMQ_UNLINK               = 462 // { int kmq_unlink(const char *path); } | ||||||
|  | 	SYS_ABORT2                   = 463 // { int abort2(const char *why, int nargs, void **args); } | ||||||
|  | 	SYS_THR_SET_NAME             = 464 // { int thr_set_name(long id, const char *name); } | ||||||
|  | 	SYS_AIO_FSYNC                = 465 // { int aio_fsync(int op, struct aiocb *aiocbp); } | ||||||
|  | 	SYS_RTPRIO_THREAD            = 466 // { int rtprio_thread(int function, lwpid_t lwpid, struct rtprio *rtp); } | ||||||
|  | 	SYS_SCTP_PEELOFF             = 471 // { int sctp_peeloff(int sd, uint32_t name); } | ||||||
|  | 	SYS_SCTP_GENERIC_SENDMSG     = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } | ||||||
|  | 	SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } | ||||||
|  | 	SYS_SCTP_GENERIC_RECVMSG     = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } | ||||||
|  | 	SYS_PREAD                    = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } | ||||||
|  | 	SYS_PWRITE                   = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } | ||||||
|  | 	SYS_MMAP                     = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } | ||||||
|  | 	SYS_LSEEK                    = 478 // { off_t lseek(int fd, off_t offset, int whence); } | ||||||
|  | 	SYS_TRUNCATE                 = 479 // { int truncate(char *path, off_t length); } | ||||||
|  | 	SYS_FTRUNCATE                = 480 // { int ftruncate(int fd, off_t length); } | ||||||
|  | 	SYS_THR_KILL2                = 481 // { int thr_kill2(pid_t pid, long id, int sig); } | ||||||
|  | 	SYS_SHM_OPEN                 = 482 // { int shm_open(const char *path, int flags, mode_t mode); } | ||||||
|  | 	SYS_SHM_UNLINK               = 483 // { int shm_unlink(const char *path); } | ||||||
|  | 	SYS_CPUSET                   = 484 // { int cpuset(cpusetid_t *setid); } | ||||||
|  | 	SYS_CPUSET_SETID             = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, cpusetid_t setid); } | ||||||
|  | 	SYS_CPUSET_GETID             = 486 // { int cpuset_getid(cpulevel_t level, cpuwhich_t which, id_t id, cpusetid_t *setid); } | ||||||
|  | 	SYS_CPUSET_GETAFFINITY       = 487 // { int cpuset_getaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *mask); } | ||||||
|  | 	SYS_CPUSET_SETAFFINITY       = 488 // { int cpuset_setaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, const cpuset_t *mask); } | ||||||
|  | 	SYS_FACCESSAT                = 489 // { int faccessat(int fd, char *path, int amode, int flag); } | ||||||
|  | 	SYS_FCHMODAT                 = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } | ||||||
|  | 	SYS_FCHOWNAT                 = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } | ||||||
|  | 	SYS_FEXECVE                  = 492 // { int fexecve(int fd, char **argv, char **envv); } | ||||||
|  | 	SYS_FUTIMESAT                = 494 // { int futimesat(int fd, char *path, struct timeval *times); } | ||||||
|  | 	SYS_LINKAT                   = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } | ||||||
|  | 	SYS_MKDIRAT                  = 496 // { int mkdirat(int fd, char *path, mode_t mode); } | ||||||
|  | 	SYS_MKFIFOAT                 = 497 // { int mkfifoat(int fd, char *path, mode_t mode); } | ||||||
|  | 	SYS_OPENAT                   = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } | ||||||
|  | 	SYS_READLINKAT               = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); } | ||||||
|  | 	SYS_RENAMEAT                 = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } | ||||||
|  | 	SYS_SYMLINKAT                = 502 // { int symlinkat(char *path1, int fd, char *path2); } | ||||||
|  | 	SYS_UNLINKAT                 = 503 // { int unlinkat(int fd, char *path, int flag); } | ||||||
|  | 	SYS_POSIX_OPENPT             = 504 // { int posix_openpt(int flags); } | ||||||
|  | 	SYS_GSSD_SYSCALL             = 505 // { int gssd_syscall(char *path); } | ||||||
|  | 	SYS_JAIL_GET                 = 506 // { int jail_get(struct iovec *iovp, unsigned int iovcnt, int flags); } | ||||||
|  | 	SYS_JAIL_SET                 = 507 // { int jail_set(struct iovec *iovp, unsigned int iovcnt, int flags); } | ||||||
|  | 	SYS_JAIL_REMOVE              = 508 // { int jail_remove(int jid); } | ||||||
|  | 	SYS_CLOSEFROM                = 509 // { int closefrom(int lowfd); } | ||||||
|  | 	SYS___SEMCTL                 = 510 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); } | ||||||
|  | 	SYS_MSGCTL                   = 511 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); } | ||||||
|  | 	SYS_SHMCTL                   = 512 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); } | ||||||
|  | 	SYS_LPATHCONF                = 513 // { int lpathconf(char *path, int name); } | ||||||
|  | 	SYS___CAP_RIGHTS_GET         = 515 // { int __cap_rights_get(int version, int fd, cap_rights_t *rightsp); } | ||||||
|  | 	SYS_CAP_ENTER                = 516 // { int cap_enter(void); } | ||||||
|  | 	SYS_CAP_GETMODE              = 517 // { int cap_getmode(u_int *modep); } | ||||||
|  | 	SYS_PDFORK                   = 518 // { int pdfork(int *fdp, int flags); } | ||||||
|  | 	SYS_PDKILL                   = 519 // { int pdkill(int fd, int signum); } | ||||||
|  | 	SYS_PDGETPID                 = 520 // { int pdgetpid(int fd, pid_t *pidp); } | ||||||
|  | 	SYS_PSELECT                  = 522 // { int pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sm); } | ||||||
|  | 	SYS_GETLOGINCLASS            = 523 // { int getloginclass(char *namebuf, size_t namelen); } | ||||||
|  | 	SYS_SETLOGINCLASS            = 524 // { int setloginclass(const char *namebuf); } | ||||||
|  | 	SYS_RCTL_GET_RACCT           = 525 // { int rctl_get_racct(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } | ||||||
|  | 	SYS_RCTL_GET_RULES           = 526 // { int rctl_get_rules(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } | ||||||
|  | 	SYS_RCTL_GET_LIMITS          = 527 // { int rctl_get_limits(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } | ||||||
|  | 	SYS_RCTL_ADD_RULE            = 528 // { int rctl_add_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } | ||||||
|  | 	SYS_RCTL_REMOVE_RULE         = 529 // { int rctl_remove_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } | ||||||
|  | 	SYS_POSIX_FALLOCATE          = 530 // { int posix_fallocate(int fd, off_t offset, off_t len); } | ||||||
|  | 	SYS_POSIX_FADVISE            = 531 // { int posix_fadvise(int fd, off_t offset, off_t len, int advice); } | ||||||
|  | 	SYS_WAIT6                    = 532 // { int wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *info); } | ||||||
|  | 	SYS_CAP_RIGHTS_LIMIT         = 533 // { int cap_rights_limit(int fd, cap_rights_t *rightsp); } | ||||||
|  | 	SYS_CAP_IOCTLS_LIMIT         = 534 // { int cap_ioctls_limit(int fd, const u_long *cmds, size_t ncmds); } | ||||||
|  | 	SYS_CAP_IOCTLS_GET           = 535 // { ssize_t cap_ioctls_get(int fd, u_long *cmds, size_t maxcmds); } | ||||||
|  | 	SYS_CAP_FCNTLS_LIMIT         = 536 // { int cap_fcntls_limit(int fd, uint32_t fcntlrights); } | ||||||
|  | 	SYS_CAP_FCNTLS_GET           = 537 // { int cap_fcntls_get(int fd, uint32_t *fcntlrightsp); } | ||||||
|  | 	SYS_BINDAT                   = 538 // { int bindat(int fd, int s, caddr_t name, int namelen); } | ||||||
|  | 	SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); } | ||||||
|  | 	SYS_CHFLAGSAT                = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); } | ||||||
|  | 	SYS_ACCEPT4                  = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); } | ||||||
|  | 	SYS_PIPE2                    = 542 // { int pipe2(int *fildes, int flags); } | ||||||
|  | 	SYS_AIO_MLOCK                = 543 // { int aio_mlock(struct aiocb *aiocbp); } | ||||||
|  | 	SYS_PROCCTL                  = 544 // { int procctl(idtype_t idtype, id_t id, int com, void *data); } | ||||||
|  | 	SYS_PPOLL                    = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } | ||||||
|  | 	SYS_FUTIMENS                 = 546 // { int futimens(int fd, struct timespec *times); } | ||||||
|  | 	SYS_UTIMENSAT                = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } | ||||||
|  | 	SYS_FDATASYNC                = 550 // { int fdatasync(int fd); } | ||||||
|  | 	SYS_FSTAT                    = 551 // { int fstat(int fd, struct stat *sb); } | ||||||
|  | 	SYS_FSTATAT                  = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } | ||||||
|  | 	SYS_FHSTAT                   = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } | ||||||
|  | 	SYS_GETDIRENTRIES            = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); } | ||||||
|  | 	SYS_STATFS                   = 555 // { int statfs(char *path, struct statfs *buf); } | ||||||
|  | 	SYS_FSTATFS                  = 556 // { int fstatfs(int fd, struct statfs *buf); } | ||||||
|  | 	SYS_GETFSSTAT                = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } | ||||||
|  | 	SYS_FHSTATFS                 = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } | ||||||
|  | 	SYS_MKNODAT                  = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } | ||||||
|  | 	SYS_KEVENT                   = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } | ||||||
|  | 	SYS_CPUSET_GETDOMAIN         = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); } | ||||||
|  | 	SYS_CPUSET_SETDOMAIN         = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); } | ||||||
|  | 	SYS_GETRANDOM                = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); } | ||||||
|  | 	SYS_GETFHAT                  = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); } | ||||||
|  | 	SYS_FHLINK                   = 565 // { int fhlink(struct fhandle *fhp, const char *to); } | ||||||
|  | 	SYS_FHLINKAT                 = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); } | ||||||
|  | 	SYS_FHREADLINK               = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); } | ||||||
|  | 	SYS___SYSCTLBYNAME           = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } | ||||||
|  | 	SYS_CLOSE_RANGE              = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); } | ||||||
|  | ) | ||||||
							
								
								
									
										626
									
								
								vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										626
									
								
								vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,626 @@ | |||||||
|  | // cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go | ||||||
|  | // Code generated by the command above; see README.md. DO NOT EDIT. | ||||||
|  |  | ||||||
|  | //go:build riscv64 && freebsd | ||||||
|  | // +build riscv64,freebsd | ||||||
|  |  | ||||||
|  | package unix | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	SizeofPtr      = 0x8 | ||||||
|  | 	SizeofShort    = 0x2 | ||||||
|  | 	SizeofInt      = 0x4 | ||||||
|  | 	SizeofLong     = 0x8 | ||||||
|  | 	SizeofLongLong = 0x8 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type ( | ||||||
|  | 	_C_short     int16 | ||||||
|  | 	_C_int       int32 | ||||||
|  | 	_C_long      int64 | ||||||
|  | 	_C_long_long int64 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Timespec struct { | ||||||
|  | 	Sec  int64 | ||||||
|  | 	Nsec int64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Timeval struct { | ||||||
|  | 	Sec  int64 | ||||||
|  | 	Usec int64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Time_t int64 | ||||||
|  |  | ||||||
|  | type Rusage struct { | ||||||
|  | 	Utime    Timeval | ||||||
|  | 	Stime    Timeval | ||||||
|  | 	Maxrss   int64 | ||||||
|  | 	Ixrss    int64 | ||||||
|  | 	Idrss    int64 | ||||||
|  | 	Isrss    int64 | ||||||
|  | 	Minflt   int64 | ||||||
|  | 	Majflt   int64 | ||||||
|  | 	Nswap    int64 | ||||||
|  | 	Inblock  int64 | ||||||
|  | 	Oublock  int64 | ||||||
|  | 	Msgsnd   int64 | ||||||
|  | 	Msgrcv   int64 | ||||||
|  | 	Nsignals int64 | ||||||
|  | 	Nvcsw    int64 | ||||||
|  | 	Nivcsw   int64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Rlimit struct { | ||||||
|  | 	Cur int64 | ||||||
|  | 	Max int64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type _Gid_t uint32 | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	_statfsVersion = 0x20140518 | ||||||
|  | 	_dirblksiz     = 0x400 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Stat_t struct { | ||||||
|  | 	Dev     uint64 | ||||||
|  | 	Ino     uint64 | ||||||
|  | 	Nlink   uint64 | ||||||
|  | 	Mode    uint16 | ||||||
|  | 	_0      int16 | ||||||
|  | 	Uid     uint32 | ||||||
|  | 	Gid     uint32 | ||||||
|  | 	_1      int32 | ||||||
|  | 	Rdev    uint64 | ||||||
|  | 	Atim    Timespec | ||||||
|  | 	Mtim    Timespec | ||||||
|  | 	Ctim    Timespec | ||||||
|  | 	Btim    Timespec | ||||||
|  | 	Size    int64 | ||||||
|  | 	Blocks  int64 | ||||||
|  | 	Blksize int32 | ||||||
|  | 	Flags   uint32 | ||||||
|  | 	Gen     uint64 | ||||||
|  | 	Spare   [10]uint64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Statfs_t struct { | ||||||
|  | 	Version     uint32 | ||||||
|  | 	Type        uint32 | ||||||
|  | 	Flags       uint64 | ||||||
|  | 	Bsize       uint64 | ||||||
|  | 	Iosize      uint64 | ||||||
|  | 	Blocks      uint64 | ||||||
|  | 	Bfree       uint64 | ||||||
|  | 	Bavail      int64 | ||||||
|  | 	Files       uint64 | ||||||
|  | 	Ffree       int64 | ||||||
|  | 	Syncwrites  uint64 | ||||||
|  | 	Asyncwrites uint64 | ||||||
|  | 	Syncreads   uint64 | ||||||
|  | 	Asyncreads  uint64 | ||||||
|  | 	Spare       [10]uint64 | ||||||
|  | 	Namemax     uint32 | ||||||
|  | 	Owner       uint32 | ||||||
|  | 	Fsid        Fsid | ||||||
|  | 	Charspare   [80]int8 | ||||||
|  | 	Fstypename  [16]byte | ||||||
|  | 	Mntfromname [1024]byte | ||||||
|  | 	Mntonname   [1024]byte | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Flock_t struct { | ||||||
|  | 	Start  int64 | ||||||
|  | 	Len    int64 | ||||||
|  | 	Pid    int32 | ||||||
|  | 	Type   int16 | ||||||
|  | 	Whence int16 | ||||||
|  | 	Sysid  int32 | ||||||
|  | 	_      [4]byte | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Dirent struct { | ||||||
|  | 	Fileno uint64 | ||||||
|  | 	Off    int64 | ||||||
|  | 	Reclen uint16 | ||||||
|  | 	Type   uint8 | ||||||
|  | 	Pad0   uint8 | ||||||
|  | 	Namlen uint16 | ||||||
|  | 	Pad1   uint16 | ||||||
|  | 	Name   [256]int8 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Fsid struct { | ||||||
|  | 	Val [2]int32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	PathMax = 0x400 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	FADV_NORMAL     = 0x0 | ||||||
|  | 	FADV_RANDOM     = 0x1 | ||||||
|  | 	FADV_SEQUENTIAL = 0x2 | ||||||
|  | 	FADV_WILLNEED   = 0x3 | ||||||
|  | 	FADV_DONTNEED   = 0x4 | ||||||
|  | 	FADV_NOREUSE    = 0x5 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type RawSockaddrInet4 struct { | ||||||
|  | 	Len    uint8 | ||||||
|  | 	Family uint8 | ||||||
|  | 	Port   uint16 | ||||||
|  | 	Addr   [4]byte /* in_addr */ | ||||||
|  | 	Zero   [8]int8 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type RawSockaddrInet6 struct { | ||||||
|  | 	Len      uint8 | ||||||
|  | 	Family   uint8 | ||||||
|  | 	Port     uint16 | ||||||
|  | 	Flowinfo uint32 | ||||||
|  | 	Addr     [16]byte /* in6_addr */ | ||||||
|  | 	Scope_id uint32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type RawSockaddrUnix struct { | ||||||
|  | 	Len    uint8 | ||||||
|  | 	Family uint8 | ||||||
|  | 	Path   [104]int8 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type RawSockaddrDatalink struct { | ||||||
|  | 	Len    uint8 | ||||||
|  | 	Family uint8 | ||||||
|  | 	Index  uint16 | ||||||
|  | 	Type   uint8 | ||||||
|  | 	Nlen   uint8 | ||||||
|  | 	Alen   uint8 | ||||||
|  | 	Slen   uint8 | ||||||
|  | 	Data   [46]int8 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type RawSockaddr struct { | ||||||
|  | 	Len    uint8 | ||||||
|  | 	Family uint8 | ||||||
|  | 	Data   [14]int8 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type RawSockaddrAny struct { | ||||||
|  | 	Addr RawSockaddr | ||||||
|  | 	Pad  [92]int8 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type _Socklen uint32 | ||||||
|  |  | ||||||
|  | type Xucred struct { | ||||||
|  | 	Version uint32 | ||||||
|  | 	Uid     uint32 | ||||||
|  | 	Ngroups int16 | ||||||
|  | 	Groups  [16]uint32 | ||||||
|  | 	_       *byte | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Linger struct { | ||||||
|  | 	Onoff  int32 | ||||||
|  | 	Linger int32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Iovec struct { | ||||||
|  | 	Base *byte | ||||||
|  | 	Len  uint64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type IPMreq struct { | ||||||
|  | 	Multiaddr [4]byte /* in_addr */ | ||||||
|  | 	Interface [4]byte /* in_addr */ | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type IPMreqn struct { | ||||||
|  | 	Multiaddr [4]byte /* in_addr */ | ||||||
|  | 	Address   [4]byte /* in_addr */ | ||||||
|  | 	Ifindex   int32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type IPv6Mreq struct { | ||||||
|  | 	Multiaddr [16]byte /* in6_addr */ | ||||||
|  | 	Interface uint32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Msghdr struct { | ||||||
|  | 	Name       *byte | ||||||
|  | 	Namelen    uint32 | ||||||
|  | 	Iov        *Iovec | ||||||
|  | 	Iovlen     int32 | ||||||
|  | 	Control    *byte | ||||||
|  | 	Controllen uint32 | ||||||
|  | 	Flags      int32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Cmsghdr struct { | ||||||
|  | 	Len   uint32 | ||||||
|  | 	Level int32 | ||||||
|  | 	Type  int32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Inet6Pktinfo struct { | ||||||
|  | 	Addr    [16]byte /* in6_addr */ | ||||||
|  | 	Ifindex uint32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type IPv6MTUInfo struct { | ||||||
|  | 	Addr RawSockaddrInet6 | ||||||
|  | 	Mtu  uint32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type ICMPv6Filter struct { | ||||||
|  | 	Filt [8]uint32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	SizeofSockaddrInet4    = 0x10 | ||||||
|  | 	SizeofSockaddrInet6    = 0x1c | ||||||
|  | 	SizeofSockaddrAny      = 0x6c | ||||||
|  | 	SizeofSockaddrUnix     = 0x6a | ||||||
|  | 	SizeofSockaddrDatalink = 0x36 | ||||||
|  | 	SizeofXucred           = 0x58 | ||||||
|  | 	SizeofLinger           = 0x8 | ||||||
|  | 	SizeofIovec            = 0x10 | ||||||
|  | 	SizeofIPMreq           = 0x8 | ||||||
|  | 	SizeofIPMreqn          = 0xc | ||||||
|  | 	SizeofIPv6Mreq         = 0x14 | ||||||
|  | 	SizeofMsghdr           = 0x30 | ||||||
|  | 	SizeofCmsghdr          = 0xc | ||||||
|  | 	SizeofInet6Pktinfo     = 0x14 | ||||||
|  | 	SizeofIPv6MTUInfo      = 0x20 | ||||||
|  | 	SizeofICMPv6Filter     = 0x20 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	PTRACE_TRACEME = 0x0 | ||||||
|  | 	PTRACE_CONT    = 0x7 | ||||||
|  | 	PTRACE_KILL    = 0x8 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type PtraceLwpInfoStruct struct { | ||||||
|  | 	Lwpid        int32 | ||||||
|  | 	Event        int32 | ||||||
|  | 	Flags        int32 | ||||||
|  | 	Sigmask      Sigset_t | ||||||
|  | 	Siglist      Sigset_t | ||||||
|  | 	Siginfo      __Siginfo | ||||||
|  | 	Tdname       [20]int8 | ||||||
|  | 	Child_pid    int32 | ||||||
|  | 	Syscall_code uint32 | ||||||
|  | 	Syscall_narg uint32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type __Siginfo struct { | ||||||
|  | 	Signo  int32 | ||||||
|  | 	Errno  int32 | ||||||
|  | 	Code   int32 | ||||||
|  | 	Pid    int32 | ||||||
|  | 	Uid    uint32 | ||||||
|  | 	Status int32 | ||||||
|  | 	Addr   *byte | ||||||
|  | 	Value  [8]byte | ||||||
|  | 	_      [40]byte | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Sigset_t struct { | ||||||
|  | 	Val [4]uint32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Reg struct { | ||||||
|  | 	Ra      uint64 | ||||||
|  | 	Sp      uint64 | ||||||
|  | 	Gp      uint64 | ||||||
|  | 	Tp      uint64 | ||||||
|  | 	T       [7]uint64 | ||||||
|  | 	S       [12]uint64 | ||||||
|  | 	A       [8]uint64 | ||||||
|  | 	Sepc    uint64 | ||||||
|  | 	Sstatus uint64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type FpReg struct { | ||||||
|  | 	X    [32][2]uint64 | ||||||
|  | 	Fcsr uint64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type FpExtendedPrecision struct{} | ||||||
|  |  | ||||||
|  | type PtraceIoDesc struct { | ||||||
|  | 	Op   int32 | ||||||
|  | 	Offs *byte | ||||||
|  | 	Addr *byte | ||||||
|  | 	Len  uint64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Kevent_t struct { | ||||||
|  | 	Ident  uint64 | ||||||
|  | 	Filter int16 | ||||||
|  | 	Flags  uint16 | ||||||
|  | 	Fflags uint32 | ||||||
|  | 	Data   int64 | ||||||
|  | 	Udata  *byte | ||||||
|  | 	Ext    [4]uint64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type FdSet struct { | ||||||
|  | 	Bits [16]uint64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	sizeofIfMsghdr         = 0xa8 | ||||||
|  | 	SizeofIfMsghdr         = 0xa8 | ||||||
|  | 	sizeofIfData           = 0x98 | ||||||
|  | 	SizeofIfData           = 0x98 | ||||||
|  | 	SizeofIfaMsghdr        = 0x14 | ||||||
|  | 	SizeofIfmaMsghdr       = 0x10 | ||||||
|  | 	SizeofIfAnnounceMsghdr = 0x18 | ||||||
|  | 	SizeofRtMsghdr         = 0x98 | ||||||
|  | 	SizeofRtMetrics        = 0x70 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type ifMsghdr struct { | ||||||
|  | 	Msglen  uint16 | ||||||
|  | 	Version uint8 | ||||||
|  | 	Type    uint8 | ||||||
|  | 	Addrs   int32 | ||||||
|  | 	Flags   int32 | ||||||
|  | 	Index   uint16 | ||||||
|  | 	_       uint16 | ||||||
|  | 	Data    ifData | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type IfMsghdr struct { | ||||||
|  | 	Msglen  uint16 | ||||||
|  | 	Version uint8 | ||||||
|  | 	Type    uint8 | ||||||
|  | 	Addrs   int32 | ||||||
|  | 	Flags   int32 | ||||||
|  | 	Index   uint16 | ||||||
|  | 	Data    IfData | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type ifData struct { | ||||||
|  | 	Type       uint8 | ||||||
|  | 	Physical   uint8 | ||||||
|  | 	Addrlen    uint8 | ||||||
|  | 	Hdrlen     uint8 | ||||||
|  | 	Link_state uint8 | ||||||
|  | 	Vhid       uint8 | ||||||
|  | 	Datalen    uint16 | ||||||
|  | 	Mtu        uint32 | ||||||
|  | 	Metric     uint32 | ||||||
|  | 	Baudrate   uint64 | ||||||
|  | 	Ipackets   uint64 | ||||||
|  | 	Ierrors    uint64 | ||||||
|  | 	Opackets   uint64 | ||||||
|  | 	Oerrors    uint64 | ||||||
|  | 	Collisions uint64 | ||||||
|  | 	Ibytes     uint64 | ||||||
|  | 	Obytes     uint64 | ||||||
|  | 	Imcasts    uint64 | ||||||
|  | 	Omcasts    uint64 | ||||||
|  | 	Iqdrops    uint64 | ||||||
|  | 	Oqdrops    uint64 | ||||||
|  | 	Noproto    uint64 | ||||||
|  | 	Hwassist   uint64 | ||||||
|  | 	_          [8]byte | ||||||
|  | 	_          [16]byte | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type IfData struct { | ||||||
|  | 	Type        uint8 | ||||||
|  | 	Physical    uint8 | ||||||
|  | 	Addrlen     uint8 | ||||||
|  | 	Hdrlen      uint8 | ||||||
|  | 	Link_state  uint8 | ||||||
|  | 	Spare_char1 uint8 | ||||||
|  | 	Spare_char2 uint8 | ||||||
|  | 	Datalen     uint8 | ||||||
|  | 	Mtu         uint64 | ||||||
|  | 	Metric      uint64 | ||||||
|  | 	Baudrate    uint64 | ||||||
|  | 	Ipackets    uint64 | ||||||
|  | 	Ierrors     uint64 | ||||||
|  | 	Opackets    uint64 | ||||||
|  | 	Oerrors     uint64 | ||||||
|  | 	Collisions  uint64 | ||||||
|  | 	Ibytes      uint64 | ||||||
|  | 	Obytes      uint64 | ||||||
|  | 	Imcasts     uint64 | ||||||
|  | 	Omcasts     uint64 | ||||||
|  | 	Iqdrops     uint64 | ||||||
|  | 	Noproto     uint64 | ||||||
|  | 	Hwassist    uint64 | ||||||
|  | 	Epoch       int64 | ||||||
|  | 	Lastchange  Timeval | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type IfaMsghdr struct { | ||||||
|  | 	Msglen  uint16 | ||||||
|  | 	Version uint8 | ||||||
|  | 	Type    uint8 | ||||||
|  | 	Addrs   int32 | ||||||
|  | 	Flags   int32 | ||||||
|  | 	Index   uint16 | ||||||
|  | 	_       uint16 | ||||||
|  | 	Metric  int32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type IfmaMsghdr struct { | ||||||
|  | 	Msglen  uint16 | ||||||
|  | 	Version uint8 | ||||||
|  | 	Type    uint8 | ||||||
|  | 	Addrs   int32 | ||||||
|  | 	Flags   int32 | ||||||
|  | 	Index   uint16 | ||||||
|  | 	_       uint16 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type IfAnnounceMsghdr struct { | ||||||
|  | 	Msglen  uint16 | ||||||
|  | 	Version uint8 | ||||||
|  | 	Type    uint8 | ||||||
|  | 	Index   uint16 | ||||||
|  | 	Name    [16]int8 | ||||||
|  | 	What    uint16 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type RtMsghdr struct { | ||||||
|  | 	Msglen  uint16 | ||||||
|  | 	Version uint8 | ||||||
|  | 	Type    uint8 | ||||||
|  | 	Index   uint16 | ||||||
|  | 	_       uint16 | ||||||
|  | 	Flags   int32 | ||||||
|  | 	Addrs   int32 | ||||||
|  | 	Pid     int32 | ||||||
|  | 	Seq     int32 | ||||||
|  | 	Errno   int32 | ||||||
|  | 	Fmask   int32 | ||||||
|  | 	Inits   uint64 | ||||||
|  | 	Rmx     RtMetrics | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type RtMetrics struct { | ||||||
|  | 	Locks    uint64 | ||||||
|  | 	Mtu      uint64 | ||||||
|  | 	Hopcount uint64 | ||||||
|  | 	Expire   uint64 | ||||||
|  | 	Recvpipe uint64 | ||||||
|  | 	Sendpipe uint64 | ||||||
|  | 	Ssthresh uint64 | ||||||
|  | 	Rtt      uint64 | ||||||
|  | 	Rttvar   uint64 | ||||||
|  | 	Pksent   uint64 | ||||||
|  | 	Weight   uint64 | ||||||
|  | 	Nhidx    uint64 | ||||||
|  | 	Filler   [2]uint64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	SizeofBpfVersion    = 0x4 | ||||||
|  | 	SizeofBpfStat       = 0x8 | ||||||
|  | 	SizeofBpfZbuf       = 0x18 | ||||||
|  | 	SizeofBpfProgram    = 0x10 | ||||||
|  | 	SizeofBpfInsn       = 0x8 | ||||||
|  | 	SizeofBpfHdr        = 0x20 | ||||||
|  | 	SizeofBpfZbufHeader = 0x20 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type BpfVersion struct { | ||||||
|  | 	Major uint16 | ||||||
|  | 	Minor uint16 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type BpfStat struct { | ||||||
|  | 	Recv uint32 | ||||||
|  | 	Drop uint32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type BpfZbuf struct { | ||||||
|  | 	Bufa   *byte | ||||||
|  | 	Bufb   *byte | ||||||
|  | 	Buflen uint64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type BpfProgram struct { | ||||||
|  | 	Len   uint32 | ||||||
|  | 	Insns *BpfInsn | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type BpfInsn struct { | ||||||
|  | 	Code uint16 | ||||||
|  | 	Jt   uint8 | ||||||
|  | 	Jf   uint8 | ||||||
|  | 	K    uint32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type BpfHdr struct { | ||||||
|  | 	Tstamp  Timeval | ||||||
|  | 	Caplen  uint32 | ||||||
|  | 	Datalen uint32 | ||||||
|  | 	Hdrlen  uint16 | ||||||
|  | 	_       [6]byte | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type BpfZbufHeader struct { | ||||||
|  | 	Kernel_gen uint32 | ||||||
|  | 	Kernel_len uint32 | ||||||
|  | 	User_gen   uint32 | ||||||
|  | 	_          [5]uint32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Termios struct { | ||||||
|  | 	Iflag  uint32 | ||||||
|  | 	Oflag  uint32 | ||||||
|  | 	Cflag  uint32 | ||||||
|  | 	Lflag  uint32 | ||||||
|  | 	Cc     [20]uint8 | ||||||
|  | 	Ispeed uint32 | ||||||
|  | 	Ospeed uint32 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Winsize struct { | ||||||
|  | 	Row    uint16 | ||||||
|  | 	Col    uint16 | ||||||
|  | 	Xpixel uint16 | ||||||
|  | 	Ypixel uint16 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	AT_FDCWD            = -0x64 | ||||||
|  | 	AT_EACCESS          = 0x100 | ||||||
|  | 	AT_SYMLINK_NOFOLLOW = 0x200 | ||||||
|  | 	AT_SYMLINK_FOLLOW   = 0x400 | ||||||
|  | 	AT_REMOVEDIR        = 0x800 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type PollFd struct { | ||||||
|  | 	Fd      int32 | ||||||
|  | 	Events  int16 | ||||||
|  | 	Revents int16 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	POLLERR      = 0x8 | ||||||
|  | 	POLLHUP      = 0x10 | ||||||
|  | 	POLLIN       = 0x1 | ||||||
|  | 	POLLINIGNEOF = 0x2000 | ||||||
|  | 	POLLNVAL     = 0x20 | ||||||
|  | 	POLLOUT      = 0x4 | ||||||
|  | 	POLLPRI      = 0x2 | ||||||
|  | 	POLLRDBAND   = 0x80 | ||||||
|  | 	POLLRDNORM   = 0x40 | ||||||
|  | 	POLLWRBAND   = 0x100 | ||||||
|  | 	POLLWRNORM   = 0x4 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type CapRights struct { | ||||||
|  | 	Rights [2]uint64 | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type Utsname struct { | ||||||
|  | 	Sysname  [256]byte | ||||||
|  | 	Nodename [256]byte | ||||||
|  | 	Release  [256]byte | ||||||
|  | 	Version  [256]byte | ||||||
|  | 	Machine  [256]byte | ||||||
|  | } | ||||||
|  |  | ||||||
|  | const SizeofClockinfo = 0x14 | ||||||
|  |  | ||||||
|  | type Clockinfo struct { | ||||||
|  | 	Hz     int32 | ||||||
|  | 	Tick   int32 | ||||||
|  | 	Spare  int32 | ||||||
|  | 	Stathz int32 | ||||||
|  | 	Profhz int32 | ||||||
|  | } | ||||||
							
								
								
									
										43
									
								
								vendor/modernc.org/libc/build_all_targets.sh
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								vendor/modernc.org/libc/build_all_targets.sh
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,43 @@ | |||||||
|  | set -e | ||||||
|  | for tag in none dmesg libc.membrk libc.memgrind | ||||||
|  | do | ||||||
|  | 	echo "-tags=$tag" | ||||||
|  | 	GOOS=darwin GOARCH=amd64 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=darwin GOARCH=amd64 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=darwin GOARCH=arm64 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=darwin GOARCH=arm64 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=freebsd GOARCH=386 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=freebsd GOARCH=386 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=freebsd GOARCH=amd64 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=freebsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=freebsd GOARCH=arm go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=freebsd GOARCH=arm go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=linux GOARCH=386 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=linux GOARCH=386 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=linux GOARCH=amd64 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=linux GOARCH=amd64 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=linux GOARCH=arm go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=linux GOARCH=arm go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=linux GOARCH=arm64 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=linux GOARCH=arm64 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=linux GOARCH=ppc64le go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=linux GOARCH=riscv64 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=linux GOARCH=s390x go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=linux GOARCH=s390x go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=netbsd GOARCH=amd64 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=netbsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=netbsd GOARCH=arm go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=netbsd GOARCH=arm go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=openbsd GOARCH=386 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=openbsd GOARCH=386 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=openbsd GOARCH=amd64 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=openbsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=openbsd GOARCH=arm64 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=openbsd GOARCH=arm64 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=windows GOARCH=386 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=windows GOARCH=386 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=windows GOARCH=amd64 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=windows GOARCH=amd64 go test -tags=$tag -c -o /dev/null | ||||||
|  | 	GOOS=windows GOARCH=arm64 go build -tags=$tag -v ./... | ||||||
|  | 	GOOS=windows GOARCH=arm64 go test -tags=$tag -c -o /dev/null | ||||||
|  | done | ||||||
							
								
								
									
										504
									
								
								vendor/modernc.org/libc/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										504
									
								
								vendor/modernc.org/libc/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,504 @@ | |||||||
|  | // Code generated by 'go generate' - DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package libc // import "modernc.org/libc" | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{ | ||||||
|  | 	"_CurrentRuneLocale":               {}, | ||||||
|  | 	"_DefaultRuneLocale":               {}, | ||||||
|  | 	"_IO_putc":                         {}, | ||||||
|  | 	"_ThreadRuneLocale":                {}, | ||||||
|  | 	"___errno_location":                {}, | ||||||
|  | 	"___runetype":                      {}, | ||||||
|  | 	"___tolower":                       {}, | ||||||
|  | 	"___toupper":                       {}, | ||||||
|  | 	"__assert":                         {}, | ||||||
|  | 	"__assert_fail":                    {}, | ||||||
|  | 	"__builtin___memcpy_chk":           {}, | ||||||
|  | 	"__builtin___memmove_chk":          {}, | ||||||
|  | 	"__builtin___memset_chk":           {}, | ||||||
|  | 	"__builtin___snprintf_chk":         {}, | ||||||
|  | 	"__builtin___sprintf_chk":          {}, | ||||||
|  | 	"__builtin___strcat_chk":           {}, | ||||||
|  | 	"__builtin___strcpy_chk":           {}, | ||||||
|  | 	"__builtin___strncpy_chk":          {}, | ||||||
|  | 	"__builtin___vsnprintf_chk":        {}, | ||||||
|  | 	"__builtin_abort":                  {}, | ||||||
|  | 	"__builtin_abs":                    {}, | ||||||
|  | 	"__builtin_add_overflowInt64":      {}, | ||||||
|  | 	"__builtin_add_overflowUint32":     {}, | ||||||
|  | 	"__builtin_add_overflowUint64":     {}, | ||||||
|  | 	"__builtin_bswap16":                {}, | ||||||
|  | 	"__builtin_bswap32":                {}, | ||||||
|  | 	"__builtin_bswap64":                {}, | ||||||
|  | 	"__builtin_bzero":                  {}, | ||||||
|  | 	"__builtin_clz":                    {}, | ||||||
|  | 	"__builtin_clzl":                   {}, | ||||||
|  | 	"__builtin_clzll":                  {}, | ||||||
|  | 	"__builtin_constant_p_impl":        {}, | ||||||
|  | 	"__builtin_copysign":               {}, | ||||||
|  | 	"__builtin_copysignf":              {}, | ||||||
|  | 	"__builtin_copysignl":              {}, | ||||||
|  | 	"__builtin_exit":                   {}, | ||||||
|  | 	"__builtin_expect":                 {}, | ||||||
|  | 	"__builtin_fabs":                   {}, | ||||||
|  | 	"__builtin_fabsf":                  {}, | ||||||
|  | 	"__builtin_fabsl":                  {}, | ||||||
|  | 	"__builtin_free":                   {}, | ||||||
|  | 	"__builtin_getentropy":             {}, | ||||||
|  | 	"__builtin_huge_val":               {}, | ||||||
|  | 	"__builtin_huge_valf":              {}, | ||||||
|  | 	"__builtin_inf":                    {}, | ||||||
|  | 	"__builtin_inff":                   {}, | ||||||
|  | 	"__builtin_infl":                   {}, | ||||||
|  | 	"__builtin_isnan":                  {}, | ||||||
|  | 	"__builtin_isunordered":            {}, | ||||||
|  | 	"__builtin_llabs":                  {}, | ||||||
|  | 	"__builtin_malloc":                 {}, | ||||||
|  | 	"__builtin_memcmp":                 {}, | ||||||
|  | 	"__builtin_memcpy":                 {}, | ||||||
|  | 	"__builtin_memset":                 {}, | ||||||
|  | 	"__builtin_mmap":                   {}, | ||||||
|  | 	"__builtin_mul_overflowInt64":      {}, | ||||||
|  | 	"__builtin_mul_overflowUint128":    {}, | ||||||
|  | 	"__builtin_mul_overflowUint64":     {}, | ||||||
|  | 	"__builtin_nan":                    {}, | ||||||
|  | 	"__builtin_nanf":                   {}, | ||||||
|  | 	"__builtin_nanl":                   {}, | ||||||
|  | 	"__builtin_object_size":            {}, | ||||||
|  | 	"__builtin_popcount":               {}, | ||||||
|  | 	"__builtin_popcountl":              {}, | ||||||
|  | 	"__builtin_prefetch":               {}, | ||||||
|  | 	"__builtin_printf":                 {}, | ||||||
|  | 	"__builtin_snprintf":               {}, | ||||||
|  | 	"__builtin_sprintf":                {}, | ||||||
|  | 	"__builtin_strchr":                 {}, | ||||||
|  | 	"__builtin_strcmp":                 {}, | ||||||
|  | 	"__builtin_strcpy":                 {}, | ||||||
|  | 	"__builtin_strlen":                 {}, | ||||||
|  | 	"__builtin_sub_overflowInt64":      {}, | ||||||
|  | 	"__builtin_trap":                   {}, | ||||||
|  | 	"__builtin_unreachable":            {}, | ||||||
|  | 	"__ccgo_dmesg":                     {}, | ||||||
|  | 	"__ccgo_getMutexType":              {}, | ||||||
|  | 	"__ccgo_in6addr_anyp":              {}, | ||||||
|  | 	"__ccgo_pthreadAttrGetDetachState": {}, | ||||||
|  | 	"__ccgo_pthreadMutexattrGettype":   {}, | ||||||
|  | 	"__ccgo_sqlite3_log":               {}, | ||||||
|  | 	"__cmsg_nxthdr":                    {}, | ||||||
|  | 	"__ctype_get_mb_cur_max":           {}, | ||||||
|  | 	"__errno_location":                 {}, | ||||||
|  | 	"__error":                          {}, | ||||||
|  | 	"__floatscan":                      {}, | ||||||
|  | 	"__h_errno_location":               {}, | ||||||
|  | 	"__inet_aton":                      {}, | ||||||
|  | 	"__inet_ntoa":                      {}, | ||||||
|  | 	"__intscan":                        {}, | ||||||
|  | 	"__isalnum_l":                      {}, | ||||||
|  | 	"__isalpha_l":                      {}, | ||||||
|  | 	"__isdigit_l":                      {}, | ||||||
|  | 	"__islower_l":                      {}, | ||||||
|  | 	"__isnan":                          {}, | ||||||
|  | 	"__isnanf":                         {}, | ||||||
|  | 	"__isnanl":                         {}, | ||||||
|  | 	"__isoc99_sscanf":                  {}, | ||||||
|  | 	"__isprint_l":                      {}, | ||||||
|  | 	"__isspace_l":                      {}, | ||||||
|  | 	"__isthreaded":                     {}, | ||||||
|  | 	"__isupper_l":                      {}, | ||||||
|  | 	"__isxdigit_l":                     {}, | ||||||
|  | 	"__lookup_ipliteral":               {}, | ||||||
|  | 	"__lookup_name":                    {}, | ||||||
|  | 	"__lookup_serv":                    {}, | ||||||
|  | 	"__mb_sb_limit":                    {}, | ||||||
|  | 	"__runes_for_locale":               {}, | ||||||
|  | 	"__shgetc":                         {}, | ||||||
|  | 	"__shlim":                          {}, | ||||||
|  | 	"__srget":                          {}, | ||||||
|  | 	"__stderrp":                        {}, | ||||||
|  | 	"__stdinp":                         {}, | ||||||
|  | 	"__stdoutp":                        {}, | ||||||
|  | 	"__swbuf":                          {}, | ||||||
|  | 	"__sync_add_and_fetch_uint32":      {}, | ||||||
|  | 	"__sync_sub_and_fetch_uint32":      {}, | ||||||
|  | 	"__syscall1":                       {}, | ||||||
|  | 	"__syscall3":                       {}, | ||||||
|  | 	"__syscall4":                       {}, | ||||||
|  | 	"__toread":                         {}, | ||||||
|  | 	"__toread_needs_stdio_exit":        {}, | ||||||
|  | 	"__uflow":                          {}, | ||||||
|  | 	"__xuname":                         {}, | ||||||
|  | 	"_exit":                            {}, | ||||||
|  | 	"_longjmp":                         {}, | ||||||
|  | 	"_obstack_begin":                   {}, | ||||||
|  | 	"_obstack_newchunk":                {}, | ||||||
|  | 	"_setjmp":                          {}, | ||||||
|  | 	"abort":                            {}, | ||||||
|  | 	"abs":                              {}, | ||||||
|  | 	"accept":                           {}, | ||||||
|  | 	"access":                           {}, | ||||||
|  | 	"acos":                             {}, | ||||||
|  | 	"acosh":                            {}, | ||||||
|  | 	"alarm":                            {}, | ||||||
|  | 	"asin":                             {}, | ||||||
|  | 	"asinh":                            {}, | ||||||
|  | 	"atan":                             {}, | ||||||
|  | 	"atan2":                            {}, | ||||||
|  | 	"atanh":                            {}, | ||||||
|  | 	"atexit":                           {}, | ||||||
|  | 	"atof":                             {}, | ||||||
|  | 	"atoi":                             {}, | ||||||
|  | 	"atol":                             {}, | ||||||
|  | 	"backtrace":                        {}, | ||||||
|  | 	"backtrace_symbols_fd":             {}, | ||||||
|  | 	"bind":                             {}, | ||||||
|  | 	"bsearch":                          {}, | ||||||
|  | 	"bswap16":                          {}, | ||||||
|  | 	"bswap32":                          {}, | ||||||
|  | 	"bswap64":                          {}, | ||||||
|  | 	"bzero":                            {}, | ||||||
|  | 	"calloc":                           {}, | ||||||
|  | 	"ceil":                             {}, | ||||||
|  | 	"ceilf":                            {}, | ||||||
|  | 	"cfgetospeed":                      {}, | ||||||
|  | 	"cfsetispeed":                      {}, | ||||||
|  | 	"cfsetospeed":                      {}, | ||||||
|  | 	"chdir":                            {}, | ||||||
|  | 	"chflags":                          {}, | ||||||
|  | 	"chmod":                            {}, | ||||||
|  | 	"chown":                            {}, | ||||||
|  | 	"clock_gettime":                    {}, | ||||||
|  | 	"close":                            {}, | ||||||
|  | 	"closedir":                         {}, | ||||||
|  | 	"confstr":                          {}, | ||||||
|  | 	"connect":                          {}, | ||||||
|  | 	"copysign":                         {}, | ||||||
|  | 	"copysignf":                        {}, | ||||||
|  | 	"copysignl":                        {}, | ||||||
|  | 	"cos":                              {}, | ||||||
|  | 	"cosf":                             {}, | ||||||
|  | 	"cosh":                             {}, | ||||||
|  | 	"ctime":                            {}, | ||||||
|  | 	"ctime_r":                          {}, | ||||||
|  | 	"dlclose":                          {}, | ||||||
|  | 	"dlerror":                          {}, | ||||||
|  | 	"dlopen":                           {}, | ||||||
|  | 	"dlsym":                            {}, | ||||||
|  | 	"dup2":                             {}, | ||||||
|  | 	"endpwent":                         {}, | ||||||
|  | 	"environ":                          {}, | ||||||
|  | 	"execvp":                           {}, | ||||||
|  | 	"exit":                             {}, | ||||||
|  | 	"exp":                              {}, | ||||||
|  | 	"fabs":                             {}, | ||||||
|  | 	"fabsf":                            {}, | ||||||
|  | 	"fabsl":                            {}, | ||||||
|  | 	"fchmod":                           {}, | ||||||
|  | 	"fchown":                           {}, | ||||||
|  | 	"fclose":                           {}, | ||||||
|  | 	"fcntl":                            {}, | ||||||
|  | 	"fcntl64":                          {}, | ||||||
|  | 	"fdopen":                           {}, | ||||||
|  | 	"ferror":                           {}, | ||||||
|  | 	"fflush":                           {}, | ||||||
|  | 	"fgetc":                            {}, | ||||||
|  | 	"fgets":                            {}, | ||||||
|  | 	"fileno":                           {}, | ||||||
|  | 	"floor":                            {}, | ||||||
|  | 	"fmod":                             {}, | ||||||
|  | 	"fmodl":                            {}, | ||||||
|  | 	"fopen":                            {}, | ||||||
|  | 	"fopen64":                          {}, | ||||||
|  | 	"fork":                             {}, | ||||||
|  | 	"fprintf":                          {}, | ||||||
|  | 	"fputc":                            {}, | ||||||
|  | 	"fputs":                            {}, | ||||||
|  | 	"fread":                            {}, | ||||||
|  | 	"free":                             {}, | ||||||
|  | 	"freeaddrinfo":                     {}, | ||||||
|  | 	"frexp":                            {}, | ||||||
|  | 	"fscanf":                           {}, | ||||||
|  | 	"fseek":                            {}, | ||||||
|  | 	"fstat":                            {}, | ||||||
|  | 	"fstat64":                          {}, | ||||||
|  | 	"fsync":                            {}, | ||||||
|  | 	"ftell":                            {}, | ||||||
|  | 	"ftruncate":                        {}, | ||||||
|  | 	"fts64_close":                      {}, | ||||||
|  | 	"fts64_open":                       {}, | ||||||
|  | 	"fts64_read":                       {}, | ||||||
|  | 	"fts_close":                        {}, | ||||||
|  | 	"fts_open":                         {}, | ||||||
|  | 	"fts_read":                         {}, | ||||||
|  | 	"fwrite":                           {}, | ||||||
|  | 	"gai_strerror":                     {}, | ||||||
|  | 	"getaddrinfo":                      {}, | ||||||
|  | 	"getc":                             {}, | ||||||
|  | 	"getcwd":                           {}, | ||||||
|  | 	"getegid":                          {}, | ||||||
|  | 	"getentropy":                       {}, | ||||||
|  | 	"getenv":                           {}, | ||||||
|  | 	"geteuid":                          {}, | ||||||
|  | 	"getgid":                           {}, | ||||||
|  | 	"getgrgid":                         {}, | ||||||
|  | 	"getgrgid_r":                       {}, | ||||||
|  | 	"getgrnam":                         {}, | ||||||
|  | 	"getgrnam_r":                       {}, | ||||||
|  | 	"gethostbyaddr":                    {}, | ||||||
|  | 	"gethostbyaddr_r":                  {}, | ||||||
|  | 	"gethostbyname":                    {}, | ||||||
|  | 	"gethostbyname2":                   {}, | ||||||
|  | 	"gethostbyname2_r":                 {}, | ||||||
|  | 	"gethostname":                      {}, | ||||||
|  | 	"getnameinfo":                      {}, | ||||||
|  | 	"getpeername":                      {}, | ||||||
|  | 	"getpid":                           {}, | ||||||
|  | 	"getpwnam":                         {}, | ||||||
|  | 	"getpwnam_r":                       {}, | ||||||
|  | 	"getpwuid":                         {}, | ||||||
|  | 	"getpwuid_r":                       {}, | ||||||
|  | 	"getresgid":                        {}, | ||||||
|  | 	"getresuid":                        {}, | ||||||
|  | 	"getrlimit":                        {}, | ||||||
|  | 	"getrlimit64":                      {}, | ||||||
|  | 	"getrusage":                        {}, | ||||||
|  | 	"getservbyname":                    {}, | ||||||
|  | 	"getsockname":                      {}, | ||||||
|  | 	"getsockopt":                       {}, | ||||||
|  | 	"gettimeofday":                     {}, | ||||||
|  | 	"getuid":                           {}, | ||||||
|  | 	"gmtime_r":                         {}, | ||||||
|  | 	"h_errno":                          {}, | ||||||
|  | 	"htonl":                            {}, | ||||||
|  | 	"htons":                            {}, | ||||||
|  | 	"hypot":                            {}, | ||||||
|  | 	"inet_ntoa":                        {}, | ||||||
|  | 	"inet_ntop":                        {}, | ||||||
|  | 	"inet_pton":                        {}, | ||||||
|  | 	"initstate":                        {}, | ||||||
|  | 	"initstate_r":                      {}, | ||||||
|  | 	"ioctl":                            {}, | ||||||
|  | 	"isalnum":                          {}, | ||||||
|  | 	"isalpha":                          {}, | ||||||
|  | 	"isascii":                          {}, | ||||||
|  | 	"isatty":                           {}, | ||||||
|  | 	"isdigit":                          {}, | ||||||
|  | 	"islower":                          {}, | ||||||
|  | 	"isnan":                            {}, | ||||||
|  | 	"isnanf":                           {}, | ||||||
|  | 	"isnanl":                           {}, | ||||||
|  | 	"isprint":                          {}, | ||||||
|  | 	"isspace":                          {}, | ||||||
|  | 	"isupper":                          {}, | ||||||
|  | 	"isxdigit":                         {}, | ||||||
|  | 	"kill":                             {}, | ||||||
|  | 	"ldexp":                            {}, | ||||||
|  | 	"link":                             {}, | ||||||
|  | 	"listen":                           {}, | ||||||
|  | 	"llabs":                            {}, | ||||||
|  | 	"localtime":                        {}, | ||||||
|  | 	"localtime_r":                      {}, | ||||||
|  | 	"log":                              {}, | ||||||
|  | 	"log10":                            {}, | ||||||
|  | 	"longjmp":                          {}, | ||||||
|  | 	"lrand48":                          {}, | ||||||
|  | 	"lseek":                            {}, | ||||||
|  | 	"lseek64":                          {}, | ||||||
|  | 	"lstat":                            {}, | ||||||
|  | 	"lstat64":                          {}, | ||||||
|  | 	"malloc":                           {}, | ||||||
|  | 	"mblen":                            {}, | ||||||
|  | 	"mbstowcs":                         {}, | ||||||
|  | 	"mbtowc":                           {}, | ||||||
|  | 	"memchr":                           {}, | ||||||
|  | 	"memcmp":                           {}, | ||||||
|  | 	"memcpy":                           {}, | ||||||
|  | 	"memmove":                          {}, | ||||||
|  | 	"memset":                           {}, | ||||||
|  | 	"mkdir":                            {}, | ||||||
|  | 	"mkfifo":                           {}, | ||||||
|  | 	"mknod":                            {}, | ||||||
|  | 	"mkostemp":                         {}, | ||||||
|  | 	"mkstemp":                          {}, | ||||||
|  | 	"mkstemp64":                        {}, | ||||||
|  | 	"mkstemps":                         {}, | ||||||
|  | 	"mkstemps64":                       {}, | ||||||
|  | 	"mktime":                           {}, | ||||||
|  | 	"mmap":                             {}, | ||||||
|  | 	"modf":                             {}, | ||||||
|  | 	"munmap":                           {}, | ||||||
|  | 	"nl_langinfo":                      {}, | ||||||
|  | 	"ntohs":                            {}, | ||||||
|  | 	"obstack_free":                     {}, | ||||||
|  | 	"obstack_vprintf":                  {}, | ||||||
|  | 	"open":                             {}, | ||||||
|  | 	"open64":                           {}, | ||||||
|  | 	"opendir":                          {}, | ||||||
|  | 	"openpty":                          {}, | ||||||
|  | 	"pathconf":                         {}, | ||||||
|  | 	"pause":                            {}, | ||||||
|  | 	"pclose":                           {}, | ||||||
|  | 	"perror":                           {}, | ||||||
|  | 	"pipe":                             {}, | ||||||
|  | 	"poll":                             {}, | ||||||
|  | 	"popen":                            {}, | ||||||
|  | 	"pow":                              {}, | ||||||
|  | 	"printf":                           {}, | ||||||
|  | 	"pselect":                          {}, | ||||||
|  | 	"pthread_attr_destroy":             {}, | ||||||
|  | 	"pthread_attr_getdetachstate":      {}, | ||||||
|  | 	"pthread_attr_init":                {}, | ||||||
|  | 	"pthread_attr_setdetachstate":      {}, | ||||||
|  | 	"pthread_attr_setscope":            {}, | ||||||
|  | 	"pthread_attr_setstacksize":        {}, | ||||||
|  | 	"pthread_cond_broadcast":           {}, | ||||||
|  | 	"pthread_cond_destroy":             {}, | ||||||
|  | 	"pthread_cond_init":                {}, | ||||||
|  | 	"pthread_cond_signal":              {}, | ||||||
|  | 	"pthread_cond_timedwait":           {}, | ||||||
|  | 	"pthread_cond_wait":                {}, | ||||||
|  | 	"pthread_create":                   {}, | ||||||
|  | 	"pthread_detach":                   {}, | ||||||
|  | 	"pthread_equal":                    {}, | ||||||
|  | 	"pthread_exit":                     {}, | ||||||
|  | 	"pthread_getspecific":              {}, | ||||||
|  | 	"pthread_join":                     {}, | ||||||
|  | 	"pthread_key_create":               {}, | ||||||
|  | 	"pthread_key_delete":               {}, | ||||||
|  | 	"pthread_mutex_destroy":            {}, | ||||||
|  | 	"pthread_mutex_init":               {}, | ||||||
|  | 	"pthread_mutex_lock":               {}, | ||||||
|  | 	"pthread_mutex_trylock":            {}, | ||||||
|  | 	"pthread_mutex_unlock":             {}, | ||||||
|  | 	"pthread_mutexattr_destroy":        {}, | ||||||
|  | 	"pthread_mutexattr_init":           {}, | ||||||
|  | 	"pthread_mutexattr_settype":        {}, | ||||||
|  | 	"pthread_self":                     {}, | ||||||
|  | 	"pthread_setspecific":              {}, | ||||||
|  | 	"putc":                             {}, | ||||||
|  | 	"putchar":                          {}, | ||||||
|  | 	"puts":                             {}, | ||||||
|  | 	"qsort":                            {}, | ||||||
|  | 	"raise":                            {}, | ||||||
|  | 	"rand":                             {}, | ||||||
|  | 	"random":                           {}, | ||||||
|  | 	"random_r":                         {}, | ||||||
|  | 	"read":                             {}, | ||||||
|  | 	"readdir":                          {}, | ||||||
|  | 	"readdir64":                        {}, | ||||||
|  | 	"readlink":                         {}, | ||||||
|  | 	"readv":                            {}, | ||||||
|  | 	"realloc":                          {}, | ||||||
|  | 	"reallocarray":                     {}, | ||||||
|  | 	"realpath":                         {}, | ||||||
|  | 	"recv":                             {}, | ||||||
|  | 	"recvfrom":                         {}, | ||||||
|  | 	"recvmsg":                          {}, | ||||||
|  | 	"remove":                           {}, | ||||||
|  | 	"rename":                           {}, | ||||||
|  | 	"rewind":                           {}, | ||||||
|  | 	"rindex":                           {}, | ||||||
|  | 	"rint":                             {}, | ||||||
|  | 	"rmdir":                            {}, | ||||||
|  | 	"round":                            {}, | ||||||
|  | 	"scalbn":                           {}, | ||||||
|  | 	"scalbnl":                          {}, | ||||||
|  | 	"sched_yield":                      {}, | ||||||
|  | 	"select":                           {}, | ||||||
|  | 	"send":                             {}, | ||||||
|  | 	"sendmsg":                          {}, | ||||||
|  | 	"sendto":                           {}, | ||||||
|  | 	"setbuf":                           {}, | ||||||
|  | 	"setenv":                           {}, | ||||||
|  | 	"setjmp":                           {}, | ||||||
|  | 	"setlocale":                        {}, | ||||||
|  | 	"setrlimit":                        {}, | ||||||
|  | 	"setrlimit64":                      {}, | ||||||
|  | 	"setsid":                           {}, | ||||||
|  | 	"setsockopt":                       {}, | ||||||
|  | 	"setstate":                         {}, | ||||||
|  | 	"setvbuf":                          {}, | ||||||
|  | 	"shmat":                            {}, | ||||||
|  | 	"shmctl":                           {}, | ||||||
|  | 	"shmdt":                            {}, | ||||||
|  | 	"shutdown":                         {}, | ||||||
|  | 	"sigaction":                        {}, | ||||||
|  | 	"signal":                           {}, | ||||||
|  | 	"sin":                              {}, | ||||||
|  | 	"sinf":                             {}, | ||||||
|  | 	"sinh":                             {}, | ||||||
|  | 	"sleep":                            {}, | ||||||
|  | 	"snprintf":                         {}, | ||||||
|  | 	"socket":                           {}, | ||||||
|  | 	"sprintf":                          {}, | ||||||
|  | 	"sqrt":                             {}, | ||||||
|  | 	"srand48":                          {}, | ||||||
|  | 	"sscanf":                           {}, | ||||||
|  | 	"stat":                             {}, | ||||||
|  | 	"stat64":                           {}, | ||||||
|  | 	"stderr":                           {}, | ||||||
|  | 	"stdin":                            {}, | ||||||
|  | 	"stdout":                           {}, | ||||||
|  | 	"strcasecmp":                       {}, | ||||||
|  | 	"strcat":                           {}, | ||||||
|  | 	"strchr":                           {}, | ||||||
|  | 	"strcmp":                           {}, | ||||||
|  | 	"strcpy":                           {}, | ||||||
|  | 	"strcspn":                          {}, | ||||||
|  | 	"strdup":                           {}, | ||||||
|  | 	"strerror":                         {}, | ||||||
|  | 	"strerror_r":                       {}, | ||||||
|  | 	"strlen":                           {}, | ||||||
|  | 	"strncmp":                          {}, | ||||||
|  | 	"strncpy":                          {}, | ||||||
|  | 	"strnlen":                          {}, | ||||||
|  | 	"strpbrk":                          {}, | ||||||
|  | 	"strrchr":                          {}, | ||||||
|  | 	"strspn":                           {}, | ||||||
|  | 	"strstr":                           {}, | ||||||
|  | 	"strtod":                           {}, | ||||||
|  | 	"strtof":                           {}, | ||||||
|  | 	"strtoimax":                        {}, | ||||||
|  | 	"strtol":                           {}, | ||||||
|  | 	"strtold":                          {}, | ||||||
|  | 	"strtoll":                          {}, | ||||||
|  | 	"strtoul":                          {}, | ||||||
|  | 	"strtoull":                         {}, | ||||||
|  | 	"strtoumax":                        {}, | ||||||
|  | 	"symlink":                          {}, | ||||||
|  | 	"sysconf":                          {}, | ||||||
|  | 	"system":                           {}, | ||||||
|  | 	"tan":                              {}, | ||||||
|  | 	"tanh":                             {}, | ||||||
|  | 	"tcgetattr":                        {}, | ||||||
|  | 	"tcsendbreak":                      {}, | ||||||
|  | 	"tcsetattr":                        {}, | ||||||
|  | 	"time":                             {}, | ||||||
|  | 	"tmpfile":                          {}, | ||||||
|  | 	"tolower":                          {}, | ||||||
|  | 	"toupper":                          {}, | ||||||
|  | 	"trunc":                            {}, | ||||||
|  | 	"tzset":                            {}, | ||||||
|  | 	"umask":                            {}, | ||||||
|  | 	"uname":                            {}, | ||||||
|  | 	"ungetc":                           {}, | ||||||
|  | 	"unlink":                           {}, | ||||||
|  | 	"unsetenv":                         {}, | ||||||
|  | 	"usleep":                           {}, | ||||||
|  | 	"utime":                            {}, | ||||||
|  | 	"utimes":                           {}, | ||||||
|  | 	"uuid_generate_random":             {}, | ||||||
|  | 	"uuid_parse":                       {}, | ||||||
|  | 	"uuid_unparse":                     {}, | ||||||
|  | 	"vasprintf":                        {}, | ||||||
|  | 	"vfprintf":                         {}, | ||||||
|  | 	"vprintf":                          {}, | ||||||
|  | 	"vsnprintf":                        {}, | ||||||
|  | 	"vsprintf":                         {}, | ||||||
|  | 	"waitpid":                          {}, | ||||||
|  | 	"wcschr":                           {}, | ||||||
|  | 	"wctomb":                           {}, | ||||||
|  | 	"wcwidth":                          {}, | ||||||
|  | 	"write":                            {}, | ||||||
|  | 	"writev":                           {}, | ||||||
|  | 	"zero_struct_address":              {}, | ||||||
|  | } | ||||||
							
								
								
									
										504
									
								
								vendor/modernc.org/libc/capi_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										504
									
								
								vendor/modernc.org/libc/capi_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,504 @@ | |||||||
|  | // Code generated by 'go generate' - DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package libc // import "modernc.org/libc" | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{ | ||||||
|  | 	"_CurrentRuneLocale":               {}, | ||||||
|  | 	"_DefaultRuneLocale":               {}, | ||||||
|  | 	"_IO_putc":                         {}, | ||||||
|  | 	"_ThreadRuneLocale":                {}, | ||||||
|  | 	"___errno_location":                {}, | ||||||
|  | 	"___runetype":                      {}, | ||||||
|  | 	"___tolower":                       {}, | ||||||
|  | 	"___toupper":                       {}, | ||||||
|  | 	"__assert":                         {}, | ||||||
|  | 	"__assert_fail":                    {}, | ||||||
|  | 	"__builtin___memcpy_chk":           {}, | ||||||
|  | 	"__builtin___memmove_chk":          {}, | ||||||
|  | 	"__builtin___memset_chk":           {}, | ||||||
|  | 	"__builtin___snprintf_chk":         {}, | ||||||
|  | 	"__builtin___sprintf_chk":          {}, | ||||||
|  | 	"__builtin___strcat_chk":           {}, | ||||||
|  | 	"__builtin___strcpy_chk":           {}, | ||||||
|  | 	"__builtin___strncpy_chk":          {}, | ||||||
|  | 	"__builtin___vsnprintf_chk":        {}, | ||||||
|  | 	"__builtin_abort":                  {}, | ||||||
|  | 	"__builtin_abs":                    {}, | ||||||
|  | 	"__builtin_add_overflowInt64":      {}, | ||||||
|  | 	"__builtin_add_overflowUint32":     {}, | ||||||
|  | 	"__builtin_add_overflowUint64":     {}, | ||||||
|  | 	"__builtin_bswap16":                {}, | ||||||
|  | 	"__builtin_bswap32":                {}, | ||||||
|  | 	"__builtin_bswap64":                {}, | ||||||
|  | 	"__builtin_bzero":                  {}, | ||||||
|  | 	"__builtin_clz":                    {}, | ||||||
|  | 	"__builtin_clzl":                   {}, | ||||||
|  | 	"__builtin_clzll":                  {}, | ||||||
|  | 	"__builtin_constant_p_impl":        {}, | ||||||
|  | 	"__builtin_copysign":               {}, | ||||||
|  | 	"__builtin_copysignf":              {}, | ||||||
|  | 	"__builtin_copysignl":              {}, | ||||||
|  | 	"__builtin_exit":                   {}, | ||||||
|  | 	"__builtin_expect":                 {}, | ||||||
|  | 	"__builtin_fabs":                   {}, | ||||||
|  | 	"__builtin_fabsf":                  {}, | ||||||
|  | 	"__builtin_fabsl":                  {}, | ||||||
|  | 	"__builtin_free":                   {}, | ||||||
|  | 	"__builtin_getentropy":             {}, | ||||||
|  | 	"__builtin_huge_val":               {}, | ||||||
|  | 	"__builtin_huge_valf":              {}, | ||||||
|  | 	"__builtin_inf":                    {}, | ||||||
|  | 	"__builtin_inff":                   {}, | ||||||
|  | 	"__builtin_infl":                   {}, | ||||||
|  | 	"__builtin_isnan":                  {}, | ||||||
|  | 	"__builtin_isunordered":            {}, | ||||||
|  | 	"__builtin_llabs":                  {}, | ||||||
|  | 	"__builtin_malloc":                 {}, | ||||||
|  | 	"__builtin_memcmp":                 {}, | ||||||
|  | 	"__builtin_memcpy":                 {}, | ||||||
|  | 	"__builtin_memset":                 {}, | ||||||
|  | 	"__builtin_mmap":                   {}, | ||||||
|  | 	"__builtin_mul_overflowInt64":      {}, | ||||||
|  | 	"__builtin_mul_overflowUint128":    {}, | ||||||
|  | 	"__builtin_mul_overflowUint64":     {}, | ||||||
|  | 	"__builtin_nan":                    {}, | ||||||
|  | 	"__builtin_nanf":                   {}, | ||||||
|  | 	"__builtin_nanl":                   {}, | ||||||
|  | 	"__builtin_object_size":            {}, | ||||||
|  | 	"__builtin_popcount":               {}, | ||||||
|  | 	"__builtin_popcountl":              {}, | ||||||
|  | 	"__builtin_prefetch":               {}, | ||||||
|  | 	"__builtin_printf":                 {}, | ||||||
|  | 	"__builtin_snprintf":               {}, | ||||||
|  | 	"__builtin_sprintf":                {}, | ||||||
|  | 	"__builtin_strchr":                 {}, | ||||||
|  | 	"__builtin_strcmp":                 {}, | ||||||
|  | 	"__builtin_strcpy":                 {}, | ||||||
|  | 	"__builtin_strlen":                 {}, | ||||||
|  | 	"__builtin_sub_overflowInt64":      {}, | ||||||
|  | 	"__builtin_trap":                   {}, | ||||||
|  | 	"__builtin_unreachable":            {}, | ||||||
|  | 	"__ccgo_dmesg":                     {}, | ||||||
|  | 	"__ccgo_getMutexType":              {}, | ||||||
|  | 	"__ccgo_in6addr_anyp":              {}, | ||||||
|  | 	"__ccgo_pthreadAttrGetDetachState": {}, | ||||||
|  | 	"__ccgo_pthreadMutexattrGettype":   {}, | ||||||
|  | 	"__ccgo_sqlite3_log":               {}, | ||||||
|  | 	"__cmsg_nxthdr":                    {}, | ||||||
|  | 	"__ctype_get_mb_cur_max":           {}, | ||||||
|  | 	"__errno_location":                 {}, | ||||||
|  | 	"__error":                          {}, | ||||||
|  | 	"__floatscan":                      {}, | ||||||
|  | 	"__h_errno_location":               {}, | ||||||
|  | 	"__inet_aton":                      {}, | ||||||
|  | 	"__inet_ntoa":                      {}, | ||||||
|  | 	"__intscan":                        {}, | ||||||
|  | 	"__isalnum_l":                      {}, | ||||||
|  | 	"__isalpha_l":                      {}, | ||||||
|  | 	"__isdigit_l":                      {}, | ||||||
|  | 	"__islower_l":                      {}, | ||||||
|  | 	"__isnan":                          {}, | ||||||
|  | 	"__isnanf":                         {}, | ||||||
|  | 	"__isnanl":                         {}, | ||||||
|  | 	"__isoc99_sscanf":                  {}, | ||||||
|  | 	"__isprint_l":                      {}, | ||||||
|  | 	"__isspace_l":                      {}, | ||||||
|  | 	"__isthreaded":                     {}, | ||||||
|  | 	"__isupper_l":                      {}, | ||||||
|  | 	"__isxdigit_l":                     {}, | ||||||
|  | 	"__lookup_ipliteral":               {}, | ||||||
|  | 	"__lookup_name":                    {}, | ||||||
|  | 	"__lookup_serv":                    {}, | ||||||
|  | 	"__mb_sb_limit":                    {}, | ||||||
|  | 	"__runes_for_locale":               {}, | ||||||
|  | 	"__shgetc":                         {}, | ||||||
|  | 	"__shlim":                          {}, | ||||||
|  | 	"__srget":                          {}, | ||||||
|  | 	"__stderrp":                        {}, | ||||||
|  | 	"__stdinp":                         {}, | ||||||
|  | 	"__stdoutp":                        {}, | ||||||
|  | 	"__swbuf":                          {}, | ||||||
|  | 	"__sync_add_and_fetch_uint32":      {}, | ||||||
|  | 	"__sync_sub_and_fetch_uint32":      {}, | ||||||
|  | 	"__syscall1":                       {}, | ||||||
|  | 	"__syscall3":                       {}, | ||||||
|  | 	"__syscall4":                       {}, | ||||||
|  | 	"__toread":                         {}, | ||||||
|  | 	"__toread_needs_stdio_exit":        {}, | ||||||
|  | 	"__uflow":                          {}, | ||||||
|  | 	"__xuname":                         {}, | ||||||
|  | 	"_exit":                            {}, | ||||||
|  | 	"_longjmp":                         {}, | ||||||
|  | 	"_obstack_begin":                   {}, | ||||||
|  | 	"_obstack_newchunk":                {}, | ||||||
|  | 	"_setjmp":                          {}, | ||||||
|  | 	"abort":                            {}, | ||||||
|  | 	"abs":                              {}, | ||||||
|  | 	"accept":                           {}, | ||||||
|  | 	"access":                           {}, | ||||||
|  | 	"acos":                             {}, | ||||||
|  | 	"acosh":                            {}, | ||||||
|  | 	"alarm":                            {}, | ||||||
|  | 	"asin":                             {}, | ||||||
|  | 	"asinh":                            {}, | ||||||
|  | 	"atan":                             {}, | ||||||
|  | 	"atan2":                            {}, | ||||||
|  | 	"atanh":                            {}, | ||||||
|  | 	"atexit":                           {}, | ||||||
|  | 	"atof":                             {}, | ||||||
|  | 	"atoi":                             {}, | ||||||
|  | 	"atol":                             {}, | ||||||
|  | 	"backtrace":                        {}, | ||||||
|  | 	"backtrace_symbols_fd":             {}, | ||||||
|  | 	"bind":                             {}, | ||||||
|  | 	"bsearch":                          {}, | ||||||
|  | 	"bswap16":                          {}, | ||||||
|  | 	"bswap32":                          {}, | ||||||
|  | 	"bswap64":                          {}, | ||||||
|  | 	"bzero":                            {}, | ||||||
|  | 	"calloc":                           {}, | ||||||
|  | 	"ceil":                             {}, | ||||||
|  | 	"ceilf":                            {}, | ||||||
|  | 	"cfgetospeed":                      {}, | ||||||
|  | 	"cfsetispeed":                      {}, | ||||||
|  | 	"cfsetospeed":                      {}, | ||||||
|  | 	"chdir":                            {}, | ||||||
|  | 	"chflags":                          {}, | ||||||
|  | 	"chmod":                            {}, | ||||||
|  | 	"chown":                            {}, | ||||||
|  | 	"clock_gettime":                    {}, | ||||||
|  | 	"close":                            {}, | ||||||
|  | 	"closedir":                         {}, | ||||||
|  | 	"confstr":                          {}, | ||||||
|  | 	"connect":                          {}, | ||||||
|  | 	"copysign":                         {}, | ||||||
|  | 	"copysignf":                        {}, | ||||||
|  | 	"copysignl":                        {}, | ||||||
|  | 	"cos":                              {}, | ||||||
|  | 	"cosf":                             {}, | ||||||
|  | 	"cosh":                             {}, | ||||||
|  | 	"ctime":                            {}, | ||||||
|  | 	"ctime_r":                          {}, | ||||||
|  | 	"dlclose":                          {}, | ||||||
|  | 	"dlerror":                          {}, | ||||||
|  | 	"dlopen":                           {}, | ||||||
|  | 	"dlsym":                            {}, | ||||||
|  | 	"dup2":                             {}, | ||||||
|  | 	"endpwent":                         {}, | ||||||
|  | 	"environ":                          {}, | ||||||
|  | 	"execvp":                           {}, | ||||||
|  | 	"exit":                             {}, | ||||||
|  | 	"exp":                              {}, | ||||||
|  | 	"fabs":                             {}, | ||||||
|  | 	"fabsf":                            {}, | ||||||
|  | 	"fabsl":                            {}, | ||||||
|  | 	"fchmod":                           {}, | ||||||
|  | 	"fchown":                           {}, | ||||||
|  | 	"fclose":                           {}, | ||||||
|  | 	"fcntl":                            {}, | ||||||
|  | 	"fcntl64":                          {}, | ||||||
|  | 	"fdopen":                           {}, | ||||||
|  | 	"ferror":                           {}, | ||||||
|  | 	"fflush":                           {}, | ||||||
|  | 	"fgetc":                            {}, | ||||||
|  | 	"fgets":                            {}, | ||||||
|  | 	"fileno":                           {}, | ||||||
|  | 	"floor":                            {}, | ||||||
|  | 	"fmod":                             {}, | ||||||
|  | 	"fmodl":                            {}, | ||||||
|  | 	"fopen":                            {}, | ||||||
|  | 	"fopen64":                          {}, | ||||||
|  | 	"fork":                             {}, | ||||||
|  | 	"fprintf":                          {}, | ||||||
|  | 	"fputc":                            {}, | ||||||
|  | 	"fputs":                            {}, | ||||||
|  | 	"fread":                            {}, | ||||||
|  | 	"free":                             {}, | ||||||
|  | 	"freeaddrinfo":                     {}, | ||||||
|  | 	"frexp":                            {}, | ||||||
|  | 	"fscanf":                           {}, | ||||||
|  | 	"fseek":                            {}, | ||||||
|  | 	"fstat":                            {}, | ||||||
|  | 	"fstat64":                          {}, | ||||||
|  | 	"fsync":                            {}, | ||||||
|  | 	"ftell":                            {}, | ||||||
|  | 	"ftruncate":                        {}, | ||||||
|  | 	"fts64_close":                      {}, | ||||||
|  | 	"fts64_open":                       {}, | ||||||
|  | 	"fts64_read":                       {}, | ||||||
|  | 	"fts_close":                        {}, | ||||||
|  | 	"fts_open":                         {}, | ||||||
|  | 	"fts_read":                         {}, | ||||||
|  | 	"fwrite":                           {}, | ||||||
|  | 	"gai_strerror":                     {}, | ||||||
|  | 	"getaddrinfo":                      {}, | ||||||
|  | 	"getc":                             {}, | ||||||
|  | 	"getcwd":                           {}, | ||||||
|  | 	"getegid":                          {}, | ||||||
|  | 	"getentropy":                       {}, | ||||||
|  | 	"getenv":                           {}, | ||||||
|  | 	"geteuid":                          {}, | ||||||
|  | 	"getgid":                           {}, | ||||||
|  | 	"getgrgid":                         {}, | ||||||
|  | 	"getgrgid_r":                       {}, | ||||||
|  | 	"getgrnam":                         {}, | ||||||
|  | 	"getgrnam_r":                       {}, | ||||||
|  | 	"gethostbyaddr":                    {}, | ||||||
|  | 	"gethostbyaddr_r":                  {}, | ||||||
|  | 	"gethostbyname":                    {}, | ||||||
|  | 	"gethostbyname2":                   {}, | ||||||
|  | 	"gethostbyname2_r":                 {}, | ||||||
|  | 	"gethostname":                      {}, | ||||||
|  | 	"getnameinfo":                      {}, | ||||||
|  | 	"getpeername":                      {}, | ||||||
|  | 	"getpid":                           {}, | ||||||
|  | 	"getpwnam":                         {}, | ||||||
|  | 	"getpwnam_r":                       {}, | ||||||
|  | 	"getpwuid":                         {}, | ||||||
|  | 	"getpwuid_r":                       {}, | ||||||
|  | 	"getresgid":                        {}, | ||||||
|  | 	"getresuid":                        {}, | ||||||
|  | 	"getrlimit":                        {}, | ||||||
|  | 	"getrlimit64":                      {}, | ||||||
|  | 	"getrusage":                        {}, | ||||||
|  | 	"getservbyname":                    {}, | ||||||
|  | 	"getsockname":                      {}, | ||||||
|  | 	"getsockopt":                       {}, | ||||||
|  | 	"gettimeofday":                     {}, | ||||||
|  | 	"getuid":                           {}, | ||||||
|  | 	"gmtime_r":                         {}, | ||||||
|  | 	"h_errno":                          {}, | ||||||
|  | 	"htonl":                            {}, | ||||||
|  | 	"htons":                            {}, | ||||||
|  | 	"hypot":                            {}, | ||||||
|  | 	"inet_ntoa":                        {}, | ||||||
|  | 	"inet_ntop":                        {}, | ||||||
|  | 	"inet_pton":                        {}, | ||||||
|  | 	"initstate":                        {}, | ||||||
|  | 	"initstate_r":                      {}, | ||||||
|  | 	"ioctl":                            {}, | ||||||
|  | 	"isalnum":                          {}, | ||||||
|  | 	"isalpha":                          {}, | ||||||
|  | 	"isascii":                          {}, | ||||||
|  | 	"isatty":                           {}, | ||||||
|  | 	"isdigit":                          {}, | ||||||
|  | 	"islower":                          {}, | ||||||
|  | 	"isnan":                            {}, | ||||||
|  | 	"isnanf":                           {}, | ||||||
|  | 	"isnanl":                           {}, | ||||||
|  | 	"isprint":                          {}, | ||||||
|  | 	"isspace":                          {}, | ||||||
|  | 	"isupper":                          {}, | ||||||
|  | 	"isxdigit":                         {}, | ||||||
|  | 	"kill":                             {}, | ||||||
|  | 	"ldexp":                            {}, | ||||||
|  | 	"link":                             {}, | ||||||
|  | 	"listen":                           {}, | ||||||
|  | 	"llabs":                            {}, | ||||||
|  | 	"localtime":                        {}, | ||||||
|  | 	"localtime_r":                      {}, | ||||||
|  | 	"log":                              {}, | ||||||
|  | 	"log10":                            {}, | ||||||
|  | 	"longjmp":                          {}, | ||||||
|  | 	"lrand48":                          {}, | ||||||
|  | 	"lseek":                            {}, | ||||||
|  | 	"lseek64":                          {}, | ||||||
|  | 	"lstat":                            {}, | ||||||
|  | 	"lstat64":                          {}, | ||||||
|  | 	"malloc":                           {}, | ||||||
|  | 	"mblen":                            {}, | ||||||
|  | 	"mbstowcs":                         {}, | ||||||
|  | 	"mbtowc":                           {}, | ||||||
|  | 	"memchr":                           {}, | ||||||
|  | 	"memcmp":                           {}, | ||||||
|  | 	"memcpy":                           {}, | ||||||
|  | 	"memmove":                          {}, | ||||||
|  | 	"memset":                           {}, | ||||||
|  | 	"mkdir":                            {}, | ||||||
|  | 	"mkfifo":                           {}, | ||||||
|  | 	"mknod":                            {}, | ||||||
|  | 	"mkostemp":                         {}, | ||||||
|  | 	"mkstemp":                          {}, | ||||||
|  | 	"mkstemp64":                        {}, | ||||||
|  | 	"mkstemps":                         {}, | ||||||
|  | 	"mkstemps64":                       {}, | ||||||
|  | 	"mktime":                           {}, | ||||||
|  | 	"mmap":                             {}, | ||||||
|  | 	"modf":                             {}, | ||||||
|  | 	"munmap":                           {}, | ||||||
|  | 	"nl_langinfo":                      {}, | ||||||
|  | 	"ntohs":                            {}, | ||||||
|  | 	"obstack_free":                     {}, | ||||||
|  | 	"obstack_vprintf":                  {}, | ||||||
|  | 	"open":                             {}, | ||||||
|  | 	"open64":                           {}, | ||||||
|  | 	"opendir":                          {}, | ||||||
|  | 	"openpty":                          {}, | ||||||
|  | 	"pathconf":                         {}, | ||||||
|  | 	"pause":                            {}, | ||||||
|  | 	"pclose":                           {}, | ||||||
|  | 	"perror":                           {}, | ||||||
|  | 	"pipe":                             {}, | ||||||
|  | 	"poll":                             {}, | ||||||
|  | 	"popen":                            {}, | ||||||
|  | 	"pow":                              {}, | ||||||
|  | 	"printf":                           {}, | ||||||
|  | 	"pselect":                          {}, | ||||||
|  | 	"pthread_attr_destroy":             {}, | ||||||
|  | 	"pthread_attr_getdetachstate":      {}, | ||||||
|  | 	"pthread_attr_init":                {}, | ||||||
|  | 	"pthread_attr_setdetachstate":      {}, | ||||||
|  | 	"pthread_attr_setscope":            {}, | ||||||
|  | 	"pthread_attr_setstacksize":        {}, | ||||||
|  | 	"pthread_cond_broadcast":           {}, | ||||||
|  | 	"pthread_cond_destroy":             {}, | ||||||
|  | 	"pthread_cond_init":                {}, | ||||||
|  | 	"pthread_cond_signal":              {}, | ||||||
|  | 	"pthread_cond_timedwait":           {}, | ||||||
|  | 	"pthread_cond_wait":                {}, | ||||||
|  | 	"pthread_create":                   {}, | ||||||
|  | 	"pthread_detach":                   {}, | ||||||
|  | 	"pthread_equal":                    {}, | ||||||
|  | 	"pthread_exit":                     {}, | ||||||
|  | 	"pthread_getspecific":              {}, | ||||||
|  | 	"pthread_join":                     {}, | ||||||
|  | 	"pthread_key_create":               {}, | ||||||
|  | 	"pthread_key_delete":               {}, | ||||||
|  | 	"pthread_mutex_destroy":            {}, | ||||||
|  | 	"pthread_mutex_init":               {}, | ||||||
|  | 	"pthread_mutex_lock":               {}, | ||||||
|  | 	"pthread_mutex_trylock":            {}, | ||||||
|  | 	"pthread_mutex_unlock":             {}, | ||||||
|  | 	"pthread_mutexattr_destroy":        {}, | ||||||
|  | 	"pthread_mutexattr_init":           {}, | ||||||
|  | 	"pthread_mutexattr_settype":        {}, | ||||||
|  | 	"pthread_self":                     {}, | ||||||
|  | 	"pthread_setspecific":              {}, | ||||||
|  | 	"putc":                             {}, | ||||||
|  | 	"putchar":                          {}, | ||||||
|  | 	"puts":                             {}, | ||||||
|  | 	"qsort":                            {}, | ||||||
|  | 	"raise":                            {}, | ||||||
|  | 	"rand":                             {}, | ||||||
|  | 	"random":                           {}, | ||||||
|  | 	"random_r":                         {}, | ||||||
|  | 	"read":                             {}, | ||||||
|  | 	"readdir":                          {}, | ||||||
|  | 	"readdir64":                        {}, | ||||||
|  | 	"readlink":                         {}, | ||||||
|  | 	"readv":                            {}, | ||||||
|  | 	"realloc":                          {}, | ||||||
|  | 	"reallocarray":                     {}, | ||||||
|  | 	"realpath":                         {}, | ||||||
|  | 	"recv":                             {}, | ||||||
|  | 	"recvfrom":                         {}, | ||||||
|  | 	"recvmsg":                          {}, | ||||||
|  | 	"remove":                           {}, | ||||||
|  | 	"rename":                           {}, | ||||||
|  | 	"rewind":                           {}, | ||||||
|  | 	"rindex":                           {}, | ||||||
|  | 	"rint":                             {}, | ||||||
|  | 	"rmdir":                            {}, | ||||||
|  | 	"round":                            {}, | ||||||
|  | 	"scalbn":                           {}, | ||||||
|  | 	"scalbnl":                          {}, | ||||||
|  | 	"sched_yield":                      {}, | ||||||
|  | 	"select":                           {}, | ||||||
|  | 	"send":                             {}, | ||||||
|  | 	"sendmsg":                          {}, | ||||||
|  | 	"sendto":                           {}, | ||||||
|  | 	"setbuf":                           {}, | ||||||
|  | 	"setenv":                           {}, | ||||||
|  | 	"setjmp":                           {}, | ||||||
|  | 	"setlocale":                        {}, | ||||||
|  | 	"setrlimit":                        {}, | ||||||
|  | 	"setrlimit64":                      {}, | ||||||
|  | 	"setsid":                           {}, | ||||||
|  | 	"setsockopt":                       {}, | ||||||
|  | 	"setstate":                         {}, | ||||||
|  | 	"setvbuf":                          {}, | ||||||
|  | 	"shmat":                            {}, | ||||||
|  | 	"shmctl":                           {}, | ||||||
|  | 	"shmdt":                            {}, | ||||||
|  | 	"shutdown":                         {}, | ||||||
|  | 	"sigaction":                        {}, | ||||||
|  | 	"signal":                           {}, | ||||||
|  | 	"sin":                              {}, | ||||||
|  | 	"sinf":                             {}, | ||||||
|  | 	"sinh":                             {}, | ||||||
|  | 	"sleep":                            {}, | ||||||
|  | 	"snprintf":                         {}, | ||||||
|  | 	"socket":                           {}, | ||||||
|  | 	"sprintf":                          {}, | ||||||
|  | 	"sqrt":                             {}, | ||||||
|  | 	"srand48":                          {}, | ||||||
|  | 	"sscanf":                           {}, | ||||||
|  | 	"stat":                             {}, | ||||||
|  | 	"stat64":                           {}, | ||||||
|  | 	"stderr":                           {}, | ||||||
|  | 	"stdin":                            {}, | ||||||
|  | 	"stdout":                           {}, | ||||||
|  | 	"strcasecmp":                       {}, | ||||||
|  | 	"strcat":                           {}, | ||||||
|  | 	"strchr":                           {}, | ||||||
|  | 	"strcmp":                           {}, | ||||||
|  | 	"strcpy":                           {}, | ||||||
|  | 	"strcspn":                          {}, | ||||||
|  | 	"strdup":                           {}, | ||||||
|  | 	"strerror":                         {}, | ||||||
|  | 	"strerror_r":                       {}, | ||||||
|  | 	"strlen":                           {}, | ||||||
|  | 	"strncmp":                          {}, | ||||||
|  | 	"strncpy":                          {}, | ||||||
|  | 	"strnlen":                          {}, | ||||||
|  | 	"strpbrk":                          {}, | ||||||
|  | 	"strrchr":                          {}, | ||||||
|  | 	"strspn":                           {}, | ||||||
|  | 	"strstr":                           {}, | ||||||
|  | 	"strtod":                           {}, | ||||||
|  | 	"strtof":                           {}, | ||||||
|  | 	"strtoimax":                        {}, | ||||||
|  | 	"strtol":                           {}, | ||||||
|  | 	"strtold":                          {}, | ||||||
|  | 	"strtoll":                          {}, | ||||||
|  | 	"strtoul":                          {}, | ||||||
|  | 	"strtoull":                         {}, | ||||||
|  | 	"strtoumax":                        {}, | ||||||
|  | 	"symlink":                          {}, | ||||||
|  | 	"sysconf":                          {}, | ||||||
|  | 	"system":                           {}, | ||||||
|  | 	"tan":                              {}, | ||||||
|  | 	"tanh":                             {}, | ||||||
|  | 	"tcgetattr":                        {}, | ||||||
|  | 	"tcsendbreak":                      {}, | ||||||
|  | 	"tcsetattr":                        {}, | ||||||
|  | 	"time":                             {}, | ||||||
|  | 	"tmpfile":                          {}, | ||||||
|  | 	"tolower":                          {}, | ||||||
|  | 	"toupper":                          {}, | ||||||
|  | 	"trunc":                            {}, | ||||||
|  | 	"tzset":                            {}, | ||||||
|  | 	"umask":                            {}, | ||||||
|  | 	"uname":                            {}, | ||||||
|  | 	"ungetc":                           {}, | ||||||
|  | 	"unlink":                           {}, | ||||||
|  | 	"unsetenv":                         {}, | ||||||
|  | 	"usleep":                           {}, | ||||||
|  | 	"utime":                            {}, | ||||||
|  | 	"utimes":                           {}, | ||||||
|  | 	"uuid_generate_random":             {}, | ||||||
|  | 	"uuid_parse":                       {}, | ||||||
|  | 	"uuid_unparse":                     {}, | ||||||
|  | 	"vasprintf":                        {}, | ||||||
|  | 	"vfprintf":                         {}, | ||||||
|  | 	"vprintf":                          {}, | ||||||
|  | 	"vsnprintf":                        {}, | ||||||
|  | 	"vsprintf":                         {}, | ||||||
|  | 	"waitpid":                          {}, | ||||||
|  | 	"wcschr":                           {}, | ||||||
|  | 	"wctomb":                           {}, | ||||||
|  | 	"wcwidth":                          {}, | ||||||
|  | 	"write":                            {}, | ||||||
|  | 	"writev":                           {}, | ||||||
|  | 	"zero_struct_address":              {}, | ||||||
|  | } | ||||||
							
								
								
									
										504
									
								
								vendor/modernc.org/libc/capi_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										504
									
								
								vendor/modernc.org/libc/capi_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,504 @@ | |||||||
|  | // Code generated by 'go generate' - DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package libc // import "modernc.org/libc" | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{ | ||||||
|  | 	"_CurrentRuneLocale":               {}, | ||||||
|  | 	"_DefaultRuneLocale":               {}, | ||||||
|  | 	"_IO_putc":                         {}, | ||||||
|  | 	"_ThreadRuneLocale":                {}, | ||||||
|  | 	"___errno_location":                {}, | ||||||
|  | 	"___runetype":                      {}, | ||||||
|  | 	"___tolower":                       {}, | ||||||
|  | 	"___toupper":                       {}, | ||||||
|  | 	"__assert":                         {}, | ||||||
|  | 	"__assert_fail":                    {}, | ||||||
|  | 	"__builtin___memcpy_chk":           {}, | ||||||
|  | 	"__builtin___memmove_chk":          {}, | ||||||
|  | 	"__builtin___memset_chk":           {}, | ||||||
|  | 	"__builtin___snprintf_chk":         {}, | ||||||
|  | 	"__builtin___sprintf_chk":          {}, | ||||||
|  | 	"__builtin___strcat_chk":           {}, | ||||||
|  | 	"__builtin___strcpy_chk":           {}, | ||||||
|  | 	"__builtin___strncpy_chk":          {}, | ||||||
|  | 	"__builtin___vsnprintf_chk":        {}, | ||||||
|  | 	"__builtin_abort":                  {}, | ||||||
|  | 	"__builtin_abs":                    {}, | ||||||
|  | 	"__builtin_add_overflowInt64":      {}, | ||||||
|  | 	"__builtin_add_overflowUint32":     {}, | ||||||
|  | 	"__builtin_add_overflowUint64":     {}, | ||||||
|  | 	"__builtin_bswap16":                {}, | ||||||
|  | 	"__builtin_bswap32":                {}, | ||||||
|  | 	"__builtin_bswap64":                {}, | ||||||
|  | 	"__builtin_bzero":                  {}, | ||||||
|  | 	"__builtin_clz":                    {}, | ||||||
|  | 	"__builtin_clzl":                   {}, | ||||||
|  | 	"__builtin_clzll":                  {}, | ||||||
|  | 	"__builtin_constant_p_impl":        {}, | ||||||
|  | 	"__builtin_copysign":               {}, | ||||||
|  | 	"__builtin_copysignf":              {}, | ||||||
|  | 	"__builtin_copysignl":              {}, | ||||||
|  | 	"__builtin_exit":                   {}, | ||||||
|  | 	"__builtin_expect":                 {}, | ||||||
|  | 	"__builtin_fabs":                   {}, | ||||||
|  | 	"__builtin_fabsf":                  {}, | ||||||
|  | 	"__builtin_fabsl":                  {}, | ||||||
|  | 	"__builtin_free":                   {}, | ||||||
|  | 	"__builtin_getentropy":             {}, | ||||||
|  | 	"__builtin_huge_val":               {}, | ||||||
|  | 	"__builtin_huge_valf":              {}, | ||||||
|  | 	"__builtin_inf":                    {}, | ||||||
|  | 	"__builtin_inff":                   {}, | ||||||
|  | 	"__builtin_infl":                   {}, | ||||||
|  | 	"__builtin_isnan":                  {}, | ||||||
|  | 	"__builtin_isunordered":            {}, | ||||||
|  | 	"__builtin_llabs":                  {}, | ||||||
|  | 	"__builtin_malloc":                 {}, | ||||||
|  | 	"__builtin_memcmp":                 {}, | ||||||
|  | 	"__builtin_memcpy":                 {}, | ||||||
|  | 	"__builtin_memset":                 {}, | ||||||
|  | 	"__builtin_mmap":                   {}, | ||||||
|  | 	"__builtin_mul_overflowInt64":      {}, | ||||||
|  | 	"__builtin_mul_overflowUint128":    {}, | ||||||
|  | 	"__builtin_mul_overflowUint64":     {}, | ||||||
|  | 	"__builtin_nan":                    {}, | ||||||
|  | 	"__builtin_nanf":                   {}, | ||||||
|  | 	"__builtin_nanl":                   {}, | ||||||
|  | 	"__builtin_object_size":            {}, | ||||||
|  | 	"__builtin_popcount":               {}, | ||||||
|  | 	"__builtin_popcountl":              {}, | ||||||
|  | 	"__builtin_prefetch":               {}, | ||||||
|  | 	"__builtin_printf":                 {}, | ||||||
|  | 	"__builtin_snprintf":               {}, | ||||||
|  | 	"__builtin_sprintf":                {}, | ||||||
|  | 	"__builtin_strchr":                 {}, | ||||||
|  | 	"__builtin_strcmp":                 {}, | ||||||
|  | 	"__builtin_strcpy":                 {}, | ||||||
|  | 	"__builtin_strlen":                 {}, | ||||||
|  | 	"__builtin_sub_overflowInt64":      {}, | ||||||
|  | 	"__builtin_trap":                   {}, | ||||||
|  | 	"__builtin_unreachable":            {}, | ||||||
|  | 	"__ccgo_dmesg":                     {}, | ||||||
|  | 	"__ccgo_getMutexType":              {}, | ||||||
|  | 	"__ccgo_in6addr_anyp":              {}, | ||||||
|  | 	"__ccgo_pthreadAttrGetDetachState": {}, | ||||||
|  | 	"__ccgo_pthreadMutexattrGettype":   {}, | ||||||
|  | 	"__ccgo_sqlite3_log":               {}, | ||||||
|  | 	"__cmsg_nxthdr":                    {}, | ||||||
|  | 	"__ctype_get_mb_cur_max":           {}, | ||||||
|  | 	"__errno_location":                 {}, | ||||||
|  | 	"__error":                          {}, | ||||||
|  | 	"__floatscan":                      {}, | ||||||
|  | 	"__h_errno_location":               {}, | ||||||
|  | 	"__inet_aton":                      {}, | ||||||
|  | 	"__inet_ntoa":                      {}, | ||||||
|  | 	"__intscan":                        {}, | ||||||
|  | 	"__isalnum_l":                      {}, | ||||||
|  | 	"__isalpha_l":                      {}, | ||||||
|  | 	"__isdigit_l":                      {}, | ||||||
|  | 	"__islower_l":                      {}, | ||||||
|  | 	"__isnan":                          {}, | ||||||
|  | 	"__isnanf":                         {}, | ||||||
|  | 	"__isnanl":                         {}, | ||||||
|  | 	"__isoc99_sscanf":                  {}, | ||||||
|  | 	"__isprint_l":                      {}, | ||||||
|  | 	"__isspace_l":                      {}, | ||||||
|  | 	"__isthreaded":                     {}, | ||||||
|  | 	"__isupper_l":                      {}, | ||||||
|  | 	"__isxdigit_l":                     {}, | ||||||
|  | 	"__lookup_ipliteral":               {}, | ||||||
|  | 	"__lookup_name":                    {}, | ||||||
|  | 	"__lookup_serv":                    {}, | ||||||
|  | 	"__mb_sb_limit":                    {}, | ||||||
|  | 	"__runes_for_locale":               {}, | ||||||
|  | 	"__shgetc":                         {}, | ||||||
|  | 	"__shlim":                          {}, | ||||||
|  | 	"__srget":                          {}, | ||||||
|  | 	"__stderrp":                        {}, | ||||||
|  | 	"__stdinp":                         {}, | ||||||
|  | 	"__stdoutp":                        {}, | ||||||
|  | 	"__swbuf":                          {}, | ||||||
|  | 	"__sync_add_and_fetch_uint32":      {}, | ||||||
|  | 	"__sync_sub_and_fetch_uint32":      {}, | ||||||
|  | 	"__syscall1":                       {}, | ||||||
|  | 	"__syscall3":                       {}, | ||||||
|  | 	"__syscall4":                       {}, | ||||||
|  | 	"__toread":                         {}, | ||||||
|  | 	"__toread_needs_stdio_exit":        {}, | ||||||
|  | 	"__uflow":                          {}, | ||||||
|  | 	"__xuname":                         {}, | ||||||
|  | 	"_exit":                            {}, | ||||||
|  | 	"_longjmp":                         {}, | ||||||
|  | 	"_obstack_begin":                   {}, | ||||||
|  | 	"_obstack_newchunk":                {}, | ||||||
|  | 	"_setjmp":                          {}, | ||||||
|  | 	"abort":                            {}, | ||||||
|  | 	"abs":                              {}, | ||||||
|  | 	"accept":                           {}, | ||||||
|  | 	"access":                           {}, | ||||||
|  | 	"acos":                             {}, | ||||||
|  | 	"acosh":                            {}, | ||||||
|  | 	"alarm":                            {}, | ||||||
|  | 	"asin":                             {}, | ||||||
|  | 	"asinh":                            {}, | ||||||
|  | 	"atan":                             {}, | ||||||
|  | 	"atan2":                            {}, | ||||||
|  | 	"atanh":                            {}, | ||||||
|  | 	"atexit":                           {}, | ||||||
|  | 	"atof":                             {}, | ||||||
|  | 	"atoi":                             {}, | ||||||
|  | 	"atol":                             {}, | ||||||
|  | 	"backtrace":                        {}, | ||||||
|  | 	"backtrace_symbols_fd":             {}, | ||||||
|  | 	"bind":                             {}, | ||||||
|  | 	"bsearch":                          {}, | ||||||
|  | 	"bswap16":                          {}, | ||||||
|  | 	"bswap32":                          {}, | ||||||
|  | 	"bswap64":                          {}, | ||||||
|  | 	"bzero":                            {}, | ||||||
|  | 	"calloc":                           {}, | ||||||
|  | 	"ceil":                             {}, | ||||||
|  | 	"ceilf":                            {}, | ||||||
|  | 	"cfgetospeed":                      {}, | ||||||
|  | 	"cfsetispeed":                      {}, | ||||||
|  | 	"cfsetospeed":                      {}, | ||||||
|  | 	"chdir":                            {}, | ||||||
|  | 	"chflags":                          {}, | ||||||
|  | 	"chmod":                            {}, | ||||||
|  | 	"chown":                            {}, | ||||||
|  | 	"clock_gettime":                    {}, | ||||||
|  | 	"close":                            {}, | ||||||
|  | 	"closedir":                         {}, | ||||||
|  | 	"confstr":                          {}, | ||||||
|  | 	"connect":                          {}, | ||||||
|  | 	"copysign":                         {}, | ||||||
|  | 	"copysignf":                        {}, | ||||||
|  | 	"copysignl":                        {}, | ||||||
|  | 	"cos":                              {}, | ||||||
|  | 	"cosf":                             {}, | ||||||
|  | 	"cosh":                             {}, | ||||||
|  | 	"ctime":                            {}, | ||||||
|  | 	"ctime_r":                          {}, | ||||||
|  | 	"dlclose":                          {}, | ||||||
|  | 	"dlerror":                          {}, | ||||||
|  | 	"dlopen":                           {}, | ||||||
|  | 	"dlsym":                            {}, | ||||||
|  | 	"dup2":                             {}, | ||||||
|  | 	"endpwent":                         {}, | ||||||
|  | 	"environ":                          {}, | ||||||
|  | 	"execvp":                           {}, | ||||||
|  | 	"exit":                             {}, | ||||||
|  | 	"exp":                              {}, | ||||||
|  | 	"fabs":                             {}, | ||||||
|  | 	"fabsf":                            {}, | ||||||
|  | 	"fabsl":                            {}, | ||||||
|  | 	"fchmod":                           {}, | ||||||
|  | 	"fchown":                           {}, | ||||||
|  | 	"fclose":                           {}, | ||||||
|  | 	"fcntl":                            {}, | ||||||
|  | 	"fcntl64":                          {}, | ||||||
|  | 	"fdopen":                           {}, | ||||||
|  | 	"ferror":                           {}, | ||||||
|  | 	"fflush":                           {}, | ||||||
|  | 	"fgetc":                            {}, | ||||||
|  | 	"fgets":                            {}, | ||||||
|  | 	"fileno":                           {}, | ||||||
|  | 	"floor":                            {}, | ||||||
|  | 	"fmod":                             {}, | ||||||
|  | 	"fmodl":                            {}, | ||||||
|  | 	"fopen":                            {}, | ||||||
|  | 	"fopen64":                          {}, | ||||||
|  | 	"fork":                             {}, | ||||||
|  | 	"fprintf":                          {}, | ||||||
|  | 	"fputc":                            {}, | ||||||
|  | 	"fputs":                            {}, | ||||||
|  | 	"fread":                            {}, | ||||||
|  | 	"free":                             {}, | ||||||
|  | 	"freeaddrinfo":                     {}, | ||||||
|  | 	"frexp":                            {}, | ||||||
|  | 	"fscanf":                           {}, | ||||||
|  | 	"fseek":                            {}, | ||||||
|  | 	"fstat":                            {}, | ||||||
|  | 	"fstat64":                          {}, | ||||||
|  | 	"fsync":                            {}, | ||||||
|  | 	"ftell":                            {}, | ||||||
|  | 	"ftruncate":                        {}, | ||||||
|  | 	"fts64_close":                      {}, | ||||||
|  | 	"fts64_open":                       {}, | ||||||
|  | 	"fts64_read":                       {}, | ||||||
|  | 	"fts_close":                        {}, | ||||||
|  | 	"fts_open":                         {}, | ||||||
|  | 	"fts_read":                         {}, | ||||||
|  | 	"fwrite":                           {}, | ||||||
|  | 	"gai_strerror":                     {}, | ||||||
|  | 	"getaddrinfo":                      {}, | ||||||
|  | 	"getc":                             {}, | ||||||
|  | 	"getcwd":                           {}, | ||||||
|  | 	"getegid":                          {}, | ||||||
|  | 	"getentropy":                       {}, | ||||||
|  | 	"getenv":                           {}, | ||||||
|  | 	"geteuid":                          {}, | ||||||
|  | 	"getgid":                           {}, | ||||||
|  | 	"getgrgid":                         {}, | ||||||
|  | 	"getgrgid_r":                       {}, | ||||||
|  | 	"getgrnam":                         {}, | ||||||
|  | 	"getgrnam_r":                       {}, | ||||||
|  | 	"gethostbyaddr":                    {}, | ||||||
|  | 	"gethostbyaddr_r":                  {}, | ||||||
|  | 	"gethostbyname":                    {}, | ||||||
|  | 	"gethostbyname2":                   {}, | ||||||
|  | 	"gethostbyname2_r":                 {}, | ||||||
|  | 	"gethostname":                      {}, | ||||||
|  | 	"getnameinfo":                      {}, | ||||||
|  | 	"getpeername":                      {}, | ||||||
|  | 	"getpid":                           {}, | ||||||
|  | 	"getpwnam":                         {}, | ||||||
|  | 	"getpwnam_r":                       {}, | ||||||
|  | 	"getpwuid":                         {}, | ||||||
|  | 	"getpwuid_r":                       {}, | ||||||
|  | 	"getresgid":                        {}, | ||||||
|  | 	"getresuid":                        {}, | ||||||
|  | 	"getrlimit":                        {}, | ||||||
|  | 	"getrlimit64":                      {}, | ||||||
|  | 	"getrusage":                        {}, | ||||||
|  | 	"getservbyname":                    {}, | ||||||
|  | 	"getsockname":                      {}, | ||||||
|  | 	"getsockopt":                       {}, | ||||||
|  | 	"gettimeofday":                     {}, | ||||||
|  | 	"getuid":                           {}, | ||||||
|  | 	"gmtime_r":                         {}, | ||||||
|  | 	"h_errno":                          {}, | ||||||
|  | 	"htonl":                            {}, | ||||||
|  | 	"htons":                            {}, | ||||||
|  | 	"hypot":                            {}, | ||||||
|  | 	"inet_ntoa":                        {}, | ||||||
|  | 	"inet_ntop":                        {}, | ||||||
|  | 	"inet_pton":                        {}, | ||||||
|  | 	"initstate":                        {}, | ||||||
|  | 	"initstate_r":                      {}, | ||||||
|  | 	"ioctl":                            {}, | ||||||
|  | 	"isalnum":                          {}, | ||||||
|  | 	"isalpha":                          {}, | ||||||
|  | 	"isascii":                          {}, | ||||||
|  | 	"isatty":                           {}, | ||||||
|  | 	"isdigit":                          {}, | ||||||
|  | 	"islower":                          {}, | ||||||
|  | 	"isnan":                            {}, | ||||||
|  | 	"isnanf":                           {}, | ||||||
|  | 	"isnanl":                           {}, | ||||||
|  | 	"isprint":                          {}, | ||||||
|  | 	"isspace":                          {}, | ||||||
|  | 	"isupper":                          {}, | ||||||
|  | 	"isxdigit":                         {}, | ||||||
|  | 	"kill":                             {}, | ||||||
|  | 	"ldexp":                            {}, | ||||||
|  | 	"link":                             {}, | ||||||
|  | 	"listen":                           {}, | ||||||
|  | 	"llabs":                            {}, | ||||||
|  | 	"localtime":                        {}, | ||||||
|  | 	"localtime_r":                      {}, | ||||||
|  | 	"log":                              {}, | ||||||
|  | 	"log10":                            {}, | ||||||
|  | 	"longjmp":                          {}, | ||||||
|  | 	"lrand48":                          {}, | ||||||
|  | 	"lseek":                            {}, | ||||||
|  | 	"lseek64":                          {}, | ||||||
|  | 	"lstat":                            {}, | ||||||
|  | 	"lstat64":                          {}, | ||||||
|  | 	"malloc":                           {}, | ||||||
|  | 	"mblen":                            {}, | ||||||
|  | 	"mbstowcs":                         {}, | ||||||
|  | 	"mbtowc":                           {}, | ||||||
|  | 	"memchr":                           {}, | ||||||
|  | 	"memcmp":                           {}, | ||||||
|  | 	"memcpy":                           {}, | ||||||
|  | 	"memmove":                          {}, | ||||||
|  | 	"memset":                           {}, | ||||||
|  | 	"mkdir":                            {}, | ||||||
|  | 	"mkfifo":                           {}, | ||||||
|  | 	"mknod":                            {}, | ||||||
|  | 	"mkostemp":                         {}, | ||||||
|  | 	"mkstemp":                          {}, | ||||||
|  | 	"mkstemp64":                        {}, | ||||||
|  | 	"mkstemps":                         {}, | ||||||
|  | 	"mkstemps64":                       {}, | ||||||
|  | 	"mktime":                           {}, | ||||||
|  | 	"mmap":                             {}, | ||||||
|  | 	"modf":                             {}, | ||||||
|  | 	"munmap":                           {}, | ||||||
|  | 	"nl_langinfo":                      {}, | ||||||
|  | 	"ntohs":                            {}, | ||||||
|  | 	"obstack_free":                     {}, | ||||||
|  | 	"obstack_vprintf":                  {}, | ||||||
|  | 	"open":                             {}, | ||||||
|  | 	"open64":                           {}, | ||||||
|  | 	"opendir":                          {}, | ||||||
|  | 	"openpty":                          {}, | ||||||
|  | 	"pathconf":                         {}, | ||||||
|  | 	"pause":                            {}, | ||||||
|  | 	"pclose":                           {}, | ||||||
|  | 	"perror":                           {}, | ||||||
|  | 	"pipe":                             {}, | ||||||
|  | 	"poll":                             {}, | ||||||
|  | 	"popen":                            {}, | ||||||
|  | 	"pow":                              {}, | ||||||
|  | 	"printf":                           {}, | ||||||
|  | 	"pselect":                          {}, | ||||||
|  | 	"pthread_attr_destroy":             {}, | ||||||
|  | 	"pthread_attr_getdetachstate":      {}, | ||||||
|  | 	"pthread_attr_init":                {}, | ||||||
|  | 	"pthread_attr_setdetachstate":      {}, | ||||||
|  | 	"pthread_attr_setscope":            {}, | ||||||
|  | 	"pthread_attr_setstacksize":        {}, | ||||||
|  | 	"pthread_cond_broadcast":           {}, | ||||||
|  | 	"pthread_cond_destroy":             {}, | ||||||
|  | 	"pthread_cond_init":                {}, | ||||||
|  | 	"pthread_cond_signal":              {}, | ||||||
|  | 	"pthread_cond_timedwait":           {}, | ||||||
|  | 	"pthread_cond_wait":                {}, | ||||||
|  | 	"pthread_create":                   {}, | ||||||
|  | 	"pthread_detach":                   {}, | ||||||
|  | 	"pthread_equal":                    {}, | ||||||
|  | 	"pthread_exit":                     {}, | ||||||
|  | 	"pthread_getspecific":              {}, | ||||||
|  | 	"pthread_join":                     {}, | ||||||
|  | 	"pthread_key_create":               {}, | ||||||
|  | 	"pthread_key_delete":               {}, | ||||||
|  | 	"pthread_mutex_destroy":            {}, | ||||||
|  | 	"pthread_mutex_init":               {}, | ||||||
|  | 	"pthread_mutex_lock":               {}, | ||||||
|  | 	"pthread_mutex_trylock":            {}, | ||||||
|  | 	"pthread_mutex_unlock":             {}, | ||||||
|  | 	"pthread_mutexattr_destroy":        {}, | ||||||
|  | 	"pthread_mutexattr_init":           {}, | ||||||
|  | 	"pthread_mutexattr_settype":        {}, | ||||||
|  | 	"pthread_self":                     {}, | ||||||
|  | 	"pthread_setspecific":              {}, | ||||||
|  | 	"putc":                             {}, | ||||||
|  | 	"putchar":                          {}, | ||||||
|  | 	"puts":                             {}, | ||||||
|  | 	"qsort":                            {}, | ||||||
|  | 	"raise":                            {}, | ||||||
|  | 	"rand":                             {}, | ||||||
|  | 	"random":                           {}, | ||||||
|  | 	"random_r":                         {}, | ||||||
|  | 	"read":                             {}, | ||||||
|  | 	"readdir":                          {}, | ||||||
|  | 	"readdir64":                        {}, | ||||||
|  | 	"readlink":                         {}, | ||||||
|  | 	"readv":                            {}, | ||||||
|  | 	"realloc":                          {}, | ||||||
|  | 	"reallocarray":                     {}, | ||||||
|  | 	"realpath":                         {}, | ||||||
|  | 	"recv":                             {}, | ||||||
|  | 	"recvfrom":                         {}, | ||||||
|  | 	"recvmsg":                          {}, | ||||||
|  | 	"remove":                           {}, | ||||||
|  | 	"rename":                           {}, | ||||||
|  | 	"rewind":                           {}, | ||||||
|  | 	"rindex":                           {}, | ||||||
|  | 	"rint":                             {}, | ||||||
|  | 	"rmdir":                            {}, | ||||||
|  | 	"round":                            {}, | ||||||
|  | 	"scalbn":                           {}, | ||||||
|  | 	"scalbnl":                          {}, | ||||||
|  | 	"sched_yield":                      {}, | ||||||
|  | 	"select":                           {}, | ||||||
|  | 	"send":                             {}, | ||||||
|  | 	"sendmsg":                          {}, | ||||||
|  | 	"sendto":                           {}, | ||||||
|  | 	"setbuf":                           {}, | ||||||
|  | 	"setenv":                           {}, | ||||||
|  | 	"setjmp":                           {}, | ||||||
|  | 	"setlocale":                        {}, | ||||||
|  | 	"setrlimit":                        {}, | ||||||
|  | 	"setrlimit64":                      {}, | ||||||
|  | 	"setsid":                           {}, | ||||||
|  | 	"setsockopt":                       {}, | ||||||
|  | 	"setstate":                         {}, | ||||||
|  | 	"setvbuf":                          {}, | ||||||
|  | 	"shmat":                            {}, | ||||||
|  | 	"shmctl":                           {}, | ||||||
|  | 	"shmdt":                            {}, | ||||||
|  | 	"shutdown":                         {}, | ||||||
|  | 	"sigaction":                        {}, | ||||||
|  | 	"signal":                           {}, | ||||||
|  | 	"sin":                              {}, | ||||||
|  | 	"sinf":                             {}, | ||||||
|  | 	"sinh":                             {}, | ||||||
|  | 	"sleep":                            {}, | ||||||
|  | 	"snprintf":                         {}, | ||||||
|  | 	"socket":                           {}, | ||||||
|  | 	"sprintf":                          {}, | ||||||
|  | 	"sqrt":                             {}, | ||||||
|  | 	"srand48":                          {}, | ||||||
|  | 	"sscanf":                           {}, | ||||||
|  | 	"stat":                             {}, | ||||||
|  | 	"stat64":                           {}, | ||||||
|  | 	"stderr":                           {}, | ||||||
|  | 	"stdin":                            {}, | ||||||
|  | 	"stdout":                           {}, | ||||||
|  | 	"strcasecmp":                       {}, | ||||||
|  | 	"strcat":                           {}, | ||||||
|  | 	"strchr":                           {}, | ||||||
|  | 	"strcmp":                           {}, | ||||||
|  | 	"strcpy":                           {}, | ||||||
|  | 	"strcspn":                          {}, | ||||||
|  | 	"strdup":                           {}, | ||||||
|  | 	"strerror":                         {}, | ||||||
|  | 	"strerror_r":                       {}, | ||||||
|  | 	"strlen":                           {}, | ||||||
|  | 	"strncmp":                          {}, | ||||||
|  | 	"strncpy":                          {}, | ||||||
|  | 	"strnlen":                          {}, | ||||||
|  | 	"strpbrk":                          {}, | ||||||
|  | 	"strrchr":                          {}, | ||||||
|  | 	"strspn":                           {}, | ||||||
|  | 	"strstr":                           {}, | ||||||
|  | 	"strtod":                           {}, | ||||||
|  | 	"strtof":                           {}, | ||||||
|  | 	"strtoimax":                        {}, | ||||||
|  | 	"strtol":                           {}, | ||||||
|  | 	"strtold":                          {}, | ||||||
|  | 	"strtoll":                          {}, | ||||||
|  | 	"strtoul":                          {}, | ||||||
|  | 	"strtoull":                         {}, | ||||||
|  | 	"strtoumax":                        {}, | ||||||
|  | 	"symlink":                          {}, | ||||||
|  | 	"sysconf":                          {}, | ||||||
|  | 	"system":                           {}, | ||||||
|  | 	"tan":                              {}, | ||||||
|  | 	"tanh":                             {}, | ||||||
|  | 	"tcgetattr":                        {}, | ||||||
|  | 	"tcsendbreak":                      {}, | ||||||
|  | 	"tcsetattr":                        {}, | ||||||
|  | 	"time":                             {}, | ||||||
|  | 	"tmpfile":                          {}, | ||||||
|  | 	"tolower":                          {}, | ||||||
|  | 	"toupper":                          {}, | ||||||
|  | 	"trunc":                            {}, | ||||||
|  | 	"tzset":                            {}, | ||||||
|  | 	"umask":                            {}, | ||||||
|  | 	"uname":                            {}, | ||||||
|  | 	"ungetc":                           {}, | ||||||
|  | 	"unlink":                           {}, | ||||||
|  | 	"unsetenv":                         {}, | ||||||
|  | 	"usleep":                           {}, | ||||||
|  | 	"utime":                            {}, | ||||||
|  | 	"utimes":                           {}, | ||||||
|  | 	"uuid_generate_random":             {}, | ||||||
|  | 	"uuid_parse":                       {}, | ||||||
|  | 	"uuid_unparse":                     {}, | ||||||
|  | 	"vasprintf":                        {}, | ||||||
|  | 	"vfprintf":                         {}, | ||||||
|  | 	"vprintf":                          {}, | ||||||
|  | 	"vsnprintf":                        {}, | ||||||
|  | 	"vsprintf":                         {}, | ||||||
|  | 	"waitpid":                          {}, | ||||||
|  | 	"wcschr":                           {}, | ||||||
|  | 	"wctomb":                           {}, | ||||||
|  | 	"wcwidth":                          {}, | ||||||
|  | 	"write":                            {}, | ||||||
|  | 	"writev":                           {}, | ||||||
|  | 	"zero_struct_address":              {}, | ||||||
|  | } | ||||||
							
								
								
									
										525
									
								
								vendor/modernc.org/libc/capi_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										525
									
								
								vendor/modernc.org/libc/capi_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,525 @@ | |||||||
|  | // Code generated by 'go generate' - DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package libc // import "modernc.org/libc" | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{ | ||||||
|  | 	"_IO_putc":                         {}, | ||||||
|  | 	"___errno_location":                {}, | ||||||
|  | 	"__assert_fail":                    {}, | ||||||
|  | 	"__builtin___memcpy_chk":           {}, | ||||||
|  | 	"__builtin___memmove_chk":          {}, | ||||||
|  | 	"__builtin___memset_chk":           {}, | ||||||
|  | 	"__builtin___snprintf_chk":         {}, | ||||||
|  | 	"__builtin___sprintf_chk":          {}, | ||||||
|  | 	"__builtin___strcat_chk":           {}, | ||||||
|  | 	"__builtin___strcpy_chk":           {}, | ||||||
|  | 	"__builtin___strncpy_chk":          {}, | ||||||
|  | 	"__builtin___vsnprintf_chk":        {}, | ||||||
|  | 	"__builtin_abort":                  {}, | ||||||
|  | 	"__builtin_abs":                    {}, | ||||||
|  | 	"__builtin_add_overflowInt64":      {}, | ||||||
|  | 	"__builtin_add_overflowUint32":     {}, | ||||||
|  | 	"__builtin_add_overflowUint64":     {}, | ||||||
|  | 	"__builtin_bswap16":                {}, | ||||||
|  | 	"__builtin_bswap32":                {}, | ||||||
|  | 	"__builtin_bswap64":                {}, | ||||||
|  | 	"__builtin_bzero":                  {}, | ||||||
|  | 	"__builtin_clz":                    {}, | ||||||
|  | 	"__builtin_clzl":                   {}, | ||||||
|  | 	"__builtin_clzll":                  {}, | ||||||
|  | 	"__builtin_constant_p_impl":        {}, | ||||||
|  | 	"__builtin_copysign":               {}, | ||||||
|  | 	"__builtin_copysignf":              {}, | ||||||
|  | 	"__builtin_copysignl":              {}, | ||||||
|  | 	"__builtin_exit":                   {}, | ||||||
|  | 	"__builtin_expect":                 {}, | ||||||
|  | 	"__builtin_fabs":                   {}, | ||||||
|  | 	"__builtin_fabsf":                  {}, | ||||||
|  | 	"__builtin_fabsl":                  {}, | ||||||
|  | 	"__builtin_free":                   {}, | ||||||
|  | 	"__builtin_getentropy":             {}, | ||||||
|  | 	"__builtin_huge_val":               {}, | ||||||
|  | 	"__builtin_huge_valf":              {}, | ||||||
|  | 	"__builtin_inf":                    {}, | ||||||
|  | 	"__builtin_inff":                   {}, | ||||||
|  | 	"__builtin_infl":                   {}, | ||||||
|  | 	"__builtin_isnan":                  {}, | ||||||
|  | 	"__builtin_isunordered":            {}, | ||||||
|  | 	"__builtin_llabs":                  {}, | ||||||
|  | 	"__builtin_malloc":                 {}, | ||||||
|  | 	"__builtin_memcmp":                 {}, | ||||||
|  | 	"__builtin_memcpy":                 {}, | ||||||
|  | 	"__builtin_memset":                 {}, | ||||||
|  | 	"__builtin_mmap":                   {}, | ||||||
|  | 	"__builtin_mul_overflowInt64":      {}, | ||||||
|  | 	"__builtin_mul_overflowUint128":    {}, | ||||||
|  | 	"__builtin_mul_overflowUint64":     {}, | ||||||
|  | 	"__builtin_nan":                    {}, | ||||||
|  | 	"__builtin_nanf":                   {}, | ||||||
|  | 	"__builtin_nanl":                   {}, | ||||||
|  | 	"__builtin_object_size":            {}, | ||||||
|  | 	"__builtin_popcount":               {}, | ||||||
|  | 	"__builtin_popcountl":              {}, | ||||||
|  | 	"__builtin_prefetch":               {}, | ||||||
|  | 	"__builtin_printf":                 {}, | ||||||
|  | 	"__builtin_snprintf":               {}, | ||||||
|  | 	"__builtin_sprintf":                {}, | ||||||
|  | 	"__builtin_strchr":                 {}, | ||||||
|  | 	"__builtin_strcmp":                 {}, | ||||||
|  | 	"__builtin_strcpy":                 {}, | ||||||
|  | 	"__builtin_strlen":                 {}, | ||||||
|  | 	"__builtin_sub_overflowInt64":      {}, | ||||||
|  | 	"__builtin_trap":                   {}, | ||||||
|  | 	"__builtin_unreachable":            {}, | ||||||
|  | 	"__ccgo_dmesg":                     {}, | ||||||
|  | 	"__ccgo_getMutexType":              {}, | ||||||
|  | 	"__ccgo_in6addr_anyp":              {}, | ||||||
|  | 	"__ccgo_pthreadAttrGetDetachState": {}, | ||||||
|  | 	"__ccgo_pthreadMutexattrGettype":   {}, | ||||||
|  | 	"__ccgo_sqlite3_log":               {}, | ||||||
|  | 	"__cmsg_nxthdr":                    {}, | ||||||
|  | 	"__ctype_b_loc":                    {}, | ||||||
|  | 	"__ctype_get_mb_cur_max":           {}, | ||||||
|  | 	"__errno_location":                 {}, | ||||||
|  | 	"__floatscan":                      {}, | ||||||
|  | 	"__fpclassify":                     {}, | ||||||
|  | 	"__fpclassifyf":                    {}, | ||||||
|  | 	"__fpclassifyl":                    {}, | ||||||
|  | 	"__fsmu8":                          {}, | ||||||
|  | 	"__h_errno_location":               {}, | ||||||
|  | 	"__inet_aton":                      {}, | ||||||
|  | 	"__intscan":                        {}, | ||||||
|  | 	"__isalnum_l":                      {}, | ||||||
|  | 	"__isalpha_l":                      {}, | ||||||
|  | 	"__isdigit_l":                      {}, | ||||||
|  | 	"__islower_l":                      {}, | ||||||
|  | 	"__isnan":                          {}, | ||||||
|  | 	"__isnanf":                         {}, | ||||||
|  | 	"__isnanl":                         {}, | ||||||
|  | 	"__isoc99_sscanf":                  {}, | ||||||
|  | 	"__isprint_l":                      {}, | ||||||
|  | 	"__isupper_l":                      {}, | ||||||
|  | 	"__isxdigit_l":                     {}, | ||||||
|  | 	"__lockfile":                       {}, | ||||||
|  | 	"__lookup_ipliteral":               {}, | ||||||
|  | 	"__lookup_name":                    {}, | ||||||
|  | 	"__lookup_serv":                    {}, | ||||||
|  | 	"__shgetc":                         {}, | ||||||
|  | 	"__shlim":                          {}, | ||||||
|  | 	"__strncasecmp_l":                  {}, | ||||||
|  | 	"__sync_add_and_fetch_uint32":      {}, | ||||||
|  | 	"__sync_sub_and_fetch_uint32":      {}, | ||||||
|  | 	"__syscall1":                       {}, | ||||||
|  | 	"__syscall3":                       {}, | ||||||
|  | 	"__syscall4":                       {}, | ||||||
|  | 	"__toread":                         {}, | ||||||
|  | 	"__toread_needs_stdio_exit":        {}, | ||||||
|  | 	"__uflow":                          {}, | ||||||
|  | 	"__unlockfile":                     {}, | ||||||
|  | 	"_exit":                            {}, | ||||||
|  | 	"_longjmp":                         {}, | ||||||
|  | 	"_obstack_begin":                   {}, | ||||||
|  | 	"_obstack_newchunk":                {}, | ||||||
|  | 	"_setjmp":                          {}, | ||||||
|  | 	"abort":                            {}, | ||||||
|  | 	"abs":                              {}, | ||||||
|  | 	"accept":                           {}, | ||||||
|  | 	"access":                           {}, | ||||||
|  | 	"acos":                             {}, | ||||||
|  | 	"acosh":                            {}, | ||||||
|  | 	"alarm":                            {}, | ||||||
|  | 	"asin":                             {}, | ||||||
|  | 	"asinh":                            {}, | ||||||
|  | 	"atan":                             {}, | ||||||
|  | 	"atan2":                            {}, | ||||||
|  | 	"atanh":                            {}, | ||||||
|  | 	"atexit":                           {}, | ||||||
|  | 	"atof":                             {}, | ||||||
|  | 	"atoi":                             {}, | ||||||
|  | 	"atol":                             {}, | ||||||
|  | 	"backtrace":                        {}, | ||||||
|  | 	"backtrace_symbols_fd":             {}, | ||||||
|  | 	"bind":                             {}, | ||||||
|  | 	"bsearch":                          {}, | ||||||
|  | 	"bzero":                            {}, | ||||||
|  | 	"calloc":                           {}, | ||||||
|  | 	"ceil":                             {}, | ||||||
|  | 	"ceilf":                            {}, | ||||||
|  | 	"cfgetospeed":                      {}, | ||||||
|  | 	"cfsetispeed":                      {}, | ||||||
|  | 	"cfsetospeed":                      {}, | ||||||
|  | 	"chdir":                            {}, | ||||||
|  | 	"chmod":                            {}, | ||||||
|  | 	"chown":                            {}, | ||||||
|  | 	"clock_gettime":                    {}, | ||||||
|  | 	"close":                            {}, | ||||||
|  | 	"closedir":                         {}, | ||||||
|  | 	"confstr":                          {}, | ||||||
|  | 	"connect":                          {}, | ||||||
|  | 	"copysign":                         {}, | ||||||
|  | 	"copysignf":                        {}, | ||||||
|  | 	"copysignl":                        {}, | ||||||
|  | 	"cos":                              {}, | ||||||
|  | 	"cosf":                             {}, | ||||||
|  | 	"cosh":                             {}, | ||||||
|  | 	"ctime":                            {}, | ||||||
|  | 	"ctime_r":                          {}, | ||||||
|  | 	"dlclose":                          {}, | ||||||
|  | 	"dlerror":                          {}, | ||||||
|  | 	"dlopen":                           {}, | ||||||
|  | 	"dlsym":                            {}, | ||||||
|  | 	"dup2":                             {}, | ||||||
|  | 	"dup3":                             {}, | ||||||
|  | 	"endpwent":                         {}, | ||||||
|  | 	"environ":                          {}, | ||||||
|  | 	"execvp":                           {}, | ||||||
|  | 	"exit":                             {}, | ||||||
|  | 	"exp":                              {}, | ||||||
|  | 	"fabs":                             {}, | ||||||
|  | 	"fabsf":                            {}, | ||||||
|  | 	"fabsl":                            {}, | ||||||
|  | 	"faccessat":                        {}, | ||||||
|  | 	"fchmod":                           {}, | ||||||
|  | 	"fchmodat":                         {}, | ||||||
|  | 	"fchown":                           {}, | ||||||
|  | 	"fchownat":                         {}, | ||||||
|  | 	"fclose":                           {}, | ||||||
|  | 	"fcntl":                            {}, | ||||||
|  | 	"fcntl64":                          {}, | ||||||
|  | 	"fdopen":                           {}, | ||||||
|  | 	"ferror":                           {}, | ||||||
|  | 	"fflush":                           {}, | ||||||
|  | 	"fgetc":                            {}, | ||||||
|  | 	"fgets":                            {}, | ||||||
|  | 	"fileno":                           {}, | ||||||
|  | 	"floor":                            {}, | ||||||
|  | 	"fmod":                             {}, | ||||||
|  | 	"fmodl":                            {}, | ||||||
|  | 	"fopen":                            {}, | ||||||
|  | 	"fopen64":                          {}, | ||||||
|  | 	"fork":                             {}, | ||||||
|  | 	"fprintf":                          {}, | ||||||
|  | 	"fputc":                            {}, | ||||||
|  | 	"fputs":                            {}, | ||||||
|  | 	"fread":                            {}, | ||||||
|  | 	"free":                             {}, | ||||||
|  | 	"freeaddrinfo":                     {}, | ||||||
|  | 	"frexp":                            {}, | ||||||
|  | 	"fscanf":                           {}, | ||||||
|  | 	"fseek":                            {}, | ||||||
|  | 	"fstat":                            {}, | ||||||
|  | 	"fstat64":                          {}, | ||||||
|  | 	"fstatfs":                          {}, | ||||||
|  | 	"fsync":                            {}, | ||||||
|  | 	"ftell":                            {}, | ||||||
|  | 	"ftruncate":                        {}, | ||||||
|  | 	"ftruncate64":                      {}, | ||||||
|  | 	"fts64_close":                      {}, | ||||||
|  | 	"fts64_open":                       {}, | ||||||
|  | 	"fts64_read":                       {}, | ||||||
|  | 	"fts_close":                        {}, | ||||||
|  | 	"fts_open":                         {}, | ||||||
|  | 	"fts_read":                         {}, | ||||||
|  | 	"fwrite":                           {}, | ||||||
|  | 	"gai_strerror":                     {}, | ||||||
|  | 	"getaddrinfo":                      {}, | ||||||
|  | 	"getc":                             {}, | ||||||
|  | 	"getcwd":                           {}, | ||||||
|  | 	"getegid":                          {}, | ||||||
|  | 	"getentropy":                       {}, | ||||||
|  | 	"getenv":                           {}, | ||||||
|  | 	"geteuid":                          {}, | ||||||
|  | 	"getgid":                           {}, | ||||||
|  | 	"getgrgid":                         {}, | ||||||
|  | 	"getgrgid_r":                       {}, | ||||||
|  | 	"getgrnam":                         {}, | ||||||
|  | 	"getgrnam_r":                       {}, | ||||||
|  | 	"gethostbyaddr":                    {}, | ||||||
|  | 	"gethostbyaddr_r":                  {}, | ||||||
|  | 	"gethostbyname":                    {}, | ||||||
|  | 	"gethostbyname2":                   {}, | ||||||
|  | 	"gethostbyname2_r":                 {}, | ||||||
|  | 	"gethostbyname_r":                  {}, | ||||||
|  | 	"gethostname":                      {}, | ||||||
|  | 	"getnameinfo":                      {}, | ||||||
|  | 	"getpeername":                      {}, | ||||||
|  | 	"getpid":                           {}, | ||||||
|  | 	"getpwnam":                         {}, | ||||||
|  | 	"getpwnam_r":                       {}, | ||||||
|  | 	"getpwuid":                         {}, | ||||||
|  | 	"getpwuid_r":                       {}, | ||||||
|  | 	"getrandom":                        {}, | ||||||
|  | 	"getresgid":                        {}, | ||||||
|  | 	"getresuid":                        {}, | ||||||
|  | 	"getrlimit":                        {}, | ||||||
|  | 	"getrlimit64":                      {}, | ||||||
|  | 	"getrusage":                        {}, | ||||||
|  | 	"getservbyname":                    {}, | ||||||
|  | 	"getsockname":                      {}, | ||||||
|  | 	"getsockopt":                       {}, | ||||||
|  | 	"gettimeofday":                     {}, | ||||||
|  | 	"getuid":                           {}, | ||||||
|  | 	"gmtime_r":                         {}, | ||||||
|  | 	"h_errno":                          {}, | ||||||
|  | 	"htonl":                            {}, | ||||||
|  | 	"htons":                            {}, | ||||||
|  | 	"hypot":                            {}, | ||||||
|  | 	"inet_ntoa":                        {}, | ||||||
|  | 	"inet_ntop":                        {}, | ||||||
|  | 	"inet_pton":                        {}, | ||||||
|  | 	"initstate":                        {}, | ||||||
|  | 	"initstate_r":                      {}, | ||||||
|  | 	"ioctl":                            {}, | ||||||
|  | 	"isalnum":                          {}, | ||||||
|  | 	"isalpha":                          {}, | ||||||
|  | 	"isascii":                          {}, | ||||||
|  | 	"isatty":                           {}, | ||||||
|  | 	"isdigit":                          {}, | ||||||
|  | 	"islower":                          {}, | ||||||
|  | 	"isnan":                            {}, | ||||||
|  | 	"isnanf":                           {}, | ||||||
|  | 	"isnanl":                           {}, | ||||||
|  | 	"isprint":                          {}, | ||||||
|  | 	"isupper":                          {}, | ||||||
|  | 	"iswalnum":                         {}, | ||||||
|  | 	"iswspace":                         {}, | ||||||
|  | 	"isxdigit":                         {}, | ||||||
|  | 	"kill":                             {}, | ||||||
|  | 	"ldexp":                            {}, | ||||||
|  | 	"link":                             {}, | ||||||
|  | 	"linkat":                           {}, | ||||||
|  | 	"listen":                           {}, | ||||||
|  | 	"llabs":                            {}, | ||||||
|  | 	"localeconv":                       {}, | ||||||
|  | 	"localtime":                        {}, | ||||||
|  | 	"localtime_r":                      {}, | ||||||
|  | 	"log":                              {}, | ||||||
|  | 	"log10":                            {}, | ||||||
|  | 	"longjmp":                          {}, | ||||||
|  | 	"lrand48":                          {}, | ||||||
|  | 	"lseek":                            {}, | ||||||
|  | 	"lseek64":                          {}, | ||||||
|  | 	"lstat":                            {}, | ||||||
|  | 	"lstat64":                          {}, | ||||||
|  | 	"malloc":                           {}, | ||||||
|  | 	"mblen":                            {}, | ||||||
|  | 	"mbrtowc":                          {}, | ||||||
|  | 	"mbsinit":                          {}, | ||||||
|  | 	"mbstowcs":                         {}, | ||||||
|  | 	"mbtowc":                           {}, | ||||||
|  | 	"memchr":                           {}, | ||||||
|  | 	"memcmp":                           {}, | ||||||
|  | 	"memcpy":                           {}, | ||||||
|  | 	"memmove":                          {}, | ||||||
|  | 	"memset":                           {}, | ||||||
|  | 	"mkdir":                            {}, | ||||||
|  | 	"mkdirat":                          {}, | ||||||
|  | 	"mkfifo":                           {}, | ||||||
|  | 	"mknod":                            {}, | ||||||
|  | 	"mknodat":                          {}, | ||||||
|  | 	"mkostemp":                         {}, | ||||||
|  | 	"mkstemp":                          {}, | ||||||
|  | 	"mkstemp64":                        {}, | ||||||
|  | 	"mkstemps":                         {}, | ||||||
|  | 	"mkstemps64":                       {}, | ||||||
|  | 	"mktime":                           {}, | ||||||
|  | 	"mmap":                             {}, | ||||||
|  | 	"mmap64":                           {}, | ||||||
|  | 	"modf":                             {}, | ||||||
|  | 	"mremap":                           {}, | ||||||
|  | 	"munmap":                           {}, | ||||||
|  | 	"nanf":                             {}, | ||||||
|  | 	"nl_langinfo":                      {}, | ||||||
|  | 	"ntohs":                            {}, | ||||||
|  | 	"obstack_free":                     {}, | ||||||
|  | 	"obstack_vprintf":                  {}, | ||||||
|  | 	"open":                             {}, | ||||||
|  | 	"open64":                           {}, | ||||||
|  | 	"openat":                           {}, | ||||||
|  | 	"opendir":                          {}, | ||||||
|  | 	"openpty":                          {}, | ||||||
|  | 	"pathconf":                         {}, | ||||||
|  | 	"pause":                            {}, | ||||||
|  | 	"pclose":                           {}, | ||||||
|  | 	"perror":                           {}, | ||||||
|  | 	"pipe":                             {}, | ||||||
|  | 	"pipe2":                            {}, | ||||||
|  | 	"poll":                             {}, | ||||||
|  | 	"popen":                            {}, | ||||||
|  | 	"posix_fadvise":                    {}, | ||||||
|  | 	"pow":                              {}, | ||||||
|  | 	"printf":                           {}, | ||||||
|  | 	"pselect":                          {}, | ||||||
|  | 	"pthread_attr_destroy":             {}, | ||||||
|  | 	"pthread_attr_getdetachstate":      {}, | ||||||
|  | 	"pthread_attr_init":                {}, | ||||||
|  | 	"pthread_attr_setdetachstate":      {}, | ||||||
|  | 	"pthread_attr_setscope":            {}, | ||||||
|  | 	"pthread_attr_setstacksize":        {}, | ||||||
|  | 	"pthread_cond_broadcast":           {}, | ||||||
|  | 	"pthread_cond_destroy":             {}, | ||||||
|  | 	"pthread_cond_init":                {}, | ||||||
|  | 	"pthread_cond_signal":              {}, | ||||||
|  | 	"pthread_cond_timedwait":           {}, | ||||||
|  | 	"pthread_cond_wait":                {}, | ||||||
|  | 	"pthread_create":                   {}, | ||||||
|  | 	"pthread_detach":                   {}, | ||||||
|  | 	"pthread_equal":                    {}, | ||||||
|  | 	"pthread_exit":                     {}, | ||||||
|  | 	"pthread_getspecific":              {}, | ||||||
|  | 	"pthread_join":                     {}, | ||||||
|  | 	"pthread_key_create":               {}, | ||||||
|  | 	"pthread_key_delete":               {}, | ||||||
|  | 	"pthread_mutex_destroy":            {}, | ||||||
|  | 	"pthread_mutex_init":               {}, | ||||||
|  | 	"pthread_mutex_lock":               {}, | ||||||
|  | 	"pthread_mutex_trylock":            {}, | ||||||
|  | 	"pthread_mutex_unlock":             {}, | ||||||
|  | 	"pthread_mutexattr_destroy":        {}, | ||||||
|  | 	"pthread_mutexattr_init":           {}, | ||||||
|  | 	"pthread_mutexattr_settype":        {}, | ||||||
|  | 	"pthread_self":                     {}, | ||||||
|  | 	"pthread_setspecific":              {}, | ||||||
|  | 	"putc":                             {}, | ||||||
|  | 	"putchar":                          {}, | ||||||
|  | 	"puts":                             {}, | ||||||
|  | 	"pwrite":                           {}, | ||||||
|  | 	"qsort":                            {}, | ||||||
|  | 	"raise":                            {}, | ||||||
|  | 	"rand":                             {}, | ||||||
|  | 	"rand_r":                           {}, | ||||||
|  | 	"random":                           {}, | ||||||
|  | 	"random_r":                         {}, | ||||||
|  | 	"read":                             {}, | ||||||
|  | 	"readdir":                          {}, | ||||||
|  | 	"readdir64":                        {}, | ||||||
|  | 	"readlink":                         {}, | ||||||
|  | 	"readlinkat":                       {}, | ||||||
|  | 	"readv":                            {}, | ||||||
|  | 	"realloc":                          {}, | ||||||
|  | 	"reallocarray":                     {}, | ||||||
|  | 	"realpath":                         {}, | ||||||
|  | 	"recv":                             {}, | ||||||
|  | 	"recvfrom":                         {}, | ||||||
|  | 	"recvmsg":                          {}, | ||||||
|  | 	"remove":                           {}, | ||||||
|  | 	"rename":                           {}, | ||||||
|  | 	"renameat2":                        {}, | ||||||
|  | 	"rewind":                           {}, | ||||||
|  | 	"rindex":                           {}, | ||||||
|  | 	"rint":                             {}, | ||||||
|  | 	"rmdir":                            {}, | ||||||
|  | 	"round":                            {}, | ||||||
|  | 	"scalbn":                           {}, | ||||||
|  | 	"scalbnl":                          {}, | ||||||
|  | 	"sched_yield":                      {}, | ||||||
|  | 	"select":                           {}, | ||||||
|  | 	"send":                             {}, | ||||||
|  | 	"sendmsg":                          {}, | ||||||
|  | 	"sendto":                           {}, | ||||||
|  | 	"setbuf":                           {}, | ||||||
|  | 	"setenv":                           {}, | ||||||
|  | 	"setjmp":                           {}, | ||||||
|  | 	"setlocale":                        {}, | ||||||
|  | 	"setrlimit":                        {}, | ||||||
|  | 	"setrlimit64":                      {}, | ||||||
|  | 	"setsid":                           {}, | ||||||
|  | 	"setsockopt":                       {}, | ||||||
|  | 	"setstate":                         {}, | ||||||
|  | 	"setvbuf":                          {}, | ||||||
|  | 	"shmat":                            {}, | ||||||
|  | 	"shmctl":                           {}, | ||||||
|  | 	"shmdt":                            {}, | ||||||
|  | 	"shutdown":                         {}, | ||||||
|  | 	"sigaction":                        {}, | ||||||
|  | 	"signal":                           {}, | ||||||
|  | 	"sin":                              {}, | ||||||
|  | 	"sinf":                             {}, | ||||||
|  | 	"sinh":                             {}, | ||||||
|  | 	"sleep":                            {}, | ||||||
|  | 	"snprintf":                         {}, | ||||||
|  | 	"socket":                           {}, | ||||||
|  | 	"sprintf":                          {}, | ||||||
|  | 	"sqrt":                             {}, | ||||||
|  | 	"srand48":                          {}, | ||||||
|  | 	"sscanf":                           {}, | ||||||
|  | 	"stat":                             {}, | ||||||
|  | 	"stat64":                           {}, | ||||||
|  | 	"stderr":                           {}, | ||||||
|  | 	"stdin":                            {}, | ||||||
|  | 	"stdout":                           {}, | ||||||
|  | 	"strcasecmp":                       {}, | ||||||
|  | 	"strcat":                           {}, | ||||||
|  | 	"strchr":                           {}, | ||||||
|  | 	"strcmp":                           {}, | ||||||
|  | 	"strcpy":                           {}, | ||||||
|  | 	"strcspn":                          {}, | ||||||
|  | 	"strdup":                           {}, | ||||||
|  | 	"strerror":                         {}, | ||||||
|  | 	"strerror_r":                       {}, | ||||||
|  | 	"strlcat":                          {}, | ||||||
|  | 	"strlcpy":                          {}, | ||||||
|  | 	"strlen":                           {}, | ||||||
|  | 	"strncasecmp":                      {}, | ||||||
|  | 	"strncat":                          {}, | ||||||
|  | 	"strncmp":                          {}, | ||||||
|  | 	"strncpy":                          {}, | ||||||
|  | 	"strnlen":                          {}, | ||||||
|  | 	"strpbrk":                          {}, | ||||||
|  | 	"strrchr":                          {}, | ||||||
|  | 	"strspn":                           {}, | ||||||
|  | 	"strstr":                           {}, | ||||||
|  | 	"strtod":                           {}, | ||||||
|  | 	"strtof":                           {}, | ||||||
|  | 	"strtoimax":                        {}, | ||||||
|  | 	"strtok":                           {}, | ||||||
|  | 	"strtol":                           {}, | ||||||
|  | 	"strtold":                          {}, | ||||||
|  | 	"strtoll":                          {}, | ||||||
|  | 	"strtoul":                          {}, | ||||||
|  | 	"strtoull":                         {}, | ||||||
|  | 	"strtoumax":                        {}, | ||||||
|  | 	"symlink":                          {}, | ||||||
|  | 	"symlinkat":                        {}, | ||||||
|  | 	"sysconf":                          {}, | ||||||
|  | 	"system":                           {}, | ||||||
|  | 	"tan":                              {}, | ||||||
|  | 	"tanh":                             {}, | ||||||
|  | 	"tcgetattr":                        {}, | ||||||
|  | 	"tcsendbreak":                      {}, | ||||||
|  | 	"tcsetattr":                        {}, | ||||||
|  | 	"time":                             {}, | ||||||
|  | 	"tmpfile":                          {}, | ||||||
|  | 	"tolower":                          {}, | ||||||
|  | 	"toupper":                          {}, | ||||||
|  | 	"trunc":                            {}, | ||||||
|  | 	"tzset":                            {}, | ||||||
|  | 	"umask":                            {}, | ||||||
|  | 	"uname":                            {}, | ||||||
|  | 	"ungetc":                           {}, | ||||||
|  | 	"unlink":                           {}, | ||||||
|  | 	"unlinkat":                         {}, | ||||||
|  | 	"unsetenv":                         {}, | ||||||
|  | 	"usleep":                           {}, | ||||||
|  | 	"utime":                            {}, | ||||||
|  | 	"utimensat":                        {}, | ||||||
|  | 	"utimes":                           {}, | ||||||
|  | 	"uuid_copy":                        {}, | ||||||
|  | 	"uuid_generate_random":             {}, | ||||||
|  | 	"uuid_parse":                       {}, | ||||||
|  | 	"uuid_unparse":                     {}, | ||||||
|  | 	"vasprintf":                        {}, | ||||||
|  | 	"vfprintf":                         {}, | ||||||
|  | 	"vfscanf":                          {}, | ||||||
|  | 	"vprintf":                          {}, | ||||||
|  | 	"vsnprintf":                        {}, | ||||||
|  | 	"vsprintf":                         {}, | ||||||
|  | 	"vsscanf":                          {}, | ||||||
|  | 	"waitpid":                          {}, | ||||||
|  | 	"wcschr":                           {}, | ||||||
|  | 	"wctomb":                           {}, | ||||||
|  | 	"wcwidth":                          {}, | ||||||
|  | 	"write":                            {}, | ||||||
|  | 	"writev":                           {}, | ||||||
|  | 	"zero_struct_address":              {}, | ||||||
|  | } | ||||||
							
								
								
									
										511
									
								
								vendor/modernc.org/libc/capi_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										511
									
								
								vendor/modernc.org/libc/capi_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,511 @@ | |||||||
|  | // Code generated by 'go generate' - DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package libc // import "modernc.org/libc" | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{ | ||||||
|  | 	"_IO_putc":                         {}, | ||||||
|  | 	"___errno_location":                {}, | ||||||
|  | 	"__assert_fail":                    {}, | ||||||
|  | 	"__builtin___memcpy_chk":           {}, | ||||||
|  | 	"__builtin___memmove_chk":          {}, | ||||||
|  | 	"__builtin___memset_chk":           {}, | ||||||
|  | 	"__builtin___snprintf_chk":         {}, | ||||||
|  | 	"__builtin___sprintf_chk":          {}, | ||||||
|  | 	"__builtin___strcat_chk":           {}, | ||||||
|  | 	"__builtin___strcpy_chk":           {}, | ||||||
|  | 	"__builtin___strncpy_chk":          {}, | ||||||
|  | 	"__builtin___vsnprintf_chk":        {}, | ||||||
|  | 	"__builtin_abort":                  {}, | ||||||
|  | 	"__builtin_abs":                    {}, | ||||||
|  | 	"__builtin_add_overflowInt64":      {}, | ||||||
|  | 	"__builtin_add_overflowUint32":     {}, | ||||||
|  | 	"__builtin_add_overflowUint64":     {}, | ||||||
|  | 	"__builtin_bswap16":                {}, | ||||||
|  | 	"__builtin_bswap32":                {}, | ||||||
|  | 	"__builtin_bswap64":                {}, | ||||||
|  | 	"__builtin_bzero":                  {}, | ||||||
|  | 	"__builtin_clz":                    {}, | ||||||
|  | 	"__builtin_clzl":                   {}, | ||||||
|  | 	"__builtin_clzll":                  {}, | ||||||
|  | 	"__builtin_constant_p_impl":        {}, | ||||||
|  | 	"__builtin_copysign":               {}, | ||||||
|  | 	"__builtin_copysignf":              {}, | ||||||
|  | 	"__builtin_copysignl":              {}, | ||||||
|  | 	"__builtin_exit":                   {}, | ||||||
|  | 	"__builtin_expect":                 {}, | ||||||
|  | 	"__builtin_fabs":                   {}, | ||||||
|  | 	"__builtin_fabsf":                  {}, | ||||||
|  | 	"__builtin_fabsl":                  {}, | ||||||
|  | 	"__builtin_free":                   {}, | ||||||
|  | 	"__builtin_getentropy":             {}, | ||||||
|  | 	"__builtin_huge_val":               {}, | ||||||
|  | 	"__builtin_huge_valf":              {}, | ||||||
|  | 	"__builtin_inf":                    {}, | ||||||
|  | 	"__builtin_inff":                   {}, | ||||||
|  | 	"__builtin_infl":                   {}, | ||||||
|  | 	"__builtin_isnan":                  {}, | ||||||
|  | 	"__builtin_isunordered":            {}, | ||||||
|  | 	"__builtin_llabs":                  {}, | ||||||
|  | 	"__builtin_malloc":                 {}, | ||||||
|  | 	"__builtin_memcmp":                 {}, | ||||||
|  | 	"__builtin_memcpy":                 {}, | ||||||
|  | 	"__builtin_memset":                 {}, | ||||||
|  | 	"__builtin_mmap":                   {}, | ||||||
|  | 	"__builtin_mul_overflowInt64":      {}, | ||||||
|  | 	"__builtin_mul_overflowUint128":    {}, | ||||||
|  | 	"__builtin_mul_overflowUint64":     {}, | ||||||
|  | 	"__builtin_nan":                    {}, | ||||||
|  | 	"__builtin_nanf":                   {}, | ||||||
|  | 	"__builtin_nanl":                   {}, | ||||||
|  | 	"__builtin_object_size":            {}, | ||||||
|  | 	"__builtin_popcount":               {}, | ||||||
|  | 	"__builtin_popcountl":              {}, | ||||||
|  | 	"__builtin_prefetch":               {}, | ||||||
|  | 	"__builtin_printf":                 {}, | ||||||
|  | 	"__builtin_snprintf":               {}, | ||||||
|  | 	"__builtin_sprintf":                {}, | ||||||
|  | 	"__builtin_strchr":                 {}, | ||||||
|  | 	"__builtin_strcmp":                 {}, | ||||||
|  | 	"__builtin_strcpy":                 {}, | ||||||
|  | 	"__builtin_strlen":                 {}, | ||||||
|  | 	"__builtin_sub_overflowInt64":      {}, | ||||||
|  | 	"__builtin_trap":                   {}, | ||||||
|  | 	"__builtin_unreachable":            {}, | ||||||
|  | 	"__ccgo_dmesg":                     {}, | ||||||
|  | 	"__ccgo_getMutexType":              {}, | ||||||
|  | 	"__ccgo_in6addr_anyp":              {}, | ||||||
|  | 	"__ccgo_pthreadAttrGetDetachState": {}, | ||||||
|  | 	"__ccgo_pthreadMutexattrGettype":   {}, | ||||||
|  | 	"__ccgo_sqlite3_log":               {}, | ||||||
|  | 	"__cmsg_nxthdr":                    {}, | ||||||
|  | 	"__ctype_b_loc":                    {}, | ||||||
|  | 	"__ctype_get_mb_cur_max":           {}, | ||||||
|  | 	"__errno_location":                 {}, | ||||||
|  | 	"__floatscan":                      {}, | ||||||
|  | 	"__fpclassify":                     {}, | ||||||
|  | 	"__fpclassifyf":                    {}, | ||||||
|  | 	"__fpclassifyl":                    {}, | ||||||
|  | 	"__fsmu8":                          {}, | ||||||
|  | 	"__h_errno_location":               {}, | ||||||
|  | 	"__inet_aton":                      {}, | ||||||
|  | 	"__intscan":                        {}, | ||||||
|  | 	"__isalnum_l":                      {}, | ||||||
|  | 	"__isalpha_l":                      {}, | ||||||
|  | 	"__isdigit_l":                      {}, | ||||||
|  | 	"__islower_l":                      {}, | ||||||
|  | 	"__isnan":                          {}, | ||||||
|  | 	"__isnanf":                         {}, | ||||||
|  | 	"__isnanl":                         {}, | ||||||
|  | 	"__isoc99_sscanf":                  {}, | ||||||
|  | 	"__isprint_l":                      {}, | ||||||
|  | 	"__isupper_l":                      {}, | ||||||
|  | 	"__isxdigit_l":                     {}, | ||||||
|  | 	"__lockfile":                       {}, | ||||||
|  | 	"__lookup_ipliteral":               {}, | ||||||
|  | 	"__lookup_name":                    {}, | ||||||
|  | 	"__lookup_serv":                    {}, | ||||||
|  | 	"__shgetc":                         {}, | ||||||
|  | 	"__shlim":                          {}, | ||||||
|  | 	"__strncasecmp_l":                  {}, | ||||||
|  | 	"__sync_add_and_fetch_uint32":      {}, | ||||||
|  | 	"__sync_sub_and_fetch_uint32":      {}, | ||||||
|  | 	"__syscall1":                       {}, | ||||||
|  | 	"__syscall3":                       {}, | ||||||
|  | 	"__syscall4":                       {}, | ||||||
|  | 	"__toread":                         {}, | ||||||
|  | 	"__toread_needs_stdio_exit":        {}, | ||||||
|  | 	"__uflow":                          {}, | ||||||
|  | 	"__unlockfile":                     {}, | ||||||
|  | 	"_exit":                            {}, | ||||||
|  | 	"_longjmp":                         {}, | ||||||
|  | 	"_obstack_begin":                   {}, | ||||||
|  | 	"_obstack_newchunk":                {}, | ||||||
|  | 	"_setjmp":                          {}, | ||||||
|  | 	"abort":                            {}, | ||||||
|  | 	"abs":                              {}, | ||||||
|  | 	"accept":                           {}, | ||||||
|  | 	"access":                           {}, | ||||||
|  | 	"acos":                             {}, | ||||||
|  | 	"acosh":                            {}, | ||||||
|  | 	"alarm":                            {}, | ||||||
|  | 	"asin":                             {}, | ||||||
|  | 	"asinh":                            {}, | ||||||
|  | 	"atan":                             {}, | ||||||
|  | 	"atan2":                            {}, | ||||||
|  | 	"atanh":                            {}, | ||||||
|  | 	"atexit":                           {}, | ||||||
|  | 	"atof":                             {}, | ||||||
|  | 	"atoi":                             {}, | ||||||
|  | 	"atol":                             {}, | ||||||
|  | 	"backtrace":                        {}, | ||||||
|  | 	"backtrace_symbols_fd":             {}, | ||||||
|  | 	"bind":                             {}, | ||||||
|  | 	"bsearch":                          {}, | ||||||
|  | 	"bzero":                            {}, | ||||||
|  | 	"calloc":                           {}, | ||||||
|  | 	"ceil":                             {}, | ||||||
|  | 	"ceilf":                            {}, | ||||||
|  | 	"cfgetospeed":                      {}, | ||||||
|  | 	"cfsetispeed":                      {}, | ||||||
|  | 	"cfsetospeed":                      {}, | ||||||
|  | 	"chdir":                            {}, | ||||||
|  | 	"chmod":                            {}, | ||||||
|  | 	"chown":                            {}, | ||||||
|  | 	"clock_gettime":                    {}, | ||||||
|  | 	"close":                            {}, | ||||||
|  | 	"closedir":                         {}, | ||||||
|  | 	"confstr":                          {}, | ||||||
|  | 	"connect":                          {}, | ||||||
|  | 	"copysign":                         {}, | ||||||
|  | 	"copysignf":                        {}, | ||||||
|  | 	"copysignl":                        {}, | ||||||
|  | 	"cos":                              {}, | ||||||
|  | 	"cosf":                             {}, | ||||||
|  | 	"cosh":                             {}, | ||||||
|  | 	"ctime":                            {}, | ||||||
|  | 	"ctime_r":                          {}, | ||||||
|  | 	"dlclose":                          {}, | ||||||
|  | 	"dlerror":                          {}, | ||||||
|  | 	"dlopen":                           {}, | ||||||
|  | 	"dlsym":                            {}, | ||||||
|  | 	"dup2":                             {}, | ||||||
|  | 	"endpwent":                         {}, | ||||||
|  | 	"environ":                          {}, | ||||||
|  | 	"execvp":                           {}, | ||||||
|  | 	"exit":                             {}, | ||||||
|  | 	"exp":                              {}, | ||||||
|  | 	"fabs":                             {}, | ||||||
|  | 	"fabsf":                            {}, | ||||||
|  | 	"fabsl":                            {}, | ||||||
|  | 	"fchmod":                           {}, | ||||||
|  | 	"fchown":                           {}, | ||||||
|  | 	"fclose":                           {}, | ||||||
|  | 	"fcntl":                            {}, | ||||||
|  | 	"fcntl64":                          {}, | ||||||
|  | 	"fdopen":                           {}, | ||||||
|  | 	"ferror":                           {}, | ||||||
|  | 	"fflush":                           {}, | ||||||
|  | 	"fgetc":                            {}, | ||||||
|  | 	"fgets":                            {}, | ||||||
|  | 	"fileno":                           {}, | ||||||
|  | 	"floor":                            {}, | ||||||
|  | 	"fmod":                             {}, | ||||||
|  | 	"fmodl":                            {}, | ||||||
|  | 	"fopen":                            {}, | ||||||
|  | 	"fopen64":                          {}, | ||||||
|  | 	"fork":                             {}, | ||||||
|  | 	"fprintf":                          {}, | ||||||
|  | 	"fputc":                            {}, | ||||||
|  | 	"fputs":                            {}, | ||||||
|  | 	"fread":                            {}, | ||||||
|  | 	"free":                             {}, | ||||||
|  | 	"freeaddrinfo":                     {}, | ||||||
|  | 	"frexp":                            {}, | ||||||
|  | 	"fscanf":                           {}, | ||||||
|  | 	"fseek":                            {}, | ||||||
|  | 	"fstat":                            {}, | ||||||
|  | 	"fstat64":                          {}, | ||||||
|  | 	"fstatfs":                          {}, | ||||||
|  | 	"fsync":                            {}, | ||||||
|  | 	"ftell":                            {}, | ||||||
|  | 	"ftruncate":                        {}, | ||||||
|  | 	"ftruncate64":                      {}, | ||||||
|  | 	"fts64_close":                      {}, | ||||||
|  | 	"fts64_open":                       {}, | ||||||
|  | 	"fts64_read":                       {}, | ||||||
|  | 	"fts_close":                        {}, | ||||||
|  | 	"fts_open":                         {}, | ||||||
|  | 	"fts_read":                         {}, | ||||||
|  | 	"fwrite":                           {}, | ||||||
|  | 	"gai_strerror":                     {}, | ||||||
|  | 	"getaddrinfo":                      {}, | ||||||
|  | 	"getc":                             {}, | ||||||
|  | 	"getcwd":                           {}, | ||||||
|  | 	"getegid":                          {}, | ||||||
|  | 	"getentropy":                       {}, | ||||||
|  | 	"getenv":                           {}, | ||||||
|  | 	"geteuid":                          {}, | ||||||
|  | 	"getgid":                           {}, | ||||||
|  | 	"getgrgid":                         {}, | ||||||
|  | 	"getgrgid_r":                       {}, | ||||||
|  | 	"getgrnam":                         {}, | ||||||
|  | 	"getgrnam_r":                       {}, | ||||||
|  | 	"gethostbyaddr":                    {}, | ||||||
|  | 	"gethostbyaddr_r":                  {}, | ||||||
|  | 	"gethostbyname":                    {}, | ||||||
|  | 	"gethostbyname2":                   {}, | ||||||
|  | 	"gethostbyname2_r":                 {}, | ||||||
|  | 	"gethostbyname_r":                  {}, | ||||||
|  | 	"gethostname":                      {}, | ||||||
|  | 	"getnameinfo":                      {}, | ||||||
|  | 	"getpeername":                      {}, | ||||||
|  | 	"getpid":                           {}, | ||||||
|  | 	"getpwnam":                         {}, | ||||||
|  | 	"getpwnam_r":                       {}, | ||||||
|  | 	"getpwuid":                         {}, | ||||||
|  | 	"getpwuid_r":                       {}, | ||||||
|  | 	"getrandom":                        {}, | ||||||
|  | 	"getresgid":                        {}, | ||||||
|  | 	"getresuid":                        {}, | ||||||
|  | 	"getrlimit":                        {}, | ||||||
|  | 	"getrlimit64":                      {}, | ||||||
|  | 	"getrusage":                        {}, | ||||||
|  | 	"getservbyname":                    {}, | ||||||
|  | 	"getsockname":                      {}, | ||||||
|  | 	"getsockopt":                       {}, | ||||||
|  | 	"gettimeofday":                     {}, | ||||||
|  | 	"getuid":                           {}, | ||||||
|  | 	"gmtime_r":                         {}, | ||||||
|  | 	"h_errno":                          {}, | ||||||
|  | 	"htonl":                            {}, | ||||||
|  | 	"htons":                            {}, | ||||||
|  | 	"hypot":                            {}, | ||||||
|  | 	"inet_ntoa":                        {}, | ||||||
|  | 	"inet_ntop":                        {}, | ||||||
|  | 	"inet_pton":                        {}, | ||||||
|  | 	"initstate":                        {}, | ||||||
|  | 	"initstate_r":                      {}, | ||||||
|  | 	"ioctl":                            {}, | ||||||
|  | 	"isalnum":                          {}, | ||||||
|  | 	"isalpha":                          {}, | ||||||
|  | 	"isascii":                          {}, | ||||||
|  | 	"isatty":                           {}, | ||||||
|  | 	"isdigit":                          {}, | ||||||
|  | 	"islower":                          {}, | ||||||
|  | 	"isnan":                            {}, | ||||||
|  | 	"isnanf":                           {}, | ||||||
|  | 	"isnanl":                           {}, | ||||||
|  | 	"isprint":                          {}, | ||||||
|  | 	"isupper":                          {}, | ||||||
|  | 	"iswalnum":                         {}, | ||||||
|  | 	"iswspace":                         {}, | ||||||
|  | 	"isxdigit":                         {}, | ||||||
|  | 	"kill":                             {}, | ||||||
|  | 	"ldexp":                            {}, | ||||||
|  | 	"link":                             {}, | ||||||
|  | 	"listen":                           {}, | ||||||
|  | 	"llabs":                            {}, | ||||||
|  | 	"localeconv":                       {}, | ||||||
|  | 	"localtime":                        {}, | ||||||
|  | 	"localtime_r":                      {}, | ||||||
|  | 	"log":                              {}, | ||||||
|  | 	"log10":                            {}, | ||||||
|  | 	"longjmp":                          {}, | ||||||
|  | 	"lrand48":                          {}, | ||||||
|  | 	"lseek":                            {}, | ||||||
|  | 	"lseek64":                          {}, | ||||||
|  | 	"lstat":                            {}, | ||||||
|  | 	"lstat64":                          {}, | ||||||
|  | 	"malloc":                           {}, | ||||||
|  | 	"mblen":                            {}, | ||||||
|  | 	"mbrtowc":                          {}, | ||||||
|  | 	"mbsinit":                          {}, | ||||||
|  | 	"mbstowcs":                         {}, | ||||||
|  | 	"mbtowc":                           {}, | ||||||
|  | 	"memchr":                           {}, | ||||||
|  | 	"memcmp":                           {}, | ||||||
|  | 	"memcpy":                           {}, | ||||||
|  | 	"memmove":                          {}, | ||||||
|  | 	"memset":                           {}, | ||||||
|  | 	"mkdir":                            {}, | ||||||
|  | 	"mkfifo":                           {}, | ||||||
|  | 	"mknod":                            {}, | ||||||
|  | 	"mkostemp":                         {}, | ||||||
|  | 	"mkstemp":                          {}, | ||||||
|  | 	"mkstemp64":                        {}, | ||||||
|  | 	"mkstemps":                         {}, | ||||||
|  | 	"mkstemps64":                       {}, | ||||||
|  | 	"mktime":                           {}, | ||||||
|  | 	"mmap":                             {}, | ||||||
|  | 	"mmap64":                           {}, | ||||||
|  | 	"modf":                             {}, | ||||||
|  | 	"mremap":                           {}, | ||||||
|  | 	"munmap":                           {}, | ||||||
|  | 	"nanf":                             {}, | ||||||
|  | 	"nl_langinfo":                      {}, | ||||||
|  | 	"ntohs":                            {}, | ||||||
|  | 	"obstack_free":                     {}, | ||||||
|  | 	"obstack_vprintf":                  {}, | ||||||
|  | 	"open":                             {}, | ||||||
|  | 	"open64":                           {}, | ||||||
|  | 	"opendir":                          {}, | ||||||
|  | 	"openpty":                          {}, | ||||||
|  | 	"pathconf":                         {}, | ||||||
|  | 	"pause":                            {}, | ||||||
|  | 	"pclose":                           {}, | ||||||
|  | 	"perror":                           {}, | ||||||
|  | 	"pipe":                             {}, | ||||||
|  | 	"poll":                             {}, | ||||||
|  | 	"popen":                            {}, | ||||||
|  | 	"posix_fadvise":                    {}, | ||||||
|  | 	"pow":                              {}, | ||||||
|  | 	"printf":                           {}, | ||||||
|  | 	"pselect":                          {}, | ||||||
|  | 	"pthread_attr_destroy":             {}, | ||||||
|  | 	"pthread_attr_getdetachstate":      {}, | ||||||
|  | 	"pthread_attr_init":                {}, | ||||||
|  | 	"pthread_attr_setdetachstate":      {}, | ||||||
|  | 	"pthread_attr_setscope":            {}, | ||||||
|  | 	"pthread_attr_setstacksize":        {}, | ||||||
|  | 	"pthread_cond_broadcast":           {}, | ||||||
|  | 	"pthread_cond_destroy":             {}, | ||||||
|  | 	"pthread_cond_init":                {}, | ||||||
|  | 	"pthread_cond_signal":              {}, | ||||||
|  | 	"pthread_cond_timedwait":           {}, | ||||||
|  | 	"pthread_cond_wait":                {}, | ||||||
|  | 	"pthread_create":                   {}, | ||||||
|  | 	"pthread_detach":                   {}, | ||||||
|  | 	"pthread_equal":                    {}, | ||||||
|  | 	"pthread_exit":                     {}, | ||||||
|  | 	"pthread_getspecific":              {}, | ||||||
|  | 	"pthread_join":                     {}, | ||||||
|  | 	"pthread_key_create":               {}, | ||||||
|  | 	"pthread_key_delete":               {}, | ||||||
|  | 	"pthread_mutex_destroy":            {}, | ||||||
|  | 	"pthread_mutex_init":               {}, | ||||||
|  | 	"pthread_mutex_lock":               {}, | ||||||
|  | 	"pthread_mutex_trylock":            {}, | ||||||
|  | 	"pthread_mutex_unlock":             {}, | ||||||
|  | 	"pthread_mutexattr_destroy":        {}, | ||||||
|  | 	"pthread_mutexattr_init":           {}, | ||||||
|  | 	"pthread_mutexattr_settype":        {}, | ||||||
|  | 	"pthread_self":                     {}, | ||||||
|  | 	"pthread_setspecific":              {}, | ||||||
|  | 	"putc":                             {}, | ||||||
|  | 	"putchar":                          {}, | ||||||
|  | 	"puts":                             {}, | ||||||
|  | 	"pwrite":                           {}, | ||||||
|  | 	"qsort":                            {}, | ||||||
|  | 	"raise":                            {}, | ||||||
|  | 	"rand":                             {}, | ||||||
|  | 	"rand_r":                           {}, | ||||||
|  | 	"random":                           {}, | ||||||
|  | 	"random_r":                         {}, | ||||||
|  | 	"read":                             {}, | ||||||
|  | 	"readdir":                          {}, | ||||||
|  | 	"readdir64":                        {}, | ||||||
|  | 	"readlink":                         {}, | ||||||
|  | 	"readv":                            {}, | ||||||
|  | 	"realloc":                          {}, | ||||||
|  | 	"reallocarray":                     {}, | ||||||
|  | 	"realpath":                         {}, | ||||||
|  | 	"recv":                             {}, | ||||||
|  | 	"recvfrom":                         {}, | ||||||
|  | 	"recvmsg":                          {}, | ||||||
|  | 	"remove":                           {}, | ||||||
|  | 	"rename":                           {}, | ||||||
|  | 	"rewind":                           {}, | ||||||
|  | 	"rindex":                           {}, | ||||||
|  | 	"rint":                             {}, | ||||||
|  | 	"rmdir":                            {}, | ||||||
|  | 	"round":                            {}, | ||||||
|  | 	"scalbn":                           {}, | ||||||
|  | 	"scalbnl":                          {}, | ||||||
|  | 	"sched_yield":                      {}, | ||||||
|  | 	"select":                           {}, | ||||||
|  | 	"send":                             {}, | ||||||
|  | 	"sendmsg":                          {}, | ||||||
|  | 	"sendto":                           {}, | ||||||
|  | 	"setbuf":                           {}, | ||||||
|  | 	"setenv":                           {}, | ||||||
|  | 	"setjmp":                           {}, | ||||||
|  | 	"setlocale":                        {}, | ||||||
|  | 	"setrlimit":                        {}, | ||||||
|  | 	"setrlimit64":                      {}, | ||||||
|  | 	"setsid":                           {}, | ||||||
|  | 	"setsockopt":                       {}, | ||||||
|  | 	"setstate":                         {}, | ||||||
|  | 	"setvbuf":                          {}, | ||||||
|  | 	"shmat":                            {}, | ||||||
|  | 	"shmctl":                           {}, | ||||||
|  | 	"shmdt":                            {}, | ||||||
|  | 	"shutdown":                         {}, | ||||||
|  | 	"sigaction":                        {}, | ||||||
|  | 	"signal":                           {}, | ||||||
|  | 	"sin":                              {}, | ||||||
|  | 	"sinf":                             {}, | ||||||
|  | 	"sinh":                             {}, | ||||||
|  | 	"sleep":                            {}, | ||||||
|  | 	"snprintf":                         {}, | ||||||
|  | 	"socket":                           {}, | ||||||
|  | 	"sprintf":                          {}, | ||||||
|  | 	"sqrt":                             {}, | ||||||
|  | 	"srand48":                          {}, | ||||||
|  | 	"sscanf":                           {}, | ||||||
|  | 	"stat":                             {}, | ||||||
|  | 	"stat64":                           {}, | ||||||
|  | 	"stderr":                           {}, | ||||||
|  | 	"stdin":                            {}, | ||||||
|  | 	"stdout":                           {}, | ||||||
|  | 	"strcasecmp":                       {}, | ||||||
|  | 	"strcat":                           {}, | ||||||
|  | 	"strchr":                           {}, | ||||||
|  | 	"strcmp":                           {}, | ||||||
|  | 	"strcpy":                           {}, | ||||||
|  | 	"strcspn":                          {}, | ||||||
|  | 	"strdup":                           {}, | ||||||
|  | 	"strerror":                         {}, | ||||||
|  | 	"strerror_r":                       {}, | ||||||
|  | 	"strlcat":                          {}, | ||||||
|  | 	"strlcpy":                          {}, | ||||||
|  | 	"strlen":                           {}, | ||||||
|  | 	"strncasecmp":                      {}, | ||||||
|  | 	"strncat":                          {}, | ||||||
|  | 	"strncmp":                          {}, | ||||||
|  | 	"strncpy":                          {}, | ||||||
|  | 	"strnlen":                          {}, | ||||||
|  | 	"strpbrk":                          {}, | ||||||
|  | 	"strrchr":                          {}, | ||||||
|  | 	"strspn":                           {}, | ||||||
|  | 	"strstr":                           {}, | ||||||
|  | 	"strtod":                           {}, | ||||||
|  | 	"strtof":                           {}, | ||||||
|  | 	"strtoimax":                        {}, | ||||||
|  | 	"strtok":                           {}, | ||||||
|  | 	"strtol":                           {}, | ||||||
|  | 	"strtold":                          {}, | ||||||
|  | 	"strtoll":                          {}, | ||||||
|  | 	"strtoul":                          {}, | ||||||
|  | 	"strtoull":                         {}, | ||||||
|  | 	"strtoumax":                        {}, | ||||||
|  | 	"symlink":                          {}, | ||||||
|  | 	"sysconf":                          {}, | ||||||
|  | 	"system":                           {}, | ||||||
|  | 	"tan":                              {}, | ||||||
|  | 	"tanh":                             {}, | ||||||
|  | 	"tcgetattr":                        {}, | ||||||
|  | 	"tcsendbreak":                      {}, | ||||||
|  | 	"tcsetattr":                        {}, | ||||||
|  | 	"time":                             {}, | ||||||
|  | 	"tmpfile":                          {}, | ||||||
|  | 	"tolower":                          {}, | ||||||
|  | 	"toupper":                          {}, | ||||||
|  | 	"trunc":                            {}, | ||||||
|  | 	"tzset":                            {}, | ||||||
|  | 	"umask":                            {}, | ||||||
|  | 	"uname":                            {}, | ||||||
|  | 	"ungetc":                           {}, | ||||||
|  | 	"unlink":                           {}, | ||||||
|  | 	"unsetenv":                         {}, | ||||||
|  | 	"usleep":                           {}, | ||||||
|  | 	"utime":                            {}, | ||||||
|  | 	"utimes":                           {}, | ||||||
|  | 	"uuid_copy":                        {}, | ||||||
|  | 	"uuid_generate_random":             {}, | ||||||
|  | 	"uuid_parse":                       {}, | ||||||
|  | 	"uuid_unparse":                     {}, | ||||||
|  | 	"vasprintf":                        {}, | ||||||
|  | 	"vfprintf":                         {}, | ||||||
|  | 	"vfscanf":                          {}, | ||||||
|  | 	"vprintf":                          {}, | ||||||
|  | 	"vsnprintf":                        {}, | ||||||
|  | 	"vsprintf":                         {}, | ||||||
|  | 	"vsscanf":                          {}, | ||||||
|  | 	"waitpid":                          {}, | ||||||
|  | 	"wcschr":                           {}, | ||||||
|  | 	"wctomb":                           {}, | ||||||
|  | 	"wcwidth":                          {}, | ||||||
|  | 	"write":                            {}, | ||||||
|  | 	"writev":                           {}, | ||||||
|  | 	"zero_struct_address":              {}, | ||||||
|  | } | ||||||
							
								
								
									
										499
									
								
								vendor/modernc.org/libc/capi_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										499
									
								
								vendor/modernc.org/libc/capi_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,499 @@ | |||||||
|  | // Code generated by 'go generate' - DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package libc // import "modernc.org/libc" | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{ | ||||||
|  | 	"_C_ctype_tab_":                    {}, | ||||||
|  | 	"_IO_putc":                         {}, | ||||||
|  | 	"_ThreadRuneLocale":                {}, | ||||||
|  | 	"___errno_location":                {}, | ||||||
|  | 	"___runetype":                      {}, | ||||||
|  | 	"__assert":                         {}, | ||||||
|  | 	"__assert13":                       {}, | ||||||
|  | 	"__assert_fail":                    {}, | ||||||
|  | 	"__builtin___memcpy_chk":           {}, | ||||||
|  | 	"__builtin___memmove_chk":          {}, | ||||||
|  | 	"__builtin___memset_chk":           {}, | ||||||
|  | 	"__builtin___snprintf_chk":         {}, | ||||||
|  | 	"__builtin___sprintf_chk":          {}, | ||||||
|  | 	"__builtin___strcat_chk":           {}, | ||||||
|  | 	"__builtin___strcpy_chk":           {}, | ||||||
|  | 	"__builtin___strncpy_chk":          {}, | ||||||
|  | 	"__builtin___vsnprintf_chk":        {}, | ||||||
|  | 	"__builtin_abort":                  {}, | ||||||
|  | 	"__builtin_abs":                    {}, | ||||||
|  | 	"__builtin_add_overflowInt64":      {}, | ||||||
|  | 	"__builtin_add_overflowUint32":     {}, | ||||||
|  | 	"__builtin_add_overflowUint64":     {}, | ||||||
|  | 	"__builtin_bswap16":                {}, | ||||||
|  | 	"__builtin_bswap32":                {}, | ||||||
|  | 	"__builtin_bswap64":                {}, | ||||||
|  | 	"__builtin_bzero":                  {}, | ||||||
|  | 	"__builtin_clz":                    {}, | ||||||
|  | 	"__builtin_clzl":                   {}, | ||||||
|  | 	"__builtin_clzll":                  {}, | ||||||
|  | 	"__builtin_constant_p_impl":        {}, | ||||||
|  | 	"__builtin_copysign":               {}, | ||||||
|  | 	"__builtin_copysignf":              {}, | ||||||
|  | 	"__builtin_copysignl":              {}, | ||||||
|  | 	"__builtin_exit":                   {}, | ||||||
|  | 	"__builtin_expect":                 {}, | ||||||
|  | 	"__builtin_fabs":                   {}, | ||||||
|  | 	"__builtin_fabsf":                  {}, | ||||||
|  | 	"__builtin_fabsl":                  {}, | ||||||
|  | 	"__builtin_free":                   {}, | ||||||
|  | 	"__builtin_getentropy":             {}, | ||||||
|  | 	"__builtin_huge_val":               {}, | ||||||
|  | 	"__builtin_huge_valf":              {}, | ||||||
|  | 	"__builtin_inf":                    {}, | ||||||
|  | 	"__builtin_inff":                   {}, | ||||||
|  | 	"__builtin_infl":                   {}, | ||||||
|  | 	"__builtin_isnan":                  {}, | ||||||
|  | 	"__builtin_isunordered":            {}, | ||||||
|  | 	"__builtin_llabs":                  {}, | ||||||
|  | 	"__builtin_malloc":                 {}, | ||||||
|  | 	"__builtin_memcmp":                 {}, | ||||||
|  | 	"__builtin_memcpy":                 {}, | ||||||
|  | 	"__builtin_memset":                 {}, | ||||||
|  | 	"__builtin_mmap":                   {}, | ||||||
|  | 	"__builtin_mul_overflowInt64":      {}, | ||||||
|  | 	"__builtin_mul_overflowUint128":    {}, | ||||||
|  | 	"__builtin_mul_overflowUint64":     {}, | ||||||
|  | 	"__builtin_nan":                    {}, | ||||||
|  | 	"__builtin_nanf":                   {}, | ||||||
|  | 	"__builtin_nanl":                   {}, | ||||||
|  | 	"__builtin_object_size":            {}, | ||||||
|  | 	"__builtin_popcount":               {}, | ||||||
|  | 	"__builtin_popcountl":              {}, | ||||||
|  | 	"__builtin_prefetch":               {}, | ||||||
|  | 	"__builtin_printf":                 {}, | ||||||
|  | 	"__builtin_snprintf":               {}, | ||||||
|  | 	"__builtin_sprintf":                {}, | ||||||
|  | 	"__builtin_strchr":                 {}, | ||||||
|  | 	"__builtin_strcmp":                 {}, | ||||||
|  | 	"__builtin_strcpy":                 {}, | ||||||
|  | 	"__builtin_strlen":                 {}, | ||||||
|  | 	"__builtin_sub_overflowInt64":      {}, | ||||||
|  | 	"__builtin_trap":                   {}, | ||||||
|  | 	"__builtin_unreachable":            {}, | ||||||
|  | 	"__ccgo_dmesg":                     {}, | ||||||
|  | 	"__ccgo_getMutexType":              {}, | ||||||
|  | 	"__ccgo_in6addr_anyp":              {}, | ||||||
|  | 	"__ccgo_pthreadAttrGetDetachState": {}, | ||||||
|  | 	"__ccgo_pthreadMutexattrGettype":   {}, | ||||||
|  | 	"__ccgo_sqlite3_log":               {}, | ||||||
|  | 	"__cmsg_nxthdr":                    {}, | ||||||
|  | 	"__ctype_get_mb_cur_max":           {}, | ||||||
|  | 	"__errno":                          {}, | ||||||
|  | 	"__errno_location":                 {}, | ||||||
|  | 	"__error":                          {}, | ||||||
|  | 	"__floatscan":                      {}, | ||||||
|  | 	"__h_errno_location":               {}, | ||||||
|  | 	"__inet_aton":                      {}, | ||||||
|  | 	"__inet_ntoa":                      {}, | ||||||
|  | 	"__intscan":                        {}, | ||||||
|  | 	"__isalnum_l":                      {}, | ||||||
|  | 	"__isalpha_l":                      {}, | ||||||
|  | 	"__isdigit_l":                      {}, | ||||||
|  | 	"__isnan":                          {}, | ||||||
|  | 	"__isnanf":                         {}, | ||||||
|  | 	"__isnanl":                         {}, | ||||||
|  | 	"__isoc99_sscanf":                  {}, | ||||||
|  | 	"__isprint_l":                      {}, | ||||||
|  | 	"__isthreaded":                     {}, | ||||||
|  | 	"__lookup_ipliteral":               {}, | ||||||
|  | 	"__lookup_name":                    {}, | ||||||
|  | 	"__lookup_serv":                    {}, | ||||||
|  | 	"__mb_sb_limit":                    {}, | ||||||
|  | 	"__runes_for_locale":               {}, | ||||||
|  | 	"__sF":                             {}, | ||||||
|  | 	"__shgetc":                         {}, | ||||||
|  | 	"__shlim":                          {}, | ||||||
|  | 	"__srget":                          {}, | ||||||
|  | 	"__stderrp":                        {}, | ||||||
|  | 	"__stdinp":                         {}, | ||||||
|  | 	"__stdoutp":                        {}, | ||||||
|  | 	"__swbuf":                          {}, | ||||||
|  | 	"__sync_add_and_fetch_uint32":      {}, | ||||||
|  | 	"__sync_sub_and_fetch_uint32":      {}, | ||||||
|  | 	"__syscall1":                       {}, | ||||||
|  | 	"__syscall3":                       {}, | ||||||
|  | 	"__syscall4":                       {}, | ||||||
|  | 	"__toread":                         {}, | ||||||
|  | 	"__toread_needs_stdio_exit":        {}, | ||||||
|  | 	"__uflow":                          {}, | ||||||
|  | 	"__xuname":                         {}, | ||||||
|  | 	"_ctype_tab_":                      {}, | ||||||
|  | 	"_exit":                            {}, | ||||||
|  | 	"_longjmp":                         {}, | ||||||
|  | 	"_obstack_begin":                   {}, | ||||||
|  | 	"_obstack_newchunk":                {}, | ||||||
|  | 	"_setjmp":                          {}, | ||||||
|  | 	"_tolower_tab_":                    {}, | ||||||
|  | 	"_toupper_tab_":                    {}, | ||||||
|  | 	"abort":                            {}, | ||||||
|  | 	"abs":                              {}, | ||||||
|  | 	"accept":                           {}, | ||||||
|  | 	"access":                           {}, | ||||||
|  | 	"acos":                             {}, | ||||||
|  | 	"acosh":                            {}, | ||||||
|  | 	"alarm":                            {}, | ||||||
|  | 	"asin":                             {}, | ||||||
|  | 	"asinh":                            {}, | ||||||
|  | 	"atan":                             {}, | ||||||
|  | 	"atan2":                            {}, | ||||||
|  | 	"atanh":                            {}, | ||||||
|  | 	"atexit":                           {}, | ||||||
|  | 	"atof":                             {}, | ||||||
|  | 	"atoi":                             {}, | ||||||
|  | 	"atol":                             {}, | ||||||
|  | 	"backtrace":                        {}, | ||||||
|  | 	"backtrace_symbols_fd":             {}, | ||||||
|  | 	"bind":                             {}, | ||||||
|  | 	"bsearch":                          {}, | ||||||
|  | 	"bswap16":                          {}, | ||||||
|  | 	"bswap32":                          {}, | ||||||
|  | 	"bswap64":                          {}, | ||||||
|  | 	"bzero":                            {}, | ||||||
|  | 	"calloc":                           {}, | ||||||
|  | 	"ceil":                             {}, | ||||||
|  | 	"ceilf":                            {}, | ||||||
|  | 	"cfgetospeed":                      {}, | ||||||
|  | 	"cfsetispeed":                      {}, | ||||||
|  | 	"cfsetospeed":                      {}, | ||||||
|  | 	"chdir":                            {}, | ||||||
|  | 	"chflags":                          {}, | ||||||
|  | 	"chmod":                            {}, | ||||||
|  | 	"chown":                            {}, | ||||||
|  | 	"clock_gettime":                    {}, | ||||||
|  | 	"close":                            {}, | ||||||
|  | 	"closedir":                         {}, | ||||||
|  | 	"confstr":                          {}, | ||||||
|  | 	"connect":                          {}, | ||||||
|  | 	"copysign":                         {}, | ||||||
|  | 	"copysignf":                        {}, | ||||||
|  | 	"copysignl":                        {}, | ||||||
|  | 	"cos":                              {}, | ||||||
|  | 	"cosf":                             {}, | ||||||
|  | 	"cosh":                             {}, | ||||||
|  | 	"ctime":                            {}, | ||||||
|  | 	"ctime_r":                          {}, | ||||||
|  | 	"dlclose":                          {}, | ||||||
|  | 	"dlerror":                          {}, | ||||||
|  | 	"dlopen":                           {}, | ||||||
|  | 	"dlsym":                            {}, | ||||||
|  | 	"dup2":                             {}, | ||||||
|  | 	"endpwent":                         {}, | ||||||
|  | 	"environ":                          {}, | ||||||
|  | 	"execvp":                           {}, | ||||||
|  | 	"exit":                             {}, | ||||||
|  | 	"exp":                              {}, | ||||||
|  | 	"fabs":                             {}, | ||||||
|  | 	"fabsf":                            {}, | ||||||
|  | 	"fabsl":                            {}, | ||||||
|  | 	"fchmod":                           {}, | ||||||
|  | 	"fchown":                           {}, | ||||||
|  | 	"fclose":                           {}, | ||||||
|  | 	"fcntl":                            {}, | ||||||
|  | 	"fcntl64":                          {}, | ||||||
|  | 	"fdopen":                           {}, | ||||||
|  | 	"ferror":                           {}, | ||||||
|  | 	"fflush":                           {}, | ||||||
|  | 	"fgetc":                            {}, | ||||||
|  | 	"fgets":                            {}, | ||||||
|  | 	"fileno":                           {}, | ||||||
|  | 	"floor":                            {}, | ||||||
|  | 	"fmod":                             {}, | ||||||
|  | 	"fmodl":                            {}, | ||||||
|  | 	"fopen":                            {}, | ||||||
|  | 	"fopen64":                          {}, | ||||||
|  | 	"fork":                             {}, | ||||||
|  | 	"fprintf":                          {}, | ||||||
|  | 	"fputc":                            {}, | ||||||
|  | 	"fputs":                            {}, | ||||||
|  | 	"fread":                            {}, | ||||||
|  | 	"free":                             {}, | ||||||
|  | 	"freeaddrinfo":                     {}, | ||||||
|  | 	"frexp":                            {}, | ||||||
|  | 	"fscanf":                           {}, | ||||||
|  | 	"fseek":                            {}, | ||||||
|  | 	"fstat":                            {}, | ||||||
|  | 	"fstat64":                          {}, | ||||||
|  | 	"fsync":                            {}, | ||||||
|  | 	"ftell":                            {}, | ||||||
|  | 	"ftruncate":                        {}, | ||||||
|  | 	"fts64_close":                      {}, | ||||||
|  | 	"fts64_open":                       {}, | ||||||
|  | 	"fts64_read":                       {}, | ||||||
|  | 	"fts_close":                        {}, | ||||||
|  | 	"fts_open":                         {}, | ||||||
|  | 	"fts_read":                         {}, | ||||||
|  | 	"fwrite":                           {}, | ||||||
|  | 	"gai_strerror":                     {}, | ||||||
|  | 	"getaddrinfo":                      {}, | ||||||
|  | 	"getc":                             {}, | ||||||
|  | 	"getcwd":                           {}, | ||||||
|  | 	"getegid":                          {}, | ||||||
|  | 	"getentropy":                       {}, | ||||||
|  | 	"getenv":                           {}, | ||||||
|  | 	"geteuid":                          {}, | ||||||
|  | 	"getgid":                           {}, | ||||||
|  | 	"getgrgid":                         {}, | ||||||
|  | 	"getgrgid_r":                       {}, | ||||||
|  | 	"getgrnam":                         {}, | ||||||
|  | 	"getgrnam_r":                       {}, | ||||||
|  | 	"gethostbyaddr":                    {}, | ||||||
|  | 	"gethostbyaddr_r":                  {}, | ||||||
|  | 	"gethostbyname":                    {}, | ||||||
|  | 	"gethostbyname2":                   {}, | ||||||
|  | 	"gethostbyname2_r":                 {}, | ||||||
|  | 	"gethostname":                      {}, | ||||||
|  | 	"getnameinfo":                      {}, | ||||||
|  | 	"getpeername":                      {}, | ||||||
|  | 	"getpid":                           {}, | ||||||
|  | 	"getpwnam":                         {}, | ||||||
|  | 	"getpwnam_r":                       {}, | ||||||
|  | 	"getpwuid":                         {}, | ||||||
|  | 	"getpwuid_r":                       {}, | ||||||
|  | 	"getresgid":                        {}, | ||||||
|  | 	"getresuid":                        {}, | ||||||
|  | 	"getrlimit":                        {}, | ||||||
|  | 	"getrlimit64":                      {}, | ||||||
|  | 	"getrusage":                        {}, | ||||||
|  | 	"getservbyname":                    {}, | ||||||
|  | 	"getsockname":                      {}, | ||||||
|  | 	"getsockopt":                       {}, | ||||||
|  | 	"gettimeofday":                     {}, | ||||||
|  | 	"getuid":                           {}, | ||||||
|  | 	"gmtime_r":                         {}, | ||||||
|  | 	"h_errno":                          {}, | ||||||
|  | 	"htonl":                            {}, | ||||||
|  | 	"htons":                            {}, | ||||||
|  | 	"hypot":                            {}, | ||||||
|  | 	"inet_ntoa":                        {}, | ||||||
|  | 	"inet_ntop":                        {}, | ||||||
|  | 	"inet_pton":                        {}, | ||||||
|  | 	"initstate":                        {}, | ||||||
|  | 	"initstate_r":                      {}, | ||||||
|  | 	"ioctl":                            {}, | ||||||
|  | 	"isalnum":                          {}, | ||||||
|  | 	"isalpha":                          {}, | ||||||
|  | 	"isascii":                          {}, | ||||||
|  | 	"isatty":                           {}, | ||||||
|  | 	"isdigit":                          {}, | ||||||
|  | 	"isnan":                            {}, | ||||||
|  | 	"isnanf":                           {}, | ||||||
|  | 	"isnanl":                           {}, | ||||||
|  | 	"isprint":                          {}, | ||||||
|  | 	"kill":                             {}, | ||||||
|  | 	"ldexp":                            {}, | ||||||
|  | 	"link":                             {}, | ||||||
|  | 	"listen":                           {}, | ||||||
|  | 	"llabs":                            {}, | ||||||
|  | 	"localtime":                        {}, | ||||||
|  | 	"localtime_r":                      {}, | ||||||
|  | 	"log":                              {}, | ||||||
|  | 	"log10":                            {}, | ||||||
|  | 	"longjmp":                          {}, | ||||||
|  | 	"lrand48":                          {}, | ||||||
|  | 	"lseek":                            {}, | ||||||
|  | 	"lseek64":                          {}, | ||||||
|  | 	"lstat":                            {}, | ||||||
|  | 	"lstat64":                          {}, | ||||||
|  | 	"malloc":                           {}, | ||||||
|  | 	"mblen":                            {}, | ||||||
|  | 	"mbstowcs":                         {}, | ||||||
|  | 	"mbtowc":                           {}, | ||||||
|  | 	"memchr":                           {}, | ||||||
|  | 	"memcmp":                           {}, | ||||||
|  | 	"memcpy":                           {}, | ||||||
|  | 	"memmove":                          {}, | ||||||
|  | 	"memset":                           {}, | ||||||
|  | 	"mkdir":                            {}, | ||||||
|  | 	"mkfifo":                           {}, | ||||||
|  | 	"mknod":                            {}, | ||||||
|  | 	"mkostemp":                         {}, | ||||||
|  | 	"mkstemp":                          {}, | ||||||
|  | 	"mkstemp64":                        {}, | ||||||
|  | 	"mkstemps":                         {}, | ||||||
|  | 	"mkstemps64":                       {}, | ||||||
|  | 	"mktime":                           {}, | ||||||
|  | 	"mmap":                             {}, | ||||||
|  | 	"modf":                             {}, | ||||||
|  | 	"munmap":                           {}, | ||||||
|  | 	"nl_langinfo":                      {}, | ||||||
|  | 	"ntohs":                            {}, | ||||||
|  | 	"obstack_free":                     {}, | ||||||
|  | 	"obstack_vprintf":                  {}, | ||||||
|  | 	"open":                             {}, | ||||||
|  | 	"open64":                           {}, | ||||||
|  | 	"opendir":                          {}, | ||||||
|  | 	"openpty":                          {}, | ||||||
|  | 	"pathconf":                         {}, | ||||||
|  | 	"pause":                            {}, | ||||||
|  | 	"pclose":                           {}, | ||||||
|  | 	"perror":                           {}, | ||||||
|  | 	"pipe":                             {}, | ||||||
|  | 	"poll":                             {}, | ||||||
|  | 	"popen":                            {}, | ||||||
|  | 	"pow":                              {}, | ||||||
|  | 	"printf":                           {}, | ||||||
|  | 	"pselect":                          {}, | ||||||
|  | 	"pthread_attr_destroy":             {}, | ||||||
|  | 	"pthread_attr_getdetachstate":      {}, | ||||||
|  | 	"pthread_attr_init":                {}, | ||||||
|  | 	"pthread_attr_setdetachstate":      {}, | ||||||
|  | 	"pthread_attr_setscope":            {}, | ||||||
|  | 	"pthread_attr_setstacksize":        {}, | ||||||
|  | 	"pthread_cond_broadcast":           {}, | ||||||
|  | 	"pthread_cond_destroy":             {}, | ||||||
|  | 	"pthread_cond_init":                {}, | ||||||
|  | 	"pthread_cond_signal":              {}, | ||||||
|  | 	"pthread_cond_timedwait":           {}, | ||||||
|  | 	"pthread_cond_wait":                {}, | ||||||
|  | 	"pthread_create":                   {}, | ||||||
|  | 	"pthread_detach":                   {}, | ||||||
|  | 	"pthread_equal":                    {}, | ||||||
|  | 	"pthread_exit":                     {}, | ||||||
|  | 	"pthread_getspecific":              {}, | ||||||
|  | 	"pthread_join":                     {}, | ||||||
|  | 	"pthread_key_create":               {}, | ||||||
|  | 	"pthread_key_delete":               {}, | ||||||
|  | 	"pthread_mutex_destroy":            {}, | ||||||
|  | 	"pthread_mutex_init":               {}, | ||||||
|  | 	"pthread_mutex_lock":               {}, | ||||||
|  | 	"pthread_mutex_trylock":            {}, | ||||||
|  | 	"pthread_mutex_unlock":             {}, | ||||||
|  | 	"pthread_mutexattr_destroy":        {}, | ||||||
|  | 	"pthread_mutexattr_init":           {}, | ||||||
|  | 	"pthread_mutexattr_settype":        {}, | ||||||
|  | 	"pthread_self":                     {}, | ||||||
|  | 	"pthread_setspecific":              {}, | ||||||
|  | 	"putc":                             {}, | ||||||
|  | 	"putchar":                          {}, | ||||||
|  | 	"puts":                             {}, | ||||||
|  | 	"qsort":                            {}, | ||||||
|  | 	"raise":                            {}, | ||||||
|  | 	"rand":                             {}, | ||||||
|  | 	"random":                           {}, | ||||||
|  | 	"random_r":                         {}, | ||||||
|  | 	"read":                             {}, | ||||||
|  | 	"readdir":                          {}, | ||||||
|  | 	"readdir64":                        {}, | ||||||
|  | 	"readlink":                         {}, | ||||||
|  | 	"readv":                            {}, | ||||||
|  | 	"realloc":                          {}, | ||||||
|  | 	"reallocarray":                     {}, | ||||||
|  | 	"realpath":                         {}, | ||||||
|  | 	"recv":                             {}, | ||||||
|  | 	"recvfrom":                         {}, | ||||||
|  | 	"recvmsg":                          {}, | ||||||
|  | 	"remove":                           {}, | ||||||
|  | 	"rename":                           {}, | ||||||
|  | 	"rewind":                           {}, | ||||||
|  | 	"rindex":                           {}, | ||||||
|  | 	"rint":                             {}, | ||||||
|  | 	"rmdir":                            {}, | ||||||
|  | 	"round":                            {}, | ||||||
|  | 	"scalbn":                           {}, | ||||||
|  | 	"scalbnl":                          {}, | ||||||
|  | 	"sched_yield":                      {}, | ||||||
|  | 	"select":                           {}, | ||||||
|  | 	"send":                             {}, | ||||||
|  | 	"sendmsg":                          {}, | ||||||
|  | 	"sendto":                           {}, | ||||||
|  | 	"setbuf":                           {}, | ||||||
|  | 	"setenv":                           {}, | ||||||
|  | 	"setjmp":                           {}, | ||||||
|  | 	"setlocale":                        {}, | ||||||
|  | 	"setrlimit":                        {}, | ||||||
|  | 	"setrlimit64":                      {}, | ||||||
|  | 	"setsid":                           {}, | ||||||
|  | 	"setsockopt":                       {}, | ||||||
|  | 	"setstate":                         {}, | ||||||
|  | 	"setvbuf":                          {}, | ||||||
|  | 	"shmat":                            {}, | ||||||
|  | 	"shmctl":                           {}, | ||||||
|  | 	"shmdt":                            {}, | ||||||
|  | 	"shutdown":                         {}, | ||||||
|  | 	"sigaction":                        {}, | ||||||
|  | 	"signal":                           {}, | ||||||
|  | 	"sin":                              {}, | ||||||
|  | 	"sinf":                             {}, | ||||||
|  | 	"sinh":                             {}, | ||||||
|  | 	"sleep":                            {}, | ||||||
|  | 	"snprintf":                         {}, | ||||||
|  | 	"socket":                           {}, | ||||||
|  | 	"sprintf":                          {}, | ||||||
|  | 	"sqrt":                             {}, | ||||||
|  | 	"srand48":                          {}, | ||||||
|  | 	"sscanf":                           {}, | ||||||
|  | 	"stat":                             {}, | ||||||
|  | 	"stat64":                           {}, | ||||||
|  | 	"stderr":                           {}, | ||||||
|  | 	"stdin":                            {}, | ||||||
|  | 	"stdout":                           {}, | ||||||
|  | 	"strcasecmp":                       {}, | ||||||
|  | 	"strcat":                           {}, | ||||||
|  | 	"strchr":                           {}, | ||||||
|  | 	"strcmp":                           {}, | ||||||
|  | 	"strcpy":                           {}, | ||||||
|  | 	"strcspn":                          {}, | ||||||
|  | 	"strdup":                           {}, | ||||||
|  | 	"strerror":                         {}, | ||||||
|  | 	"strerror_r":                       {}, | ||||||
|  | 	"strlen":                           {}, | ||||||
|  | 	"strncmp":                          {}, | ||||||
|  | 	"strncpy":                          {}, | ||||||
|  | 	"strnlen":                          {}, | ||||||
|  | 	"strpbrk":                          {}, | ||||||
|  | 	"strrchr":                          {}, | ||||||
|  | 	"strspn":                           {}, | ||||||
|  | 	"strstr":                           {}, | ||||||
|  | 	"strtod":                           {}, | ||||||
|  | 	"strtof":                           {}, | ||||||
|  | 	"strtoimax":                        {}, | ||||||
|  | 	"strtol":                           {}, | ||||||
|  | 	"strtold":                          {}, | ||||||
|  | 	"strtoll":                          {}, | ||||||
|  | 	"strtoul":                          {}, | ||||||
|  | 	"strtoull":                         {}, | ||||||
|  | 	"strtoumax":                        {}, | ||||||
|  | 	"symlink":                          {}, | ||||||
|  | 	"sysconf":                          {}, | ||||||
|  | 	"system":                           {}, | ||||||
|  | 	"tan":                              {}, | ||||||
|  | 	"tanh":                             {}, | ||||||
|  | 	"tcgetattr":                        {}, | ||||||
|  | 	"tcsendbreak":                      {}, | ||||||
|  | 	"tcsetattr":                        {}, | ||||||
|  | 	"time":                             {}, | ||||||
|  | 	"tmpfile":                          {}, | ||||||
|  | 	"tolower":                          {}, | ||||||
|  | 	"toupper":                          {}, | ||||||
|  | 	"trunc":                            {}, | ||||||
|  | 	"tzset":                            {}, | ||||||
|  | 	"umask":                            {}, | ||||||
|  | 	"uname":                            {}, | ||||||
|  | 	"ungetc":                           {}, | ||||||
|  | 	"unlink":                           {}, | ||||||
|  | 	"unsetenv":                         {}, | ||||||
|  | 	"usleep":                           {}, | ||||||
|  | 	"utime":                            {}, | ||||||
|  | 	"utimes":                           {}, | ||||||
|  | 	"uuid_generate_random":             {}, | ||||||
|  | 	"uuid_parse":                       {}, | ||||||
|  | 	"uuid_unparse":                     {}, | ||||||
|  | 	"vasprintf":                        {}, | ||||||
|  | 	"vfprintf":                         {}, | ||||||
|  | 	"vprintf":                          {}, | ||||||
|  | 	"vsnprintf":                        {}, | ||||||
|  | 	"vsprintf":                         {}, | ||||||
|  | 	"waitpid":                          {}, | ||||||
|  | 	"wcschr":                           {}, | ||||||
|  | 	"wctomb":                           {}, | ||||||
|  | 	"wcwidth":                          {}, | ||||||
|  | 	"write":                            {}, | ||||||
|  | 	"writev":                           {}, | ||||||
|  | 	"zero_struct_address":              {}, | ||||||
|  | } | ||||||
							
								
								
									
										510
									
								
								vendor/modernc.org/libc/capi_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										510
									
								
								vendor/modernc.org/libc/capi_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,510 @@ | |||||||
|  | // Code generated by 'go generate' - DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package libc // import "modernc.org/libc" | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{ | ||||||
|  | 	"_C_ctype_":                        {}, | ||||||
|  | 	"_IO_putc":                         {}, | ||||||
|  | 	"_ThreadRuneLocale":                {}, | ||||||
|  | 	"___errno_location":                {}, | ||||||
|  | 	"___runetype":                      {}, | ||||||
|  | 	"__assert":                         {}, | ||||||
|  | 	"__assert13":                       {}, | ||||||
|  | 	"__assert2":                        {}, | ||||||
|  | 	"__assert_fail":                    {}, | ||||||
|  | 	"__builtin___memcpy_chk":           {}, | ||||||
|  | 	"__builtin___memmove_chk":          {}, | ||||||
|  | 	"__builtin___memset_chk":           {}, | ||||||
|  | 	"__builtin___snprintf_chk":         {}, | ||||||
|  | 	"__builtin___sprintf_chk":          {}, | ||||||
|  | 	"__builtin___strcat_chk":           {}, | ||||||
|  | 	"__builtin___strcpy_chk":           {}, | ||||||
|  | 	"__builtin___strncpy_chk":          {}, | ||||||
|  | 	"__builtin___vsnprintf_chk":        {}, | ||||||
|  | 	"__builtin_abort":                  {}, | ||||||
|  | 	"__builtin_abs":                    {}, | ||||||
|  | 	"__builtin_add_overflowInt64":      {}, | ||||||
|  | 	"__builtin_add_overflowUint32":     {}, | ||||||
|  | 	"__builtin_add_overflowUint64":     {}, | ||||||
|  | 	"__builtin_bswap16":                {}, | ||||||
|  | 	"__builtin_bswap32":                {}, | ||||||
|  | 	"__builtin_bswap64":                {}, | ||||||
|  | 	"__builtin_bzero":                  {}, | ||||||
|  | 	"__builtin_clz":                    {}, | ||||||
|  | 	"__builtin_clzl":                   {}, | ||||||
|  | 	"__builtin_clzll":                  {}, | ||||||
|  | 	"__builtin_constant_p_impl":        {}, | ||||||
|  | 	"__builtin_copysign":               {}, | ||||||
|  | 	"__builtin_copysignf":              {}, | ||||||
|  | 	"__builtin_copysignl":              {}, | ||||||
|  | 	"__builtin_exit":                   {}, | ||||||
|  | 	"__builtin_expect":                 {}, | ||||||
|  | 	"__builtin_fabs":                   {}, | ||||||
|  | 	"__builtin_fabsf":                  {}, | ||||||
|  | 	"__builtin_fabsl":                  {}, | ||||||
|  | 	"__builtin_free":                   {}, | ||||||
|  | 	"__builtin_getentropy":             {}, | ||||||
|  | 	"__builtin_huge_val":               {}, | ||||||
|  | 	"__builtin_huge_valf":              {}, | ||||||
|  | 	"__builtin_inf":                    {}, | ||||||
|  | 	"__builtin_inff":                   {}, | ||||||
|  | 	"__builtin_infl":                   {}, | ||||||
|  | 	"__builtin_isnan":                  {}, | ||||||
|  | 	"__builtin_isunordered":            {}, | ||||||
|  | 	"__builtin_llabs":                  {}, | ||||||
|  | 	"__builtin_malloc":                 {}, | ||||||
|  | 	"__builtin_memcmp":                 {}, | ||||||
|  | 	"__builtin_memcpy":                 {}, | ||||||
|  | 	"__builtin_memset":                 {}, | ||||||
|  | 	"__builtin_mmap":                   {}, | ||||||
|  | 	"__builtin_mul_overflowInt64":      {}, | ||||||
|  | 	"__builtin_mul_overflowUint128":    {}, | ||||||
|  | 	"__builtin_mul_overflowUint64":     {}, | ||||||
|  | 	"__builtin_nan":                    {}, | ||||||
|  | 	"__builtin_nanf":                   {}, | ||||||
|  | 	"__builtin_nanl":                   {}, | ||||||
|  | 	"__builtin_object_size":            {}, | ||||||
|  | 	"__builtin_popcount":               {}, | ||||||
|  | 	"__builtin_popcountl":              {}, | ||||||
|  | 	"__builtin_prefetch":               {}, | ||||||
|  | 	"__builtin_printf":                 {}, | ||||||
|  | 	"__builtin_snprintf":               {}, | ||||||
|  | 	"__builtin_sprintf":                {}, | ||||||
|  | 	"__builtin_strchr":                 {}, | ||||||
|  | 	"__builtin_strcmp":                 {}, | ||||||
|  | 	"__builtin_strcpy":                 {}, | ||||||
|  | 	"__builtin_strlen":                 {}, | ||||||
|  | 	"__builtin_sub_overflowInt64":      {}, | ||||||
|  | 	"__builtin_trap":                   {}, | ||||||
|  | 	"__builtin_unreachable":            {}, | ||||||
|  | 	"__ccgo_dmesg":                     {}, | ||||||
|  | 	"__ccgo_getMutexType":              {}, | ||||||
|  | 	"__ccgo_in6addr_anyp":              {}, | ||||||
|  | 	"__ccgo_pthreadAttrGetDetachState": {}, | ||||||
|  | 	"__ccgo_pthreadMutexattrGettype":   {}, | ||||||
|  | 	"__ccgo_sqlite3_log":               {}, | ||||||
|  | 	"__cmsg_nxthdr":                    {}, | ||||||
|  | 	"__ctype_get_mb_cur_max":           {}, | ||||||
|  | 	"__errno":                          {}, | ||||||
|  | 	"__errno_location":                 {}, | ||||||
|  | 	"__error":                          {}, | ||||||
|  | 	"__floatscan":                      {}, | ||||||
|  | 	"__h_errno_location":               {}, | ||||||
|  | 	"__inet_aton":                      {}, | ||||||
|  | 	"__inet_ntoa":                      {}, | ||||||
|  | 	"__intscan":                        {}, | ||||||
|  | 	"__isalnum_l":                      {}, | ||||||
|  | 	"__isalpha_l":                      {}, | ||||||
|  | 	"__isdigit_l":                      {}, | ||||||
|  | 	"__islower_l":                      {}, | ||||||
|  | 	"__isnan":                          {}, | ||||||
|  | 	"__isnanf":                         {}, | ||||||
|  | 	"__isnanl":                         {}, | ||||||
|  | 	"__isoc99_sscanf":                  {}, | ||||||
|  | 	"__isprint_l":                      {}, | ||||||
|  | 	"__isspace_l":                      {}, | ||||||
|  | 	"__isthreaded":                     {}, | ||||||
|  | 	"__isupper_l":                      {}, | ||||||
|  | 	"__isxdigit_l":                     {}, | ||||||
|  | 	"__lookup_ipliteral":               {}, | ||||||
|  | 	"__lookup_name":                    {}, | ||||||
|  | 	"__lookup_serv":                    {}, | ||||||
|  | 	"__mb_sb_limit":                    {}, | ||||||
|  | 	"__runes_for_locale":               {}, | ||||||
|  | 	"__sF":                             {}, | ||||||
|  | 	"__shgetc":                         {}, | ||||||
|  | 	"__shlim":                          {}, | ||||||
|  | 	"__srget":                          {}, | ||||||
|  | 	"__stderrp":                        {}, | ||||||
|  | 	"__stdinp":                         {}, | ||||||
|  | 	"__stdoutp":                        {}, | ||||||
|  | 	"__swbuf":                          {}, | ||||||
|  | 	"__sync_add_and_fetch_uint32":      {}, | ||||||
|  | 	"__sync_sub_and_fetch_uint32":      {}, | ||||||
|  | 	"__syscall1":                       {}, | ||||||
|  | 	"__syscall3":                       {}, | ||||||
|  | 	"__syscall4":                       {}, | ||||||
|  | 	"__toread":                         {}, | ||||||
|  | 	"__toread_needs_stdio_exit":        {}, | ||||||
|  | 	"__uflow":                          {}, | ||||||
|  | 	"__xuname":                         {}, | ||||||
|  | 	"_ctype_":                          {}, | ||||||
|  | 	"_exit":                            {}, | ||||||
|  | 	"_longjmp":                         {}, | ||||||
|  | 	"_obstack_begin":                   {}, | ||||||
|  | 	"_obstack_newchunk":                {}, | ||||||
|  | 	"_setjmp":                          {}, | ||||||
|  | 	"_tolower_tab_":                    {}, | ||||||
|  | 	"_toupper_tab_":                    {}, | ||||||
|  | 	"abort":                            {}, | ||||||
|  | 	"abs":                              {}, | ||||||
|  | 	"accept":                           {}, | ||||||
|  | 	"access":                           {}, | ||||||
|  | 	"acos":                             {}, | ||||||
|  | 	"acosh":                            {}, | ||||||
|  | 	"alarm":                            {}, | ||||||
|  | 	"asin":                             {}, | ||||||
|  | 	"asinh":                            {}, | ||||||
|  | 	"atan":                             {}, | ||||||
|  | 	"atan2":                            {}, | ||||||
|  | 	"atanh":                            {}, | ||||||
|  | 	"atexit":                           {}, | ||||||
|  | 	"atof":                             {}, | ||||||
|  | 	"atoi":                             {}, | ||||||
|  | 	"atol":                             {}, | ||||||
|  | 	"backtrace":                        {}, | ||||||
|  | 	"backtrace_symbols_fd":             {}, | ||||||
|  | 	"bind":                             {}, | ||||||
|  | 	"bsearch":                          {}, | ||||||
|  | 	"bswap16":                          {}, | ||||||
|  | 	"bswap32":                          {}, | ||||||
|  | 	"bswap64":                          {}, | ||||||
|  | 	"bzero":                            {}, | ||||||
|  | 	"calloc":                           {}, | ||||||
|  | 	"ceil":                             {}, | ||||||
|  | 	"ceilf":                            {}, | ||||||
|  | 	"cfgetospeed":                      {}, | ||||||
|  | 	"cfsetispeed":                      {}, | ||||||
|  | 	"cfsetospeed":                      {}, | ||||||
|  | 	"chdir":                            {}, | ||||||
|  | 	"chflags":                          {}, | ||||||
|  | 	"chmod":                            {}, | ||||||
|  | 	"chown":                            {}, | ||||||
|  | 	"clock_gettime":                    {}, | ||||||
|  | 	"close":                            {}, | ||||||
|  | 	"closedir":                         {}, | ||||||
|  | 	"confstr":                          {}, | ||||||
|  | 	"connect":                          {}, | ||||||
|  | 	"copysign":                         {}, | ||||||
|  | 	"copysignf":                        {}, | ||||||
|  | 	"copysignl":                        {}, | ||||||
|  | 	"cos":                              {}, | ||||||
|  | 	"cosf":                             {}, | ||||||
|  | 	"cosh":                             {}, | ||||||
|  | 	"ctime":                            {}, | ||||||
|  | 	"ctime_r":                          {}, | ||||||
|  | 	"dlclose":                          {}, | ||||||
|  | 	"dlerror":                          {}, | ||||||
|  | 	"dlopen":                           {}, | ||||||
|  | 	"dlsym":                            {}, | ||||||
|  | 	"dup2":                             {}, | ||||||
|  | 	"endpwent":                         {}, | ||||||
|  | 	"environ":                          {}, | ||||||
|  | 	"execvp":                           {}, | ||||||
|  | 	"exit":                             {}, | ||||||
|  | 	"exp":                              {}, | ||||||
|  | 	"fabs":                             {}, | ||||||
|  | 	"fabsf":                            {}, | ||||||
|  | 	"fabsl":                            {}, | ||||||
|  | 	"fchmod":                           {}, | ||||||
|  | 	"fchown":                           {}, | ||||||
|  | 	"fclose":                           {}, | ||||||
|  | 	"fcntl":                            {}, | ||||||
|  | 	"fcntl64":                          {}, | ||||||
|  | 	"fdopen":                           {}, | ||||||
|  | 	"ferror":                           {}, | ||||||
|  | 	"fflush":                           {}, | ||||||
|  | 	"fgetc":                            {}, | ||||||
|  | 	"fgets":                            {}, | ||||||
|  | 	"fileno":                           {}, | ||||||
|  | 	"floor":                            {}, | ||||||
|  | 	"fmod":                             {}, | ||||||
|  | 	"fmodl":                            {}, | ||||||
|  | 	"fopen":                            {}, | ||||||
|  | 	"fopen64":                          {}, | ||||||
|  | 	"fork":                             {}, | ||||||
|  | 	"fprintf":                          {}, | ||||||
|  | 	"fputc":                            {}, | ||||||
|  | 	"fputs":                            {}, | ||||||
|  | 	"fread":                            {}, | ||||||
|  | 	"free":                             {}, | ||||||
|  | 	"freeaddrinfo":                     {}, | ||||||
|  | 	"frexp":                            {}, | ||||||
|  | 	"fscanf":                           {}, | ||||||
|  | 	"fseek":                            {}, | ||||||
|  | 	"fstat":                            {}, | ||||||
|  | 	"fstat64":                          {}, | ||||||
|  | 	"fsync":                            {}, | ||||||
|  | 	"ftell":                            {}, | ||||||
|  | 	"ftruncate":                        {}, | ||||||
|  | 	"fts64_close":                      {}, | ||||||
|  | 	"fts64_open":                       {}, | ||||||
|  | 	"fts64_read":                       {}, | ||||||
|  | 	"fts_close":                        {}, | ||||||
|  | 	"fts_open":                         {}, | ||||||
|  | 	"fts_read":                         {}, | ||||||
|  | 	"fwrite":                           {}, | ||||||
|  | 	"gai_strerror":                     {}, | ||||||
|  | 	"getaddrinfo":                      {}, | ||||||
|  | 	"getc":                             {}, | ||||||
|  | 	"getcwd":                           {}, | ||||||
|  | 	"getegid":                          {}, | ||||||
|  | 	"getentropy":                       {}, | ||||||
|  | 	"getenv":                           {}, | ||||||
|  | 	"geteuid":                          {}, | ||||||
|  | 	"getgid":                           {}, | ||||||
|  | 	"getgrgid":                         {}, | ||||||
|  | 	"getgrgid_r":                       {}, | ||||||
|  | 	"getgrnam":                         {}, | ||||||
|  | 	"getgrnam_r":                       {}, | ||||||
|  | 	"gethostbyaddr":                    {}, | ||||||
|  | 	"gethostbyaddr_r":                  {}, | ||||||
|  | 	"gethostbyname":                    {}, | ||||||
|  | 	"gethostbyname2":                   {}, | ||||||
|  | 	"gethostbyname2_r":                 {}, | ||||||
|  | 	"gethostname":                      {}, | ||||||
|  | 	"getnameinfo":                      {}, | ||||||
|  | 	"getpagesize":                      {}, | ||||||
|  | 	"getpeername":                      {}, | ||||||
|  | 	"getpid":                           {}, | ||||||
|  | 	"getpwnam":                         {}, | ||||||
|  | 	"getpwnam_r":                       {}, | ||||||
|  | 	"getpwuid":                         {}, | ||||||
|  | 	"getpwuid_r":                       {}, | ||||||
|  | 	"getresgid":                        {}, | ||||||
|  | 	"getresuid":                        {}, | ||||||
|  | 	"getrlimit":                        {}, | ||||||
|  | 	"getrlimit64":                      {}, | ||||||
|  | 	"getrusage":                        {}, | ||||||
|  | 	"getservbyname":                    {}, | ||||||
|  | 	"getsockname":                      {}, | ||||||
|  | 	"getsockopt":                       {}, | ||||||
|  | 	"gettimeofday":                     {}, | ||||||
|  | 	"getuid":                           {}, | ||||||
|  | 	"gmtime_r":                         {}, | ||||||
|  | 	"h_errno":                          {}, | ||||||
|  | 	"htonl":                            {}, | ||||||
|  | 	"htons":                            {}, | ||||||
|  | 	"hypot":                            {}, | ||||||
|  | 	"inet_ntoa":                        {}, | ||||||
|  | 	"inet_ntop":                        {}, | ||||||
|  | 	"inet_pton":                        {}, | ||||||
|  | 	"initstate":                        {}, | ||||||
|  | 	"initstate_r":                      {}, | ||||||
|  | 	"ioctl":                            {}, | ||||||
|  | 	"isalnum":                          {}, | ||||||
|  | 	"isalpha":                          {}, | ||||||
|  | 	"isascii":                          {}, | ||||||
|  | 	"isatty":                           {}, | ||||||
|  | 	"isblank":                          {}, | ||||||
|  | 	"isdigit":                          {}, | ||||||
|  | 	"islower":                          {}, | ||||||
|  | 	"isnan":                            {}, | ||||||
|  | 	"isnanf":                           {}, | ||||||
|  | 	"isnanl":                           {}, | ||||||
|  | 	"isprint":                          {}, | ||||||
|  | 	"isspace":                          {}, | ||||||
|  | 	"isupper":                          {}, | ||||||
|  | 	"isxdigit":                         {}, | ||||||
|  | 	"kill":                             {}, | ||||||
|  | 	"ldexp":                            {}, | ||||||
|  | 	"link":                             {}, | ||||||
|  | 	"listen":                           {}, | ||||||
|  | 	"llabs":                            {}, | ||||||
|  | 	"localtime":                        {}, | ||||||
|  | 	"localtime_r":                      {}, | ||||||
|  | 	"log":                              {}, | ||||||
|  | 	"log10":                            {}, | ||||||
|  | 	"longjmp":                          {}, | ||||||
|  | 	"lrand48":                          {}, | ||||||
|  | 	"lseek":                            {}, | ||||||
|  | 	"lseek64":                          {}, | ||||||
|  | 	"lstat":                            {}, | ||||||
|  | 	"lstat64":                          {}, | ||||||
|  | 	"malloc":                           {}, | ||||||
|  | 	"mblen":                            {}, | ||||||
|  | 	"mbstowcs":                         {}, | ||||||
|  | 	"mbtowc":                           {}, | ||||||
|  | 	"memchr":                           {}, | ||||||
|  | 	"memcmp":                           {}, | ||||||
|  | 	"memcpy":                           {}, | ||||||
|  | 	"memmove":                          {}, | ||||||
|  | 	"memset":                           {}, | ||||||
|  | 	"mkdir":                            {}, | ||||||
|  | 	"mkfifo":                           {}, | ||||||
|  | 	"mknod":                            {}, | ||||||
|  | 	"mkostemp":                         {}, | ||||||
|  | 	"mkstemp":                          {}, | ||||||
|  | 	"mkstemp64":                        {}, | ||||||
|  | 	"mkstemps":                         {}, | ||||||
|  | 	"mkstemps64":                       {}, | ||||||
|  | 	"mktime":                           {}, | ||||||
|  | 	"mmap":                             {}, | ||||||
|  | 	"modf":                             {}, | ||||||
|  | 	"munmap":                           {}, | ||||||
|  | 	"nl_langinfo":                      {}, | ||||||
|  | 	"ntohs":                            {}, | ||||||
|  | 	"obstack_free":                     {}, | ||||||
|  | 	"obstack_vprintf":                  {}, | ||||||
|  | 	"open":                             {}, | ||||||
|  | 	"open64":                           {}, | ||||||
|  | 	"opendir":                          {}, | ||||||
|  | 	"openpty":                          {}, | ||||||
|  | 	"pathconf":                         {}, | ||||||
|  | 	"pause":                            {}, | ||||||
|  | 	"pclose":                           {}, | ||||||
|  | 	"perror":                           {}, | ||||||
|  | 	"pipe":                             {}, | ||||||
|  | 	"poll":                             {}, | ||||||
|  | 	"popen":                            {}, | ||||||
|  | 	"pow":                              {}, | ||||||
|  | 	"printf":                           {}, | ||||||
|  | 	"pselect":                          {}, | ||||||
|  | 	"pthread_attr_destroy":             {}, | ||||||
|  | 	"pthread_attr_getdetachstate":      {}, | ||||||
|  | 	"pthread_attr_init":                {}, | ||||||
|  | 	"pthread_attr_setdetachstate":      {}, | ||||||
|  | 	"pthread_attr_setscope":            {}, | ||||||
|  | 	"pthread_attr_setstacksize":        {}, | ||||||
|  | 	"pthread_cond_broadcast":           {}, | ||||||
|  | 	"pthread_cond_destroy":             {}, | ||||||
|  | 	"pthread_cond_init":                {}, | ||||||
|  | 	"pthread_cond_signal":              {}, | ||||||
|  | 	"pthread_cond_timedwait":           {}, | ||||||
|  | 	"pthread_cond_wait":                {}, | ||||||
|  | 	"pthread_create":                   {}, | ||||||
|  | 	"pthread_detach":                   {}, | ||||||
|  | 	"pthread_equal":                    {}, | ||||||
|  | 	"pthread_exit":                     {}, | ||||||
|  | 	"pthread_getspecific":              {}, | ||||||
|  | 	"pthread_join":                     {}, | ||||||
|  | 	"pthread_key_create":               {}, | ||||||
|  | 	"pthread_key_delete":               {}, | ||||||
|  | 	"pthread_mutex_destroy":            {}, | ||||||
|  | 	"pthread_mutex_init":               {}, | ||||||
|  | 	"pthread_mutex_lock":               {}, | ||||||
|  | 	"pthread_mutex_trylock":            {}, | ||||||
|  | 	"pthread_mutex_unlock":             {}, | ||||||
|  | 	"pthread_mutexattr_destroy":        {}, | ||||||
|  | 	"pthread_mutexattr_init":           {}, | ||||||
|  | 	"pthread_mutexattr_settype":        {}, | ||||||
|  | 	"pthread_self":                     {}, | ||||||
|  | 	"pthread_setspecific":              {}, | ||||||
|  | 	"putc":                             {}, | ||||||
|  | 	"putchar":                          {}, | ||||||
|  | 	"puts":                             {}, | ||||||
|  | 	"qsort":                            {}, | ||||||
|  | 	"raise":                            {}, | ||||||
|  | 	"rand":                             {}, | ||||||
|  | 	"random":                           {}, | ||||||
|  | 	"random_r":                         {}, | ||||||
|  | 	"read":                             {}, | ||||||
|  | 	"readdir":                          {}, | ||||||
|  | 	"readdir64":                        {}, | ||||||
|  | 	"readlink":                         {}, | ||||||
|  | 	"readv":                            {}, | ||||||
|  | 	"realloc":                          {}, | ||||||
|  | 	"reallocarray":                     {}, | ||||||
|  | 	"realpath":                         {}, | ||||||
|  | 	"recv":                             {}, | ||||||
|  | 	"recvfrom":                         {}, | ||||||
|  | 	"recvmsg":                          {}, | ||||||
|  | 	"remove":                           {}, | ||||||
|  | 	"rename":                           {}, | ||||||
|  | 	"rewind":                           {}, | ||||||
|  | 	"rindex":                           {}, | ||||||
|  | 	"rint":                             {}, | ||||||
|  | 	"rmdir":                            {}, | ||||||
|  | 	"round":                            {}, | ||||||
|  | 	"scalbn":                           {}, | ||||||
|  | 	"scalbnl":                          {}, | ||||||
|  | 	"sched_yield":                      {}, | ||||||
|  | 	"select":                           {}, | ||||||
|  | 	"send":                             {}, | ||||||
|  | 	"sendmsg":                          {}, | ||||||
|  | 	"sendto":                           {}, | ||||||
|  | 	"setbuf":                           {}, | ||||||
|  | 	"setenv":                           {}, | ||||||
|  | 	"setjmp":                           {}, | ||||||
|  | 	"setlocale":                        {}, | ||||||
|  | 	"setrlimit":                        {}, | ||||||
|  | 	"setrlimit64":                      {}, | ||||||
|  | 	"setsid":                           {}, | ||||||
|  | 	"setsockopt":                       {}, | ||||||
|  | 	"setstate":                         {}, | ||||||
|  | 	"setvbuf":                          {}, | ||||||
|  | 	"shmat":                            {}, | ||||||
|  | 	"shmctl":                           {}, | ||||||
|  | 	"shmdt":                            {}, | ||||||
|  | 	"shutdown":                         {}, | ||||||
|  | 	"sigaction":                        {}, | ||||||
|  | 	"signal":                           {}, | ||||||
|  | 	"sin":                              {}, | ||||||
|  | 	"sinf":                             {}, | ||||||
|  | 	"sinh":                             {}, | ||||||
|  | 	"sleep":                            {}, | ||||||
|  | 	"snprintf":                         {}, | ||||||
|  | 	"socket":                           {}, | ||||||
|  | 	"sprintf":                          {}, | ||||||
|  | 	"sqrt":                             {}, | ||||||
|  | 	"srand48":                          {}, | ||||||
|  | 	"sscanf":                           {}, | ||||||
|  | 	"stat":                             {}, | ||||||
|  | 	"stat64":                           {}, | ||||||
|  | 	"stderr":                           {}, | ||||||
|  | 	"stdin":                            {}, | ||||||
|  | 	"stdout":                           {}, | ||||||
|  | 	"strcasecmp":                       {}, | ||||||
|  | 	"strcat":                           {}, | ||||||
|  | 	"strchr":                           {}, | ||||||
|  | 	"strcmp":                           {}, | ||||||
|  | 	"strcpy":                           {}, | ||||||
|  | 	"strcspn":                          {}, | ||||||
|  | 	"strdup":                           {}, | ||||||
|  | 	"strerror":                         {}, | ||||||
|  | 	"strerror_r":                       {}, | ||||||
|  | 	"strlen":                           {}, | ||||||
|  | 	"strncmp":                          {}, | ||||||
|  | 	"strncpy":                          {}, | ||||||
|  | 	"strnlen":                          {}, | ||||||
|  | 	"strpbrk":                          {}, | ||||||
|  | 	"strrchr":                          {}, | ||||||
|  | 	"strspn":                           {}, | ||||||
|  | 	"strstr":                           {}, | ||||||
|  | 	"strtod":                           {}, | ||||||
|  | 	"strtof":                           {}, | ||||||
|  | 	"strtoimax":                        {}, | ||||||
|  | 	"strtol":                           {}, | ||||||
|  | 	"strtold":                          {}, | ||||||
|  | 	"strtoll":                          {}, | ||||||
|  | 	"strtoul":                          {}, | ||||||
|  | 	"strtoull":                         {}, | ||||||
|  | 	"strtoumax":                        {}, | ||||||
|  | 	"symlink":                          {}, | ||||||
|  | 	"sysconf":                          {}, | ||||||
|  | 	"system":                           {}, | ||||||
|  | 	"tan":                              {}, | ||||||
|  | 	"tanh":                             {}, | ||||||
|  | 	"tcgetattr":                        {}, | ||||||
|  | 	"tcsendbreak":                      {}, | ||||||
|  | 	"tcsetattr":                        {}, | ||||||
|  | 	"time":                             {}, | ||||||
|  | 	"tmpfile":                          {}, | ||||||
|  | 	"tolower":                          {}, | ||||||
|  | 	"toupper":                          {}, | ||||||
|  | 	"trunc":                            {}, | ||||||
|  | 	"tzset":                            {}, | ||||||
|  | 	"umask":                            {}, | ||||||
|  | 	"uname":                            {}, | ||||||
|  | 	"ungetc":                           {}, | ||||||
|  | 	"unlink":                           {}, | ||||||
|  | 	"unsetenv":                         {}, | ||||||
|  | 	"usleep":                           {}, | ||||||
|  | 	"utime":                            {}, | ||||||
|  | 	"utimes":                           {}, | ||||||
|  | 	"uuid_generate_random":             {}, | ||||||
|  | 	"uuid_parse":                       {}, | ||||||
|  | 	"uuid_unparse":                     {}, | ||||||
|  | 	"vasprintf":                        {}, | ||||||
|  | 	"vfprintf":                         {}, | ||||||
|  | 	"vprintf":                          {}, | ||||||
|  | 	"vsnprintf":                        {}, | ||||||
|  | 	"vsprintf":                         {}, | ||||||
|  | 	"waitpid":                          {}, | ||||||
|  | 	"wcschr":                           {}, | ||||||
|  | 	"wctomb":                           {}, | ||||||
|  | 	"wcwidth":                          {}, | ||||||
|  | 	"write":                            {}, | ||||||
|  | 	"writev":                           {}, | ||||||
|  | 	"zero_struct_address":              {}, | ||||||
|  | } | ||||||
							
								
								
									
										511
									
								
								vendor/modernc.org/libc/capi_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										511
									
								
								vendor/modernc.org/libc/capi_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,511 @@ | |||||||
|  | // Code generated by 'go generate' - DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package libc // import "modernc.org/libc" | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{ | ||||||
|  | 	"_C_ctype_":                        {}, | ||||||
|  | 	"_IO_putc":                         {}, | ||||||
|  | 	"_ThreadRuneLocale":                {}, | ||||||
|  | 	"___errno_location":                {}, | ||||||
|  | 	"___runetype":                      {}, | ||||||
|  | 	"__assert":                         {}, | ||||||
|  | 	"__assert13":                       {}, | ||||||
|  | 	"__assert2":                        {}, | ||||||
|  | 	"__assert_fail":                    {}, | ||||||
|  | 	"__builtin___memcpy_chk":           {}, | ||||||
|  | 	"__builtin___memmove_chk":          {}, | ||||||
|  | 	"__builtin___memset_chk":           {}, | ||||||
|  | 	"__builtin___snprintf_chk":         {}, | ||||||
|  | 	"__builtin___sprintf_chk":          {}, | ||||||
|  | 	"__builtin___strcat_chk":           {}, | ||||||
|  | 	"__builtin___strcpy_chk":           {}, | ||||||
|  | 	"__builtin___strncpy_chk":          {}, | ||||||
|  | 	"__builtin___vsnprintf_chk":        {}, | ||||||
|  | 	"__builtin_abort":                  {}, | ||||||
|  | 	"__builtin_abs":                    {}, | ||||||
|  | 	"__builtin_add_overflowInt64":      {}, | ||||||
|  | 	"__builtin_add_overflowUint32":     {}, | ||||||
|  | 	"__builtin_add_overflowUint64":     {}, | ||||||
|  | 	"__builtin_bswap16":                {}, | ||||||
|  | 	"__builtin_bswap32":                {}, | ||||||
|  | 	"__builtin_bswap64":                {}, | ||||||
|  | 	"__builtin_bzero":                  {}, | ||||||
|  | 	"__builtin_clz":                    {}, | ||||||
|  | 	"__builtin_clzl":                   {}, | ||||||
|  | 	"__builtin_clzll":                  {}, | ||||||
|  | 	"__builtin_constant_p_impl":        {}, | ||||||
|  | 	"__builtin_copysign":               {}, | ||||||
|  | 	"__builtin_copysignf":              {}, | ||||||
|  | 	"__builtin_copysignl":              {}, | ||||||
|  | 	"__builtin_exit":                   {}, | ||||||
|  | 	"__builtin_expect":                 {}, | ||||||
|  | 	"__builtin_fabs":                   {}, | ||||||
|  | 	"__builtin_fabsf":                  {}, | ||||||
|  | 	"__builtin_fabsl":                  {}, | ||||||
|  | 	"__builtin_free":                   {}, | ||||||
|  | 	"__builtin_getentropy":             {}, | ||||||
|  | 	"__builtin_huge_val":               {}, | ||||||
|  | 	"__builtin_huge_valf":              {}, | ||||||
|  | 	"__builtin_inf":                    {}, | ||||||
|  | 	"__builtin_inff":                   {}, | ||||||
|  | 	"__builtin_infl":                   {}, | ||||||
|  | 	"__builtin_isblank":                {}, | ||||||
|  | 	"__builtin_isnan":                  {}, | ||||||
|  | 	"__builtin_isunordered":            {}, | ||||||
|  | 	"__builtin_llabs":                  {}, | ||||||
|  | 	"__builtin_malloc":                 {}, | ||||||
|  | 	"__builtin_memcmp":                 {}, | ||||||
|  | 	"__builtin_memcpy":                 {}, | ||||||
|  | 	"__builtin_memset":                 {}, | ||||||
|  | 	"__builtin_mmap":                   {}, | ||||||
|  | 	"__builtin_mul_overflowInt64":      {}, | ||||||
|  | 	"__builtin_mul_overflowUint128":    {}, | ||||||
|  | 	"__builtin_mul_overflowUint64":     {}, | ||||||
|  | 	"__builtin_nan":                    {}, | ||||||
|  | 	"__builtin_nanf":                   {}, | ||||||
|  | 	"__builtin_nanl":                   {}, | ||||||
|  | 	"__builtin_object_size":            {}, | ||||||
|  | 	"__builtin_popcount":               {}, | ||||||
|  | 	"__builtin_popcountl":              {}, | ||||||
|  | 	"__builtin_prefetch":               {}, | ||||||
|  | 	"__builtin_printf":                 {}, | ||||||
|  | 	"__builtin_snprintf":               {}, | ||||||
|  | 	"__builtin_sprintf":                {}, | ||||||
|  | 	"__builtin_strchr":                 {}, | ||||||
|  | 	"__builtin_strcmp":                 {}, | ||||||
|  | 	"__builtin_strcpy":                 {}, | ||||||
|  | 	"__builtin_strlen":                 {}, | ||||||
|  | 	"__builtin_sub_overflowInt64":      {}, | ||||||
|  | 	"__builtin_trap":                   {}, | ||||||
|  | 	"__builtin_unreachable":            {}, | ||||||
|  | 	"__ccgo_dmesg":                     {}, | ||||||
|  | 	"__ccgo_getMutexType":              {}, | ||||||
|  | 	"__ccgo_in6addr_anyp":              {}, | ||||||
|  | 	"__ccgo_pthreadAttrGetDetachState": {}, | ||||||
|  | 	"__ccgo_pthreadMutexattrGettype":   {}, | ||||||
|  | 	"__ccgo_sqlite3_log":               {}, | ||||||
|  | 	"__cmsg_nxthdr":                    {}, | ||||||
|  | 	"__ctype_get_mb_cur_max":           {}, | ||||||
|  | 	"__errno":                          {}, | ||||||
|  | 	"__errno_location":                 {}, | ||||||
|  | 	"__error":                          {}, | ||||||
|  | 	"__floatscan":                      {}, | ||||||
|  | 	"__h_errno_location":               {}, | ||||||
|  | 	"__inet_aton":                      {}, | ||||||
|  | 	"__inet_ntoa":                      {}, | ||||||
|  | 	"__intscan":                        {}, | ||||||
|  | 	"__isalnum_l":                      {}, | ||||||
|  | 	"__isalpha_l":                      {}, | ||||||
|  | 	"__isdigit_l":                      {}, | ||||||
|  | 	"__islower_l":                      {}, | ||||||
|  | 	"__isnan":                          {}, | ||||||
|  | 	"__isnanf":                         {}, | ||||||
|  | 	"__isnanl":                         {}, | ||||||
|  | 	"__isoc99_sscanf":                  {}, | ||||||
|  | 	"__isprint_l":                      {}, | ||||||
|  | 	"__isspace_l":                      {}, | ||||||
|  | 	"__isthreaded":                     {}, | ||||||
|  | 	"__isupper_l":                      {}, | ||||||
|  | 	"__isxdigit_l":                     {}, | ||||||
|  | 	"__lookup_ipliteral":               {}, | ||||||
|  | 	"__lookup_name":                    {}, | ||||||
|  | 	"__lookup_serv":                    {}, | ||||||
|  | 	"__mb_sb_limit":                    {}, | ||||||
|  | 	"__runes_for_locale":               {}, | ||||||
|  | 	"__sF":                             {}, | ||||||
|  | 	"__shgetc":                         {}, | ||||||
|  | 	"__shlim":                          {}, | ||||||
|  | 	"__srget":                          {}, | ||||||
|  | 	"__stderrp":                        {}, | ||||||
|  | 	"__stdinp":                         {}, | ||||||
|  | 	"__stdoutp":                        {}, | ||||||
|  | 	"__swbuf":                          {}, | ||||||
|  | 	"__sync_add_and_fetch_uint32":      {}, | ||||||
|  | 	"__sync_sub_and_fetch_uint32":      {}, | ||||||
|  | 	"__syscall1":                       {}, | ||||||
|  | 	"__syscall3":                       {}, | ||||||
|  | 	"__syscall4":                       {}, | ||||||
|  | 	"__toread":                         {}, | ||||||
|  | 	"__toread_needs_stdio_exit":        {}, | ||||||
|  | 	"__uflow":                          {}, | ||||||
|  | 	"__xuname":                         {}, | ||||||
|  | 	"_ctype_":                          {}, | ||||||
|  | 	"_exit":                            {}, | ||||||
|  | 	"_longjmp":                         {}, | ||||||
|  | 	"_obstack_begin":                   {}, | ||||||
|  | 	"_obstack_newchunk":                {}, | ||||||
|  | 	"_setjmp":                          {}, | ||||||
|  | 	"_tolower_tab_":                    {}, | ||||||
|  | 	"_toupper_tab_":                    {}, | ||||||
|  | 	"abort":                            {}, | ||||||
|  | 	"abs":                              {}, | ||||||
|  | 	"accept":                           {}, | ||||||
|  | 	"access":                           {}, | ||||||
|  | 	"acos":                             {}, | ||||||
|  | 	"acosh":                            {}, | ||||||
|  | 	"alarm":                            {}, | ||||||
|  | 	"asin":                             {}, | ||||||
|  | 	"asinh":                            {}, | ||||||
|  | 	"atan":                             {}, | ||||||
|  | 	"atan2":                            {}, | ||||||
|  | 	"atanh":                            {}, | ||||||
|  | 	"atexit":                           {}, | ||||||
|  | 	"atof":                             {}, | ||||||
|  | 	"atoi":                             {}, | ||||||
|  | 	"atol":                             {}, | ||||||
|  | 	"backtrace":                        {}, | ||||||
|  | 	"backtrace_symbols_fd":             {}, | ||||||
|  | 	"bind":                             {}, | ||||||
|  | 	"bsearch":                          {}, | ||||||
|  | 	"bswap16":                          {}, | ||||||
|  | 	"bswap32":                          {}, | ||||||
|  | 	"bswap64":                          {}, | ||||||
|  | 	"bzero":                            {}, | ||||||
|  | 	"calloc":                           {}, | ||||||
|  | 	"ceil":                             {}, | ||||||
|  | 	"ceilf":                            {}, | ||||||
|  | 	"cfgetospeed":                      {}, | ||||||
|  | 	"cfsetispeed":                      {}, | ||||||
|  | 	"cfsetospeed":                      {}, | ||||||
|  | 	"chdir":                            {}, | ||||||
|  | 	"chflags":                          {}, | ||||||
|  | 	"chmod":                            {}, | ||||||
|  | 	"chown":                            {}, | ||||||
|  | 	"clock_gettime":                    {}, | ||||||
|  | 	"close":                            {}, | ||||||
|  | 	"closedir":                         {}, | ||||||
|  | 	"confstr":                          {}, | ||||||
|  | 	"connect":                          {}, | ||||||
|  | 	"copysign":                         {}, | ||||||
|  | 	"copysignf":                        {}, | ||||||
|  | 	"copysignl":                        {}, | ||||||
|  | 	"cos":                              {}, | ||||||
|  | 	"cosf":                             {}, | ||||||
|  | 	"cosh":                             {}, | ||||||
|  | 	"ctime":                            {}, | ||||||
|  | 	"ctime_r":                          {}, | ||||||
|  | 	"dlclose":                          {}, | ||||||
|  | 	"dlerror":                          {}, | ||||||
|  | 	"dlopen":                           {}, | ||||||
|  | 	"dlsym":                            {}, | ||||||
|  | 	"dup2":                             {}, | ||||||
|  | 	"endpwent":                         {}, | ||||||
|  | 	"environ":                          {}, | ||||||
|  | 	"execvp":                           {}, | ||||||
|  | 	"exit":                             {}, | ||||||
|  | 	"exp":                              {}, | ||||||
|  | 	"fabs":                             {}, | ||||||
|  | 	"fabsf":                            {}, | ||||||
|  | 	"fabsl":                            {}, | ||||||
|  | 	"fchmod":                           {}, | ||||||
|  | 	"fchown":                           {}, | ||||||
|  | 	"fclose":                           {}, | ||||||
|  | 	"fcntl":                            {}, | ||||||
|  | 	"fcntl64":                          {}, | ||||||
|  | 	"fdopen":                           {}, | ||||||
|  | 	"ferror":                           {}, | ||||||
|  | 	"fflush":                           {}, | ||||||
|  | 	"fgetc":                            {}, | ||||||
|  | 	"fgets":                            {}, | ||||||
|  | 	"fileno":                           {}, | ||||||
|  | 	"floor":                            {}, | ||||||
|  | 	"fmod":                             {}, | ||||||
|  | 	"fmodl":                            {}, | ||||||
|  | 	"fopen":                            {}, | ||||||
|  | 	"fopen64":                          {}, | ||||||
|  | 	"fork":                             {}, | ||||||
|  | 	"fprintf":                          {}, | ||||||
|  | 	"fputc":                            {}, | ||||||
|  | 	"fputs":                            {}, | ||||||
|  | 	"fread":                            {}, | ||||||
|  | 	"free":                             {}, | ||||||
|  | 	"freeaddrinfo":                     {}, | ||||||
|  | 	"frexp":                            {}, | ||||||
|  | 	"fscanf":                           {}, | ||||||
|  | 	"fseek":                            {}, | ||||||
|  | 	"fstat":                            {}, | ||||||
|  | 	"fstat64":                          {}, | ||||||
|  | 	"fsync":                            {}, | ||||||
|  | 	"ftell":                            {}, | ||||||
|  | 	"ftruncate":                        {}, | ||||||
|  | 	"fts64_close":                      {}, | ||||||
|  | 	"fts64_open":                       {}, | ||||||
|  | 	"fts64_read":                       {}, | ||||||
|  | 	"fts_close":                        {}, | ||||||
|  | 	"fts_open":                         {}, | ||||||
|  | 	"fts_read":                         {}, | ||||||
|  | 	"fwrite":                           {}, | ||||||
|  | 	"gai_strerror":                     {}, | ||||||
|  | 	"getaddrinfo":                      {}, | ||||||
|  | 	"getc":                             {}, | ||||||
|  | 	"getcwd":                           {}, | ||||||
|  | 	"getegid":                          {}, | ||||||
|  | 	"getentropy":                       {}, | ||||||
|  | 	"getenv":                           {}, | ||||||
|  | 	"geteuid":                          {}, | ||||||
|  | 	"getgid":                           {}, | ||||||
|  | 	"getgrgid":                         {}, | ||||||
|  | 	"getgrgid_r":                       {}, | ||||||
|  | 	"getgrnam":                         {}, | ||||||
|  | 	"getgrnam_r":                       {}, | ||||||
|  | 	"gethostbyaddr":                    {}, | ||||||
|  | 	"gethostbyaddr_r":                  {}, | ||||||
|  | 	"gethostbyname":                    {}, | ||||||
|  | 	"gethostbyname2":                   {}, | ||||||
|  | 	"gethostbyname2_r":                 {}, | ||||||
|  | 	"gethostname":                      {}, | ||||||
|  | 	"getnameinfo":                      {}, | ||||||
|  | 	"getpagesize":                      {}, | ||||||
|  | 	"getpeername":                      {}, | ||||||
|  | 	"getpid":                           {}, | ||||||
|  | 	"getpwnam":                         {}, | ||||||
|  | 	"getpwnam_r":                       {}, | ||||||
|  | 	"getpwuid":                         {}, | ||||||
|  | 	"getpwuid_r":                       {}, | ||||||
|  | 	"getresgid":                        {}, | ||||||
|  | 	"getresuid":                        {}, | ||||||
|  | 	"getrlimit":                        {}, | ||||||
|  | 	"getrlimit64":                      {}, | ||||||
|  | 	"getrusage":                        {}, | ||||||
|  | 	"getservbyname":                    {}, | ||||||
|  | 	"getsockname":                      {}, | ||||||
|  | 	"getsockopt":                       {}, | ||||||
|  | 	"gettimeofday":                     {}, | ||||||
|  | 	"getuid":                           {}, | ||||||
|  | 	"gmtime_r":                         {}, | ||||||
|  | 	"h_errno":                          {}, | ||||||
|  | 	"htonl":                            {}, | ||||||
|  | 	"htons":                            {}, | ||||||
|  | 	"hypot":                            {}, | ||||||
|  | 	"inet_ntoa":                        {}, | ||||||
|  | 	"inet_ntop":                        {}, | ||||||
|  | 	"inet_pton":                        {}, | ||||||
|  | 	"initstate":                        {}, | ||||||
|  | 	"initstate_r":                      {}, | ||||||
|  | 	"ioctl":                            {}, | ||||||
|  | 	"isalnum":                          {}, | ||||||
|  | 	"isalpha":                          {}, | ||||||
|  | 	"isascii":                          {}, | ||||||
|  | 	"isatty":                           {}, | ||||||
|  | 	"isblank":                          {}, | ||||||
|  | 	"isdigit":                          {}, | ||||||
|  | 	"islower":                          {}, | ||||||
|  | 	"isnan":                            {}, | ||||||
|  | 	"isnanf":                           {}, | ||||||
|  | 	"isnanl":                           {}, | ||||||
|  | 	"isprint":                          {}, | ||||||
|  | 	"isspace":                          {}, | ||||||
|  | 	"isupper":                          {}, | ||||||
|  | 	"isxdigit":                         {}, | ||||||
|  | 	"kill":                             {}, | ||||||
|  | 	"ldexp":                            {}, | ||||||
|  | 	"link":                             {}, | ||||||
|  | 	"listen":                           {}, | ||||||
|  | 	"llabs":                            {}, | ||||||
|  | 	"localtime":                        {}, | ||||||
|  | 	"localtime_r":                      {}, | ||||||
|  | 	"log":                              {}, | ||||||
|  | 	"log10":                            {}, | ||||||
|  | 	"longjmp":                          {}, | ||||||
|  | 	"lrand48":                          {}, | ||||||
|  | 	"lseek":                            {}, | ||||||
|  | 	"lseek64":                          {}, | ||||||
|  | 	"lstat":                            {}, | ||||||
|  | 	"lstat64":                          {}, | ||||||
|  | 	"malloc":                           {}, | ||||||
|  | 	"mblen":                            {}, | ||||||
|  | 	"mbstowcs":                         {}, | ||||||
|  | 	"mbtowc":                           {}, | ||||||
|  | 	"memchr":                           {}, | ||||||
|  | 	"memcmp":                           {}, | ||||||
|  | 	"memcpy":                           {}, | ||||||
|  | 	"memmove":                          {}, | ||||||
|  | 	"memset":                           {}, | ||||||
|  | 	"mkdir":                            {}, | ||||||
|  | 	"mkfifo":                           {}, | ||||||
|  | 	"mknod":                            {}, | ||||||
|  | 	"mkostemp":                         {}, | ||||||
|  | 	"mkstemp":                          {}, | ||||||
|  | 	"mkstemp64":                        {}, | ||||||
|  | 	"mkstemps":                         {}, | ||||||
|  | 	"mkstemps64":                       {}, | ||||||
|  | 	"mktime":                           {}, | ||||||
|  | 	"mmap":                             {}, | ||||||
|  | 	"modf":                             {}, | ||||||
|  | 	"munmap":                           {}, | ||||||
|  | 	"nl_langinfo":                      {}, | ||||||
|  | 	"ntohs":                            {}, | ||||||
|  | 	"obstack_free":                     {}, | ||||||
|  | 	"obstack_vprintf":                  {}, | ||||||
|  | 	"open":                             {}, | ||||||
|  | 	"open64":                           {}, | ||||||
|  | 	"opendir":                          {}, | ||||||
|  | 	"openpty":                          {}, | ||||||
|  | 	"pathconf":                         {}, | ||||||
|  | 	"pause":                            {}, | ||||||
|  | 	"pclose":                           {}, | ||||||
|  | 	"perror":                           {}, | ||||||
|  | 	"pipe":                             {}, | ||||||
|  | 	"poll":                             {}, | ||||||
|  | 	"popen":                            {}, | ||||||
|  | 	"pow":                              {}, | ||||||
|  | 	"printf":                           {}, | ||||||
|  | 	"pselect":                          {}, | ||||||
|  | 	"pthread_attr_destroy":             {}, | ||||||
|  | 	"pthread_attr_getdetachstate":      {}, | ||||||
|  | 	"pthread_attr_init":                {}, | ||||||
|  | 	"pthread_attr_setdetachstate":      {}, | ||||||
|  | 	"pthread_attr_setscope":            {}, | ||||||
|  | 	"pthread_attr_setstacksize":        {}, | ||||||
|  | 	"pthread_cond_broadcast":           {}, | ||||||
|  | 	"pthread_cond_destroy":             {}, | ||||||
|  | 	"pthread_cond_init":                {}, | ||||||
|  | 	"pthread_cond_signal":              {}, | ||||||
|  | 	"pthread_cond_timedwait":           {}, | ||||||
|  | 	"pthread_cond_wait":                {}, | ||||||
|  | 	"pthread_create":                   {}, | ||||||
|  | 	"pthread_detach":                   {}, | ||||||
|  | 	"pthread_equal":                    {}, | ||||||
|  | 	"pthread_exit":                     {}, | ||||||
|  | 	"pthread_getspecific":              {}, | ||||||
|  | 	"pthread_join":                     {}, | ||||||
|  | 	"pthread_key_create":               {}, | ||||||
|  | 	"pthread_key_delete":               {}, | ||||||
|  | 	"pthread_mutex_destroy":            {}, | ||||||
|  | 	"pthread_mutex_init":               {}, | ||||||
|  | 	"pthread_mutex_lock":               {}, | ||||||
|  | 	"pthread_mutex_trylock":            {}, | ||||||
|  | 	"pthread_mutex_unlock":             {}, | ||||||
|  | 	"pthread_mutexattr_destroy":        {}, | ||||||
|  | 	"pthread_mutexattr_init":           {}, | ||||||
|  | 	"pthread_mutexattr_settype":        {}, | ||||||
|  | 	"pthread_self":                     {}, | ||||||
|  | 	"pthread_setspecific":              {}, | ||||||
|  | 	"putc":                             {}, | ||||||
|  | 	"putchar":                          {}, | ||||||
|  | 	"puts":                             {}, | ||||||
|  | 	"qsort":                            {}, | ||||||
|  | 	"raise":                            {}, | ||||||
|  | 	"rand":                             {}, | ||||||
|  | 	"random":                           {}, | ||||||
|  | 	"random_r":                         {}, | ||||||
|  | 	"read":                             {}, | ||||||
|  | 	"readdir":                          {}, | ||||||
|  | 	"readdir64":                        {}, | ||||||
|  | 	"readlink":                         {}, | ||||||
|  | 	"readv":                            {}, | ||||||
|  | 	"realloc":                          {}, | ||||||
|  | 	"reallocarray":                     {}, | ||||||
|  | 	"realpath":                         {}, | ||||||
|  | 	"recv":                             {}, | ||||||
|  | 	"recvfrom":                         {}, | ||||||
|  | 	"recvmsg":                          {}, | ||||||
|  | 	"remove":                           {}, | ||||||
|  | 	"rename":                           {}, | ||||||
|  | 	"rewind":                           {}, | ||||||
|  | 	"rindex":                           {}, | ||||||
|  | 	"rint":                             {}, | ||||||
|  | 	"rmdir":                            {}, | ||||||
|  | 	"round":                            {}, | ||||||
|  | 	"scalbn":                           {}, | ||||||
|  | 	"scalbnl":                          {}, | ||||||
|  | 	"sched_yield":                      {}, | ||||||
|  | 	"select":                           {}, | ||||||
|  | 	"send":                             {}, | ||||||
|  | 	"sendmsg":                          {}, | ||||||
|  | 	"sendto":                           {}, | ||||||
|  | 	"setbuf":                           {}, | ||||||
|  | 	"setenv":                           {}, | ||||||
|  | 	"setjmp":                           {}, | ||||||
|  | 	"setlocale":                        {}, | ||||||
|  | 	"setrlimit":                        {}, | ||||||
|  | 	"setrlimit64":                      {}, | ||||||
|  | 	"setsid":                           {}, | ||||||
|  | 	"setsockopt":                       {}, | ||||||
|  | 	"setstate":                         {}, | ||||||
|  | 	"setvbuf":                          {}, | ||||||
|  | 	"shmat":                            {}, | ||||||
|  | 	"shmctl":                           {}, | ||||||
|  | 	"shmdt":                            {}, | ||||||
|  | 	"shutdown":                         {}, | ||||||
|  | 	"sigaction":                        {}, | ||||||
|  | 	"signal":                           {}, | ||||||
|  | 	"sin":                              {}, | ||||||
|  | 	"sinf":                             {}, | ||||||
|  | 	"sinh":                             {}, | ||||||
|  | 	"sleep":                            {}, | ||||||
|  | 	"snprintf":                         {}, | ||||||
|  | 	"socket":                           {}, | ||||||
|  | 	"sprintf":                          {}, | ||||||
|  | 	"sqrt":                             {}, | ||||||
|  | 	"srand48":                          {}, | ||||||
|  | 	"sscanf":                           {}, | ||||||
|  | 	"stat":                             {}, | ||||||
|  | 	"stat64":                           {}, | ||||||
|  | 	"stderr":                           {}, | ||||||
|  | 	"stdin":                            {}, | ||||||
|  | 	"stdout":                           {}, | ||||||
|  | 	"strcasecmp":                       {}, | ||||||
|  | 	"strcat":                           {}, | ||||||
|  | 	"strchr":                           {}, | ||||||
|  | 	"strcmp":                           {}, | ||||||
|  | 	"strcpy":                           {}, | ||||||
|  | 	"strcspn":                          {}, | ||||||
|  | 	"strdup":                           {}, | ||||||
|  | 	"strerror":                         {}, | ||||||
|  | 	"strerror_r":                       {}, | ||||||
|  | 	"strlen":                           {}, | ||||||
|  | 	"strncmp":                          {}, | ||||||
|  | 	"strncpy":                          {}, | ||||||
|  | 	"strnlen":                          {}, | ||||||
|  | 	"strpbrk":                          {}, | ||||||
|  | 	"strrchr":                          {}, | ||||||
|  | 	"strspn":                           {}, | ||||||
|  | 	"strstr":                           {}, | ||||||
|  | 	"strtod":                           {}, | ||||||
|  | 	"strtof":                           {}, | ||||||
|  | 	"strtoimax":                        {}, | ||||||
|  | 	"strtol":                           {}, | ||||||
|  | 	"strtold":                          {}, | ||||||
|  | 	"strtoll":                          {}, | ||||||
|  | 	"strtoul":                          {}, | ||||||
|  | 	"strtoull":                         {}, | ||||||
|  | 	"strtoumax":                        {}, | ||||||
|  | 	"symlink":                          {}, | ||||||
|  | 	"sysconf":                          {}, | ||||||
|  | 	"system":                           {}, | ||||||
|  | 	"tan":                              {}, | ||||||
|  | 	"tanh":                             {}, | ||||||
|  | 	"tcgetattr":                        {}, | ||||||
|  | 	"tcsendbreak":                      {}, | ||||||
|  | 	"tcsetattr":                        {}, | ||||||
|  | 	"time":                             {}, | ||||||
|  | 	"tmpfile":                          {}, | ||||||
|  | 	"tolower":                          {}, | ||||||
|  | 	"toupper":                          {}, | ||||||
|  | 	"trunc":                            {}, | ||||||
|  | 	"tzset":                            {}, | ||||||
|  | 	"umask":                            {}, | ||||||
|  | 	"uname":                            {}, | ||||||
|  | 	"ungetc":                           {}, | ||||||
|  | 	"unlink":                           {}, | ||||||
|  | 	"unsetenv":                         {}, | ||||||
|  | 	"usleep":                           {}, | ||||||
|  | 	"utime":                            {}, | ||||||
|  | 	"utimes":                           {}, | ||||||
|  | 	"uuid_generate_random":             {}, | ||||||
|  | 	"uuid_parse":                       {}, | ||||||
|  | 	"uuid_unparse":                     {}, | ||||||
|  | 	"vasprintf":                        {}, | ||||||
|  | 	"vfprintf":                         {}, | ||||||
|  | 	"vprintf":                          {}, | ||||||
|  | 	"vsnprintf":                        {}, | ||||||
|  | 	"vsprintf":                         {}, | ||||||
|  | 	"waitpid":                          {}, | ||||||
|  | 	"wcschr":                           {}, | ||||||
|  | 	"wctomb":                           {}, | ||||||
|  | 	"wcwidth":                          {}, | ||||||
|  | 	"write":                            {}, | ||||||
|  | 	"writev":                           {}, | ||||||
|  | 	"zero_struct_address":              {}, | ||||||
|  | } | ||||||
							
								
								
									
										511
									
								
								vendor/modernc.org/libc/capi_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										511
									
								
								vendor/modernc.org/libc/capi_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,511 @@ | |||||||
|  | // Code generated by 'go generate' - DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package libc // import "modernc.org/libc" | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{ | ||||||
|  | 	"_C_ctype_":                        {}, | ||||||
|  | 	"_IO_putc":                         {}, | ||||||
|  | 	"_ThreadRuneLocale":                {}, | ||||||
|  | 	"___errno_location":                {}, | ||||||
|  | 	"___runetype":                      {}, | ||||||
|  | 	"__assert":                         {}, | ||||||
|  | 	"__assert13":                       {}, | ||||||
|  | 	"__assert2":                        {}, | ||||||
|  | 	"__assert_fail":                    {}, | ||||||
|  | 	"__builtin___memcpy_chk":           {}, | ||||||
|  | 	"__builtin___memmove_chk":          {}, | ||||||
|  | 	"__builtin___memset_chk":           {}, | ||||||
|  | 	"__builtin___snprintf_chk":         {}, | ||||||
|  | 	"__builtin___sprintf_chk":          {}, | ||||||
|  | 	"__builtin___strcat_chk":           {}, | ||||||
|  | 	"__builtin___strcpy_chk":           {}, | ||||||
|  | 	"__builtin___strncpy_chk":          {}, | ||||||
|  | 	"__builtin___vsnprintf_chk":        {}, | ||||||
|  | 	"__builtin_abort":                  {}, | ||||||
|  | 	"__builtin_abs":                    {}, | ||||||
|  | 	"__builtin_add_overflowInt64":      {}, | ||||||
|  | 	"__builtin_add_overflowUint32":     {}, | ||||||
|  | 	"__builtin_add_overflowUint64":     {}, | ||||||
|  | 	"__builtin_bswap16":                {}, | ||||||
|  | 	"__builtin_bswap32":                {}, | ||||||
|  | 	"__builtin_bswap64":                {}, | ||||||
|  | 	"__builtin_bzero":                  {}, | ||||||
|  | 	"__builtin_clz":                    {}, | ||||||
|  | 	"__builtin_clzl":                   {}, | ||||||
|  | 	"__builtin_clzll":                  {}, | ||||||
|  | 	"__builtin_constant_p_impl":        {}, | ||||||
|  | 	"__builtin_copysign":               {}, | ||||||
|  | 	"__builtin_copysignf":              {}, | ||||||
|  | 	"__builtin_copysignl":              {}, | ||||||
|  | 	"__builtin_exit":                   {}, | ||||||
|  | 	"__builtin_expect":                 {}, | ||||||
|  | 	"__builtin_fabs":                   {}, | ||||||
|  | 	"__builtin_fabsf":                  {}, | ||||||
|  | 	"__builtin_fabsl":                  {}, | ||||||
|  | 	"__builtin_free":                   {}, | ||||||
|  | 	"__builtin_getentropy":             {}, | ||||||
|  | 	"__builtin_huge_val":               {}, | ||||||
|  | 	"__builtin_huge_valf":              {}, | ||||||
|  | 	"__builtin_inf":                    {}, | ||||||
|  | 	"__builtin_inff":                   {}, | ||||||
|  | 	"__builtin_infl":                   {}, | ||||||
|  | 	"__builtin_isblank":                {}, | ||||||
|  | 	"__builtin_isnan":                  {}, | ||||||
|  | 	"__builtin_isunordered":            {}, | ||||||
|  | 	"__builtin_llabs":                  {}, | ||||||
|  | 	"__builtin_malloc":                 {}, | ||||||
|  | 	"__builtin_memcmp":                 {}, | ||||||
|  | 	"__builtin_memcpy":                 {}, | ||||||
|  | 	"__builtin_memset":                 {}, | ||||||
|  | 	"__builtin_mmap":                   {}, | ||||||
|  | 	"__builtin_mul_overflowInt64":      {}, | ||||||
|  | 	"__builtin_mul_overflowUint128":    {}, | ||||||
|  | 	"__builtin_mul_overflowUint64":     {}, | ||||||
|  | 	"__builtin_nan":                    {}, | ||||||
|  | 	"__builtin_nanf":                   {}, | ||||||
|  | 	"__builtin_nanl":                   {}, | ||||||
|  | 	"__builtin_object_size":            {}, | ||||||
|  | 	"__builtin_popcount":               {}, | ||||||
|  | 	"__builtin_popcountl":              {}, | ||||||
|  | 	"__builtin_prefetch":               {}, | ||||||
|  | 	"__builtin_printf":                 {}, | ||||||
|  | 	"__builtin_snprintf":               {}, | ||||||
|  | 	"__builtin_sprintf":                {}, | ||||||
|  | 	"__builtin_strchr":                 {}, | ||||||
|  | 	"__builtin_strcmp":                 {}, | ||||||
|  | 	"__builtin_strcpy":                 {}, | ||||||
|  | 	"__builtin_strlen":                 {}, | ||||||
|  | 	"__builtin_sub_overflowInt64":      {}, | ||||||
|  | 	"__builtin_trap":                   {}, | ||||||
|  | 	"__builtin_unreachable":            {}, | ||||||
|  | 	"__ccgo_dmesg":                     {}, | ||||||
|  | 	"__ccgo_getMutexType":              {}, | ||||||
|  | 	"__ccgo_in6addr_anyp":              {}, | ||||||
|  | 	"__ccgo_pthreadAttrGetDetachState": {}, | ||||||
|  | 	"__ccgo_pthreadMutexattrGettype":   {}, | ||||||
|  | 	"__ccgo_sqlite3_log":               {}, | ||||||
|  | 	"__cmsg_nxthdr":                    {}, | ||||||
|  | 	"__ctype_get_mb_cur_max":           {}, | ||||||
|  | 	"__errno":                          {}, | ||||||
|  | 	"__errno_location":                 {}, | ||||||
|  | 	"__error":                          {}, | ||||||
|  | 	"__floatscan":                      {}, | ||||||
|  | 	"__h_errno_location":               {}, | ||||||
|  | 	"__inet_aton":                      {}, | ||||||
|  | 	"__inet_ntoa":                      {}, | ||||||
|  | 	"__intscan":                        {}, | ||||||
|  | 	"__isalnum_l":                      {}, | ||||||
|  | 	"__isalpha_l":                      {}, | ||||||
|  | 	"__isdigit_l":                      {}, | ||||||
|  | 	"__islower_l":                      {}, | ||||||
|  | 	"__isnan":                          {}, | ||||||
|  | 	"__isnanf":                         {}, | ||||||
|  | 	"__isnanl":                         {}, | ||||||
|  | 	"__isoc99_sscanf":                  {}, | ||||||
|  | 	"__isprint_l":                      {}, | ||||||
|  | 	"__isspace_l":                      {}, | ||||||
|  | 	"__isthreaded":                     {}, | ||||||
|  | 	"__isupper_l":                      {}, | ||||||
|  | 	"__isxdigit_l":                     {}, | ||||||
|  | 	"__lookup_ipliteral":               {}, | ||||||
|  | 	"__lookup_name":                    {}, | ||||||
|  | 	"__lookup_serv":                    {}, | ||||||
|  | 	"__mb_sb_limit":                    {}, | ||||||
|  | 	"__runes_for_locale":               {}, | ||||||
|  | 	"__sF":                             {}, | ||||||
|  | 	"__shgetc":                         {}, | ||||||
|  | 	"__shlim":                          {}, | ||||||
|  | 	"__srget":                          {}, | ||||||
|  | 	"__stderrp":                        {}, | ||||||
|  | 	"__stdinp":                         {}, | ||||||
|  | 	"__stdoutp":                        {}, | ||||||
|  | 	"__swbuf":                          {}, | ||||||
|  | 	"__sync_add_and_fetch_uint32":      {}, | ||||||
|  | 	"__sync_sub_and_fetch_uint32":      {}, | ||||||
|  | 	"__syscall1":                       {}, | ||||||
|  | 	"__syscall3":                       {}, | ||||||
|  | 	"__syscall4":                       {}, | ||||||
|  | 	"__toread":                         {}, | ||||||
|  | 	"__toread_needs_stdio_exit":        {}, | ||||||
|  | 	"__uflow":                          {}, | ||||||
|  | 	"__xuname":                         {}, | ||||||
|  | 	"_ctype_":                          {}, | ||||||
|  | 	"_exit":                            {}, | ||||||
|  | 	"_longjmp":                         {}, | ||||||
|  | 	"_obstack_begin":                   {}, | ||||||
|  | 	"_obstack_newchunk":                {}, | ||||||
|  | 	"_setjmp":                          {}, | ||||||
|  | 	"_tolower_tab_":                    {}, | ||||||
|  | 	"_toupper_tab_":                    {}, | ||||||
|  | 	"abort":                            {}, | ||||||
|  | 	"abs":                              {}, | ||||||
|  | 	"accept":                           {}, | ||||||
|  | 	"access":                           {}, | ||||||
|  | 	"acos":                             {}, | ||||||
|  | 	"acosh":                            {}, | ||||||
|  | 	"alarm":                            {}, | ||||||
|  | 	"asin":                             {}, | ||||||
|  | 	"asinh":                            {}, | ||||||
|  | 	"atan":                             {}, | ||||||
|  | 	"atan2":                            {}, | ||||||
|  | 	"atanh":                            {}, | ||||||
|  | 	"atexit":                           {}, | ||||||
|  | 	"atof":                             {}, | ||||||
|  | 	"atoi":                             {}, | ||||||
|  | 	"atol":                             {}, | ||||||
|  | 	"backtrace":                        {}, | ||||||
|  | 	"backtrace_symbols_fd":             {}, | ||||||
|  | 	"bind":                             {}, | ||||||
|  | 	"bsearch":                          {}, | ||||||
|  | 	"bswap16":                          {}, | ||||||
|  | 	"bswap32":                          {}, | ||||||
|  | 	"bswap64":                          {}, | ||||||
|  | 	"bzero":                            {}, | ||||||
|  | 	"calloc":                           {}, | ||||||
|  | 	"ceil":                             {}, | ||||||
|  | 	"ceilf":                            {}, | ||||||
|  | 	"cfgetospeed":                      {}, | ||||||
|  | 	"cfsetispeed":                      {}, | ||||||
|  | 	"cfsetospeed":                      {}, | ||||||
|  | 	"chdir":                            {}, | ||||||
|  | 	"chflags":                          {}, | ||||||
|  | 	"chmod":                            {}, | ||||||
|  | 	"chown":                            {}, | ||||||
|  | 	"clock_gettime":                    {}, | ||||||
|  | 	"close":                            {}, | ||||||
|  | 	"closedir":                         {}, | ||||||
|  | 	"confstr":                          {}, | ||||||
|  | 	"connect":                          {}, | ||||||
|  | 	"copysign":                         {}, | ||||||
|  | 	"copysignf":                        {}, | ||||||
|  | 	"copysignl":                        {}, | ||||||
|  | 	"cos":                              {}, | ||||||
|  | 	"cosf":                             {}, | ||||||
|  | 	"cosh":                             {}, | ||||||
|  | 	"ctime":                            {}, | ||||||
|  | 	"ctime_r":                          {}, | ||||||
|  | 	"dlclose":                          {}, | ||||||
|  | 	"dlerror":                          {}, | ||||||
|  | 	"dlopen":                           {}, | ||||||
|  | 	"dlsym":                            {}, | ||||||
|  | 	"dup2":                             {}, | ||||||
|  | 	"endpwent":                         {}, | ||||||
|  | 	"environ":                          {}, | ||||||
|  | 	"execvp":                           {}, | ||||||
|  | 	"exit":                             {}, | ||||||
|  | 	"exp":                              {}, | ||||||
|  | 	"fabs":                             {}, | ||||||
|  | 	"fabsf":                            {}, | ||||||
|  | 	"fabsl":                            {}, | ||||||
|  | 	"fchmod":                           {}, | ||||||
|  | 	"fchown":                           {}, | ||||||
|  | 	"fclose":                           {}, | ||||||
|  | 	"fcntl":                            {}, | ||||||
|  | 	"fcntl64":                          {}, | ||||||
|  | 	"fdopen":                           {}, | ||||||
|  | 	"ferror":                           {}, | ||||||
|  | 	"fflush":                           {}, | ||||||
|  | 	"fgetc":                            {}, | ||||||
|  | 	"fgets":                            {}, | ||||||
|  | 	"fileno":                           {}, | ||||||
|  | 	"floor":                            {}, | ||||||
|  | 	"fmod":                             {}, | ||||||
|  | 	"fmodl":                            {}, | ||||||
|  | 	"fopen":                            {}, | ||||||
|  | 	"fopen64":                          {}, | ||||||
|  | 	"fork":                             {}, | ||||||
|  | 	"fprintf":                          {}, | ||||||
|  | 	"fputc":                            {}, | ||||||
|  | 	"fputs":                            {}, | ||||||
|  | 	"fread":                            {}, | ||||||
|  | 	"free":                             {}, | ||||||
|  | 	"freeaddrinfo":                     {}, | ||||||
|  | 	"frexp":                            {}, | ||||||
|  | 	"fscanf":                           {}, | ||||||
|  | 	"fseek":                            {}, | ||||||
|  | 	"fstat":                            {}, | ||||||
|  | 	"fstat64":                          {}, | ||||||
|  | 	"fsync":                            {}, | ||||||
|  | 	"ftell":                            {}, | ||||||
|  | 	"ftruncate":                        {}, | ||||||
|  | 	"fts64_close":                      {}, | ||||||
|  | 	"fts64_open":                       {}, | ||||||
|  | 	"fts64_read":                       {}, | ||||||
|  | 	"fts_close":                        {}, | ||||||
|  | 	"fts_open":                         {}, | ||||||
|  | 	"fts_read":                         {}, | ||||||
|  | 	"fwrite":                           {}, | ||||||
|  | 	"gai_strerror":                     {}, | ||||||
|  | 	"getaddrinfo":                      {}, | ||||||
|  | 	"getc":                             {}, | ||||||
|  | 	"getcwd":                           {}, | ||||||
|  | 	"getegid":                          {}, | ||||||
|  | 	"getentropy":                       {}, | ||||||
|  | 	"getenv":                           {}, | ||||||
|  | 	"geteuid":                          {}, | ||||||
|  | 	"getgid":                           {}, | ||||||
|  | 	"getgrgid":                         {}, | ||||||
|  | 	"getgrgid_r":                       {}, | ||||||
|  | 	"getgrnam":                         {}, | ||||||
|  | 	"getgrnam_r":                       {}, | ||||||
|  | 	"gethostbyaddr":                    {}, | ||||||
|  | 	"gethostbyaddr_r":                  {}, | ||||||
|  | 	"gethostbyname":                    {}, | ||||||
|  | 	"gethostbyname2":                   {}, | ||||||
|  | 	"gethostbyname2_r":                 {}, | ||||||
|  | 	"gethostname":                      {}, | ||||||
|  | 	"getnameinfo":                      {}, | ||||||
|  | 	"getpagesize":                      {}, | ||||||
|  | 	"getpeername":                      {}, | ||||||
|  | 	"getpid":                           {}, | ||||||
|  | 	"getpwnam":                         {}, | ||||||
|  | 	"getpwnam_r":                       {}, | ||||||
|  | 	"getpwuid":                         {}, | ||||||
|  | 	"getpwuid_r":                       {}, | ||||||
|  | 	"getresgid":                        {}, | ||||||
|  | 	"getresuid":                        {}, | ||||||
|  | 	"getrlimit":                        {}, | ||||||
|  | 	"getrlimit64":                      {}, | ||||||
|  | 	"getrusage":                        {}, | ||||||
|  | 	"getservbyname":                    {}, | ||||||
|  | 	"getsockname":                      {}, | ||||||
|  | 	"getsockopt":                       {}, | ||||||
|  | 	"gettimeofday":                     {}, | ||||||
|  | 	"getuid":                           {}, | ||||||
|  | 	"gmtime_r":                         {}, | ||||||
|  | 	"h_errno":                          {}, | ||||||
|  | 	"htonl":                            {}, | ||||||
|  | 	"htons":                            {}, | ||||||
|  | 	"hypot":                            {}, | ||||||
|  | 	"inet_ntoa":                        {}, | ||||||
|  | 	"inet_ntop":                        {}, | ||||||
|  | 	"inet_pton":                        {}, | ||||||
|  | 	"initstate":                        {}, | ||||||
|  | 	"initstate_r":                      {}, | ||||||
|  | 	"ioctl":                            {}, | ||||||
|  | 	"isalnum":                          {}, | ||||||
|  | 	"isalpha":                          {}, | ||||||
|  | 	"isascii":                          {}, | ||||||
|  | 	"isatty":                           {}, | ||||||
|  | 	"isblank":                          {}, | ||||||
|  | 	"isdigit":                          {}, | ||||||
|  | 	"islower":                          {}, | ||||||
|  | 	"isnan":                            {}, | ||||||
|  | 	"isnanf":                           {}, | ||||||
|  | 	"isnanl":                           {}, | ||||||
|  | 	"isprint":                          {}, | ||||||
|  | 	"isspace":                          {}, | ||||||
|  | 	"isupper":                          {}, | ||||||
|  | 	"isxdigit":                         {}, | ||||||
|  | 	"kill":                             {}, | ||||||
|  | 	"ldexp":                            {}, | ||||||
|  | 	"link":                             {}, | ||||||
|  | 	"listen":                           {}, | ||||||
|  | 	"llabs":                            {}, | ||||||
|  | 	"localtime":                        {}, | ||||||
|  | 	"localtime_r":                      {}, | ||||||
|  | 	"log":                              {}, | ||||||
|  | 	"log10":                            {}, | ||||||
|  | 	"longjmp":                          {}, | ||||||
|  | 	"lrand48":                          {}, | ||||||
|  | 	"lseek":                            {}, | ||||||
|  | 	"lseek64":                          {}, | ||||||
|  | 	"lstat":                            {}, | ||||||
|  | 	"lstat64":                          {}, | ||||||
|  | 	"malloc":                           {}, | ||||||
|  | 	"mblen":                            {}, | ||||||
|  | 	"mbstowcs":                         {}, | ||||||
|  | 	"mbtowc":                           {}, | ||||||
|  | 	"memchr":                           {}, | ||||||
|  | 	"memcmp":                           {}, | ||||||
|  | 	"memcpy":                           {}, | ||||||
|  | 	"memmove":                          {}, | ||||||
|  | 	"memset":                           {}, | ||||||
|  | 	"mkdir":                            {}, | ||||||
|  | 	"mkfifo":                           {}, | ||||||
|  | 	"mknod":                            {}, | ||||||
|  | 	"mkostemp":                         {}, | ||||||
|  | 	"mkstemp":                          {}, | ||||||
|  | 	"mkstemp64":                        {}, | ||||||
|  | 	"mkstemps":                         {}, | ||||||
|  | 	"mkstemps64":                       {}, | ||||||
|  | 	"mktime":                           {}, | ||||||
|  | 	"mmap":                             {}, | ||||||
|  | 	"modf":                             {}, | ||||||
|  | 	"munmap":                           {}, | ||||||
|  | 	"nl_langinfo":                      {}, | ||||||
|  | 	"ntohs":                            {}, | ||||||
|  | 	"obstack_free":                     {}, | ||||||
|  | 	"obstack_vprintf":                  {}, | ||||||
|  | 	"open":                             {}, | ||||||
|  | 	"open64":                           {}, | ||||||
|  | 	"opendir":                          {}, | ||||||
|  | 	"openpty":                          {}, | ||||||
|  | 	"pathconf":                         {}, | ||||||
|  | 	"pause":                            {}, | ||||||
|  | 	"pclose":                           {}, | ||||||
|  | 	"perror":                           {}, | ||||||
|  | 	"pipe":                             {}, | ||||||
|  | 	"poll":                             {}, | ||||||
|  | 	"popen":                            {}, | ||||||
|  | 	"pow":                              {}, | ||||||
|  | 	"printf":                           {}, | ||||||
|  | 	"pselect":                          {}, | ||||||
|  | 	"pthread_attr_destroy":             {}, | ||||||
|  | 	"pthread_attr_getdetachstate":      {}, | ||||||
|  | 	"pthread_attr_init":                {}, | ||||||
|  | 	"pthread_attr_setdetachstate":      {}, | ||||||
|  | 	"pthread_attr_setscope":            {}, | ||||||
|  | 	"pthread_attr_setstacksize":        {}, | ||||||
|  | 	"pthread_cond_broadcast":           {}, | ||||||
|  | 	"pthread_cond_destroy":             {}, | ||||||
|  | 	"pthread_cond_init":                {}, | ||||||
|  | 	"pthread_cond_signal":              {}, | ||||||
|  | 	"pthread_cond_timedwait":           {}, | ||||||
|  | 	"pthread_cond_wait":                {}, | ||||||
|  | 	"pthread_create":                   {}, | ||||||
|  | 	"pthread_detach":                   {}, | ||||||
|  | 	"pthread_equal":                    {}, | ||||||
|  | 	"pthread_exit":                     {}, | ||||||
|  | 	"pthread_getspecific":              {}, | ||||||
|  | 	"pthread_join":                     {}, | ||||||
|  | 	"pthread_key_create":               {}, | ||||||
|  | 	"pthread_key_delete":               {}, | ||||||
|  | 	"pthread_mutex_destroy":            {}, | ||||||
|  | 	"pthread_mutex_init":               {}, | ||||||
|  | 	"pthread_mutex_lock":               {}, | ||||||
|  | 	"pthread_mutex_trylock":            {}, | ||||||
|  | 	"pthread_mutex_unlock":             {}, | ||||||
|  | 	"pthread_mutexattr_destroy":        {}, | ||||||
|  | 	"pthread_mutexattr_init":           {}, | ||||||
|  | 	"pthread_mutexattr_settype":        {}, | ||||||
|  | 	"pthread_self":                     {}, | ||||||
|  | 	"pthread_setspecific":              {}, | ||||||
|  | 	"putc":                             {}, | ||||||
|  | 	"putchar":                          {}, | ||||||
|  | 	"puts":                             {}, | ||||||
|  | 	"qsort":                            {}, | ||||||
|  | 	"raise":                            {}, | ||||||
|  | 	"rand":                             {}, | ||||||
|  | 	"random":                           {}, | ||||||
|  | 	"random_r":                         {}, | ||||||
|  | 	"read":                             {}, | ||||||
|  | 	"readdir":                          {}, | ||||||
|  | 	"readdir64":                        {}, | ||||||
|  | 	"readlink":                         {}, | ||||||
|  | 	"readv":                            {}, | ||||||
|  | 	"realloc":                          {}, | ||||||
|  | 	"reallocarray":                     {}, | ||||||
|  | 	"realpath":                         {}, | ||||||
|  | 	"recv":                             {}, | ||||||
|  | 	"recvfrom":                         {}, | ||||||
|  | 	"recvmsg":                          {}, | ||||||
|  | 	"remove":                           {}, | ||||||
|  | 	"rename":                           {}, | ||||||
|  | 	"rewind":                           {}, | ||||||
|  | 	"rindex":                           {}, | ||||||
|  | 	"rint":                             {}, | ||||||
|  | 	"rmdir":                            {}, | ||||||
|  | 	"round":                            {}, | ||||||
|  | 	"scalbn":                           {}, | ||||||
|  | 	"scalbnl":                          {}, | ||||||
|  | 	"sched_yield":                      {}, | ||||||
|  | 	"select":                           {}, | ||||||
|  | 	"send":                             {}, | ||||||
|  | 	"sendmsg":                          {}, | ||||||
|  | 	"sendto":                           {}, | ||||||
|  | 	"setbuf":                           {}, | ||||||
|  | 	"setenv":                           {}, | ||||||
|  | 	"setjmp":                           {}, | ||||||
|  | 	"setlocale":                        {}, | ||||||
|  | 	"setrlimit":                        {}, | ||||||
|  | 	"setrlimit64":                      {}, | ||||||
|  | 	"setsid":                           {}, | ||||||
|  | 	"setsockopt":                       {}, | ||||||
|  | 	"setstate":                         {}, | ||||||
|  | 	"setvbuf":                          {}, | ||||||
|  | 	"shmat":                            {}, | ||||||
|  | 	"shmctl":                           {}, | ||||||
|  | 	"shmdt":                            {}, | ||||||
|  | 	"shutdown":                         {}, | ||||||
|  | 	"sigaction":                        {}, | ||||||
|  | 	"signal":                           {}, | ||||||
|  | 	"sin":                              {}, | ||||||
|  | 	"sinf":                             {}, | ||||||
|  | 	"sinh":                             {}, | ||||||
|  | 	"sleep":                            {}, | ||||||
|  | 	"snprintf":                         {}, | ||||||
|  | 	"socket":                           {}, | ||||||
|  | 	"sprintf":                          {}, | ||||||
|  | 	"sqrt":                             {}, | ||||||
|  | 	"srand48":                          {}, | ||||||
|  | 	"sscanf":                           {}, | ||||||
|  | 	"stat":                             {}, | ||||||
|  | 	"stat64":                           {}, | ||||||
|  | 	"stderr":                           {}, | ||||||
|  | 	"stdin":                            {}, | ||||||
|  | 	"stdout":                           {}, | ||||||
|  | 	"strcasecmp":                       {}, | ||||||
|  | 	"strcat":                           {}, | ||||||
|  | 	"strchr":                           {}, | ||||||
|  | 	"strcmp":                           {}, | ||||||
|  | 	"strcpy":                           {}, | ||||||
|  | 	"strcspn":                          {}, | ||||||
|  | 	"strdup":                           {}, | ||||||
|  | 	"strerror":                         {}, | ||||||
|  | 	"strerror_r":                       {}, | ||||||
|  | 	"strlen":                           {}, | ||||||
|  | 	"strncmp":                          {}, | ||||||
|  | 	"strncpy":                          {}, | ||||||
|  | 	"strnlen":                          {}, | ||||||
|  | 	"strpbrk":                          {}, | ||||||
|  | 	"strrchr":                          {}, | ||||||
|  | 	"strspn":                           {}, | ||||||
|  | 	"strstr":                           {}, | ||||||
|  | 	"strtod":                           {}, | ||||||
|  | 	"strtof":                           {}, | ||||||
|  | 	"strtoimax":                        {}, | ||||||
|  | 	"strtol":                           {}, | ||||||
|  | 	"strtold":                          {}, | ||||||
|  | 	"strtoll":                          {}, | ||||||
|  | 	"strtoul":                          {}, | ||||||
|  | 	"strtoull":                         {}, | ||||||
|  | 	"strtoumax":                        {}, | ||||||
|  | 	"symlink":                          {}, | ||||||
|  | 	"sysconf":                          {}, | ||||||
|  | 	"system":                           {}, | ||||||
|  | 	"tan":                              {}, | ||||||
|  | 	"tanh":                             {}, | ||||||
|  | 	"tcgetattr":                        {}, | ||||||
|  | 	"tcsendbreak":                      {}, | ||||||
|  | 	"tcsetattr":                        {}, | ||||||
|  | 	"time":                             {}, | ||||||
|  | 	"tmpfile":                          {}, | ||||||
|  | 	"tolower":                          {}, | ||||||
|  | 	"toupper":                          {}, | ||||||
|  | 	"trunc":                            {}, | ||||||
|  | 	"tzset":                            {}, | ||||||
|  | 	"umask":                            {}, | ||||||
|  | 	"uname":                            {}, | ||||||
|  | 	"ungetc":                           {}, | ||||||
|  | 	"unlink":                           {}, | ||||||
|  | 	"unsetenv":                         {}, | ||||||
|  | 	"usleep":                           {}, | ||||||
|  | 	"utime":                            {}, | ||||||
|  | 	"utimes":                           {}, | ||||||
|  | 	"uuid_generate_random":             {}, | ||||||
|  | 	"uuid_parse":                       {}, | ||||||
|  | 	"uuid_unparse":                     {}, | ||||||
|  | 	"vasprintf":                        {}, | ||||||
|  | 	"vfprintf":                         {}, | ||||||
|  | 	"vprintf":                          {}, | ||||||
|  | 	"vsnprintf":                        {}, | ||||||
|  | 	"vsprintf":                         {}, | ||||||
|  | 	"waitpid":                          {}, | ||||||
|  | 	"wcschr":                           {}, | ||||||
|  | 	"wctomb":                           {}, | ||||||
|  | 	"wcwidth":                          {}, | ||||||
|  | 	"write":                            {}, | ||||||
|  | 	"writev":                           {}, | ||||||
|  | 	"zero_struct_address":              {}, | ||||||
|  | } | ||||||
							
								
								
									
										724
									
								
								vendor/modernc.org/libc/capi_windows_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										724
									
								
								vendor/modernc.org/libc/capi_windows_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,724 @@ | |||||||
|  | // Code generated by 'go generate' - DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package libc // import "modernc.org/libc" | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{ | ||||||
|  | 	"AccessCheck":                       {}, | ||||||
|  | 	"AddAccessDeniedAce":                {}, | ||||||
|  | 	"AddAce":                            {}, | ||||||
|  | 	"AreFileApisANSI":                   {}, | ||||||
|  | 	"BuildCommDCBW":                     {}, | ||||||
|  | 	"CancelSynchronousIo":               {}, | ||||||
|  | 	"CharLowerW":                        {}, | ||||||
|  | 	"ClearCommError":                    {}, | ||||||
|  | 	"CloseHandle":                       {}, | ||||||
|  | 	"CopyFileW":                         {}, | ||||||
|  | 	"CreateDirectoryW":                  {}, | ||||||
|  | 	"CreateEventA":                      {}, | ||||||
|  | 	"CreateEventW":                      {}, | ||||||
|  | 	"CreateFileA":                       {}, | ||||||
|  | 	"CreateFileMappingA":                {}, | ||||||
|  | 	"CreateFileMappingW":                {}, | ||||||
|  | 	"CreateFileW":                       {}, | ||||||
|  | 	"CreateHardLinkW":                   {}, | ||||||
|  | 	"CreateMutexW":                      {}, | ||||||
|  | 	"CreatePipe":                        {}, | ||||||
|  | 	"CreateProcessA":                    {}, | ||||||
|  | 	"CreateProcessW":                    {}, | ||||||
|  | 	"CreateThread":                      {}, | ||||||
|  | 	"CreateWindowExW":                   {}, | ||||||
|  | 	"DdeAbandonTransaction":             {}, | ||||||
|  | 	"DdeAccessData":                     {}, | ||||||
|  | 	"DdeClientTransaction":              {}, | ||||||
|  | 	"DdeConnect":                        {}, | ||||||
|  | 	"DdeCreateDataHandle":               {}, | ||||||
|  | 	"DdeCreateStringHandleW":            {}, | ||||||
|  | 	"DdeDisconnect":                     {}, | ||||||
|  | 	"DdeFreeDataHandle":                 {}, | ||||||
|  | 	"DdeFreeStringHandle":               {}, | ||||||
|  | 	"DdeGetData":                        {}, | ||||||
|  | 	"DdeGetLastError":                   {}, | ||||||
|  | 	"DdeInitializeW":                    {}, | ||||||
|  | 	"DdeNameService":                    {}, | ||||||
|  | 	"DdeQueryStringW":                   {}, | ||||||
|  | 	"DdeUnaccessData":                   {}, | ||||||
|  | 	"DdeUninitialize":                   {}, | ||||||
|  | 	"DebugBreak":                        {}, | ||||||
|  | 	"DefWindowProcW":                    {}, | ||||||
|  | 	"DeleteCriticalSection":             {}, | ||||||
|  | 	"DeleteFileA":                       {}, | ||||||
|  | 	"DeleteFileW":                       {}, | ||||||
|  | 	"DestroyWindow":                     {}, | ||||||
|  | 	"DeviceIoControl":                   {}, | ||||||
|  | 	"DispatchMessageW":                  {}, | ||||||
|  | 	"DuplicateHandle":                   {}, | ||||||
|  | 	"EnterCriticalSection":              {}, | ||||||
|  | 	"EnumWindows":                       {}, | ||||||
|  | 	"EqualSid":                          {}, | ||||||
|  | 	"EscapeCommFunction":                {}, | ||||||
|  | 	"ExitProcess":                       {}, | ||||||
|  | 	"FindClose":                         {}, | ||||||
|  | 	"FindFirstFileExW":                  {}, | ||||||
|  | 	"FindFirstFileW":                    {}, | ||||||
|  | 	"FindNextFileW":                     {}, | ||||||
|  | 	"FlushFileBuffers":                  {}, | ||||||
|  | 	"FlushViewOfFile":                   {}, | ||||||
|  | 	"FormatMessageA":                    {}, | ||||||
|  | 	"FormatMessageW":                    {}, | ||||||
|  | 	"FreeLibrary":                       {}, | ||||||
|  | 	"GetACP":                            {}, | ||||||
|  | 	"GetAce":                            {}, | ||||||
|  | 	"GetAclInformation":                 {}, | ||||||
|  | 	"GetCommModemStatus":                {}, | ||||||
|  | 	"GetCommState":                      {}, | ||||||
|  | 	"GetCommandLineW":                   {}, | ||||||
|  | 	"GetComputerNameExW":                {}, | ||||||
|  | 	"GetComputerNameW":                  {}, | ||||||
|  | 	"GetConsoleCP":                      {}, | ||||||
|  | 	"GetConsoleMode":                    {}, | ||||||
|  | 	"GetConsoleScreenBufferInfo":        {}, | ||||||
|  | 	"GetCurrentDirectoryW":              {}, | ||||||
|  | 	"GetCurrentProcess":                 {}, | ||||||
|  | 	"GetCurrentProcessId":               {}, | ||||||
|  | 	"GetCurrentThread":                  {}, | ||||||
|  | 	"GetCurrentThreadId":                {}, | ||||||
|  | 	"GetDiskFreeSpaceA":                 {}, | ||||||
|  | 	"GetDiskFreeSpaceW":                 {}, | ||||||
|  | 	"GetEnvironmentVariableA":           {}, | ||||||
|  | 	"GetEnvironmentVariableW":           {}, | ||||||
|  | 	"GetExitCodeProcess":                {}, | ||||||
|  | 	"GetExitCodeThread":                 {}, | ||||||
|  | 	"GetFileAttributesA":                {}, | ||||||
|  | 	"GetFileAttributesExW":              {}, | ||||||
|  | 	"GetFileAttributesW":                {}, | ||||||
|  | 	"GetFileInformationByHandle":        {}, | ||||||
|  | 	"GetFileSecurityA":                  {}, | ||||||
|  | 	"GetFileSecurityW":                  {}, | ||||||
|  | 	"GetFileSize":                       {}, | ||||||
|  | 	"GetFileType":                       {}, | ||||||
|  | 	"GetFullPathNameA":                  {}, | ||||||
|  | 	"GetFullPathNameW":                  {}, | ||||||
|  | 	"GetLastError":                      {}, | ||||||
|  | 	"GetLengthSid":                      {}, | ||||||
|  | 	"GetLogicalDriveStringsA":           {}, | ||||||
|  | 	"GetMessageW":                       {}, | ||||||
|  | 	"GetModuleFileNameA":                {}, | ||||||
|  | 	"GetModuleFileNameW":                {}, | ||||||
|  | 	"GetModuleHandleA":                  {}, | ||||||
|  | 	"GetModuleHandleW":                  {}, | ||||||
|  | 	"GetNamedSecurityInfoW":             {}, | ||||||
|  | 	"GetOverlappedResult":               {}, | ||||||
|  | 	"GetPrivateProfileStringA":          {}, | ||||||
|  | 	"GetProcAddress":                    {}, | ||||||
|  | 	"GetProcessHeap":                    {}, | ||||||
|  | 	"GetProfilesDirectoryW":             {}, | ||||||
|  | 	"GetSecurityDescriptorDacl":         {}, | ||||||
|  | 	"GetSecurityDescriptorOwner":        {}, | ||||||
|  | 	"GetShortPathNameW":                 {}, | ||||||
|  | 	"GetSidIdentifierAuthority":         {}, | ||||||
|  | 	"GetSidLengthRequired":              {}, | ||||||
|  | 	"GetSidSubAuthority":                {}, | ||||||
|  | 	"GetStdHandle":                      {}, | ||||||
|  | 	"GetSystemInfo":                     {}, | ||||||
|  | 	"GetSystemTime":                     {}, | ||||||
|  | 	"GetSystemTimeAsFileTime":           {}, | ||||||
|  | 	"GetTempFileNameW":                  {}, | ||||||
|  | 	"GetTempPathA":                      {}, | ||||||
|  | 	"GetTempPathW":                      {}, | ||||||
|  | 	"GetTickCount":                      {}, | ||||||
|  | 	"GetTokenInformation":               {}, | ||||||
|  | 	"GetUserNameW":                      {}, | ||||||
|  | 	"GetVersionExA":                     {}, | ||||||
|  | 	"GetVersionExW":                     {}, | ||||||
|  | 	"GetVolumeInformationA":             {}, | ||||||
|  | 	"GetVolumeInformationW":             {}, | ||||||
|  | 	"GetVolumeNameForVolumeMountPointW": {}, | ||||||
|  | 	"GetWindowLongPtrW":                 {}, | ||||||
|  | 	"GetWindowsDirectoryA":              {}, | ||||||
|  | 	"GlobalAddAtomW":                    {}, | ||||||
|  | 	"GlobalDeleteAtom":                  {}, | ||||||
|  | 	"GlobalGetAtomNameW":                {}, | ||||||
|  | 	"HeapAlloc":                         {}, | ||||||
|  | 	"HeapCompact":                       {}, | ||||||
|  | 	"HeapCreate":                        {}, | ||||||
|  | 	"HeapDestroy":                       {}, | ||||||
|  | 	"HeapFree":                          {}, | ||||||
|  | 	"HeapReAlloc":                       {}, | ||||||
|  | 	"HeapSize":                          {}, | ||||||
|  | 	"HeapValidate":                      {}, | ||||||
|  | 	"IN6_ADDR_EQUAL":                    {}, | ||||||
|  | 	"IN6_IS_ADDR_V4MAPPED":              {}, | ||||||
|  | 	"ImpersonateSelf":                   {}, | ||||||
|  | 	"InitializeAcl":                     {}, | ||||||
|  | 	"InitializeCriticalSection":         {}, | ||||||
|  | 	"InitializeSid":                     {}, | ||||||
|  | 	"IsDebuggerPresent":                 {}, | ||||||
|  | 	"IsWindow":                          {}, | ||||||
|  | 	"KillTimer":                         {}, | ||||||
|  | 	"LeaveCriticalSection":              {}, | ||||||
|  | 	"LoadLibraryA":                      {}, | ||||||
|  | 	"LoadLibraryExW":                    {}, | ||||||
|  | 	"LoadLibraryW":                      {}, | ||||||
|  | 	"LocalFree":                         {}, | ||||||
|  | 	"LockFile":                          {}, | ||||||
|  | 	"LockFileEx":                        {}, | ||||||
|  | 	"MapViewOfFile":                     {}, | ||||||
|  | 	"MessageBeep":                       {}, | ||||||
|  | 	"MessageBoxW":                       {}, | ||||||
|  | 	"MoveFileW":                         {}, | ||||||
|  | 	"MsgWaitForMultipleObjectsEx":       {}, | ||||||
|  | 	"MultiByteToWideChar":               {}, | ||||||
|  | 	"NetApiBufferFree":                  {}, | ||||||
|  | 	"NetGetDCName":                      {}, | ||||||
|  | 	"NetUserGetInfo":                    {}, | ||||||
|  | 	"OpenEventA":                        {}, | ||||||
|  | 	"OpenProcessToken":                  {}, | ||||||
|  | 	"OpenThreadToken":                   {}, | ||||||
|  | 	"OutputDebugStringA":                {}, | ||||||
|  | 	"OutputDebugStringW":                {}, | ||||||
|  | 	"PeekConsoleInputW":                 {}, | ||||||
|  | 	"PeekMessageW":                      {}, | ||||||
|  | 	"PeekNamedPipe":                     {}, | ||||||
|  | 	"PostMessageW":                      {}, | ||||||
|  | 	"PostQuitMessage":                   {}, | ||||||
|  | 	"PurgeComm":                         {}, | ||||||
|  | 	"QueryPerformanceCounter":           {}, | ||||||
|  | 	"QueryPerformanceFrequency":         {}, | ||||||
|  | 	"RaiseException":                    {}, | ||||||
|  | 	"ReadConsoleW":                      {}, | ||||||
|  | 	"ReadFile":                          {}, | ||||||
|  | 	"RegCloseKey":                       {}, | ||||||
|  | 	"RegConnectRegistryW":               {}, | ||||||
|  | 	"RegCreateKeyExW":                   {}, | ||||||
|  | 	"RegDeleteKeyW":                     {}, | ||||||
|  | 	"RegDeleteValueW":                   {}, | ||||||
|  | 	"RegEnumKeyExW":                     {}, | ||||||
|  | 	"RegEnumValueW":                     {}, | ||||||
|  | 	"RegOpenKeyExW":                     {}, | ||||||
|  | 	"RegQueryValueExW":                  {}, | ||||||
|  | 	"RegSetValueExW":                    {}, | ||||||
|  | 	"RegisterClassExW":                  {}, | ||||||
|  | 	"RegisterClassW":                    {}, | ||||||
|  | 	"RemoveDirectoryW":                  {}, | ||||||
|  | 	"ResetEvent":                        {}, | ||||||
|  | 	"RevertToSelf":                      {}, | ||||||
|  | 	"RtlGetVersion":                     {}, | ||||||
|  | 	"SearchPathW":                       {}, | ||||||
|  | 	"SendMessageTimeoutW":               {}, | ||||||
|  | 	"SendMessageW":                      {}, | ||||||
|  | 	"SetCommState":                      {}, | ||||||
|  | 	"SetCommTimeouts":                   {}, | ||||||
|  | 	"SetConsoleCtrlHandler":             {}, | ||||||
|  | 	"SetConsoleMode":                    {}, | ||||||
|  | 	"SetConsoleTextAttribute":           {}, | ||||||
|  | 	"SetCurrentDirectoryW":              {}, | ||||||
|  | 	"SetEndOfFile":                      {}, | ||||||
|  | 	"SetErrorMode":                      {}, | ||||||
|  | 	"SetEvent":                          {}, | ||||||
|  | 	"SetFileAttributesW":                {}, | ||||||
|  | 	"SetFilePointer":                    {}, | ||||||
|  | 	"SetFileTime":                       {}, | ||||||
|  | 	"SetHandleInformation":              {}, | ||||||
|  | 	"SetNamedSecurityInfoA":             {}, | ||||||
|  | 	"SetThreadPriority":                 {}, | ||||||
|  | 	"SetTimer":                          {}, | ||||||
|  | 	"SetWindowLongPtrW":                 {}, | ||||||
|  | 	"SetupComm":                         {}, | ||||||
|  | 	"Sleep":                             {}, | ||||||
|  | 	"SleepEx":                           {}, | ||||||
|  | 	"SystemTimeToFileTime":              {}, | ||||||
|  | 	"TerminateThread":                   {}, | ||||||
|  | 	"TranslateMessage":                  {}, | ||||||
|  | 	"UnlockFile":                        {}, | ||||||
|  | 	"UnlockFileEx":                      {}, | ||||||
|  | 	"UnmapViewOfFile":                   {}, | ||||||
|  | 	"UnregisterClassW":                  {}, | ||||||
|  | 	"WSAAsyncSelect":                    {}, | ||||||
|  | 	"WSAGetLastError":                   {}, | ||||||
|  | 	"WSAStartup":                        {}, | ||||||
|  | 	"WaitForInputIdle":                  {}, | ||||||
|  | 	"WaitForSingleObject":               {}, | ||||||
|  | 	"WaitForSingleObjectEx":             {}, | ||||||
|  | 	"WideCharToMultiByte":               {}, | ||||||
|  | 	"WriteConsoleW":                     {}, | ||||||
|  | 	"WriteFile":                         {}, | ||||||
|  | 	"WspiapiFreeAddrInfo":               {}, | ||||||
|  | 	"WspiapiGetAddrInfo":                {}, | ||||||
|  | 	"WspiapiGetNameInfo":                {}, | ||||||
|  | 	"_IO_putc":                          {}, | ||||||
|  | 	"_InterlockedCompareExchange":       {}, | ||||||
|  | 	"_InterlockedExchange":              {}, | ||||||
|  | 	"___errno_location":                 {}, | ||||||
|  | 	"__acrt_iob_func":                   {}, | ||||||
|  | 	"__assert_fail":                     {}, | ||||||
|  | 	"__atomic_load_n":                   {}, | ||||||
|  | 	"__atomic_store_n":                  {}, | ||||||
|  | 	"__builtin___memcpy_chk":            {}, | ||||||
|  | 	"__builtin___memmove_chk":           {}, | ||||||
|  | 	"__builtin___memset_chk":            {}, | ||||||
|  | 	"__builtin___snprintf_chk":          {}, | ||||||
|  | 	"__builtin___sprintf_chk":           {}, | ||||||
|  | 	"__builtin___strcat_chk":            {}, | ||||||
|  | 	"__builtin___strcpy_chk":            {}, | ||||||
|  | 	"__builtin___strncpy_chk":           {}, | ||||||
|  | 	"__builtin___vsnprintf_chk":         {}, | ||||||
|  | 	"__builtin_abort":                   {}, | ||||||
|  | 	"__builtin_abs":                     {}, | ||||||
|  | 	"__builtin_add_overflow":            {}, | ||||||
|  | 	"__builtin_add_overflowInt64":       {}, | ||||||
|  | 	"__builtin_add_overflowUint32":      {}, | ||||||
|  | 	"__builtin_add_overflowUint64":      {}, | ||||||
|  | 	"__builtin_bswap16":                 {}, | ||||||
|  | 	"__builtin_bswap32":                 {}, | ||||||
|  | 	"__builtin_bswap64":                 {}, | ||||||
|  | 	"__builtin_bzero":                   {}, | ||||||
|  | 	"__builtin_clz":                     {}, | ||||||
|  | 	"__builtin_clzl":                    {}, | ||||||
|  | 	"__builtin_clzll":                   {}, | ||||||
|  | 	"__builtin_constant_p_impl":         {}, | ||||||
|  | 	"__builtin_copysign":                {}, | ||||||
|  | 	"__builtin_copysignf":               {}, | ||||||
|  | 	"__builtin_copysignl":               {}, | ||||||
|  | 	"__builtin_exit":                    {}, | ||||||
|  | 	"__builtin_expect":                  {}, | ||||||
|  | 	"__builtin_fabs":                    {}, | ||||||
|  | 	"__builtin_fabsf":                   {}, | ||||||
|  | 	"__builtin_fabsl":                   {}, | ||||||
|  | 	"__builtin_free":                    {}, | ||||||
|  | 	"__builtin_getentropy":              {}, | ||||||
|  | 	"__builtin_huge_val":                {}, | ||||||
|  | 	"__builtin_huge_valf":               {}, | ||||||
|  | 	"__builtin_inf":                     {}, | ||||||
|  | 	"__builtin_inff":                    {}, | ||||||
|  | 	"__builtin_infl":                    {}, | ||||||
|  | 	"__builtin_isnan":                   {}, | ||||||
|  | 	"__builtin_isunordered":             {}, | ||||||
|  | 	"__builtin_llabs":                   {}, | ||||||
|  | 	"__builtin_malloc":                  {}, | ||||||
|  | 	"__builtin_memcmp":                  {}, | ||||||
|  | 	"__builtin_memcpy":                  {}, | ||||||
|  | 	"__builtin_memset":                  {}, | ||||||
|  | 	"__builtin_mmap":                    {}, | ||||||
|  | 	"__builtin_mul_overflow":            {}, | ||||||
|  | 	"__builtin_mul_overflowInt64":       {}, | ||||||
|  | 	"__builtin_mul_overflowUint128":     {}, | ||||||
|  | 	"__builtin_mul_overflowUint64":      {}, | ||||||
|  | 	"__builtin_nan":                     {}, | ||||||
|  | 	"__builtin_nanf":                    {}, | ||||||
|  | 	"__builtin_nanl":                    {}, | ||||||
|  | 	"__builtin_object_size":             {}, | ||||||
|  | 	"__builtin_popcount":                {}, | ||||||
|  | 	"__builtin_popcountl":               {}, | ||||||
|  | 	"__builtin_prefetch":                {}, | ||||||
|  | 	"__builtin_printf":                  {}, | ||||||
|  | 	"__builtin_snprintf":                {}, | ||||||
|  | 	"__builtin_sprintf":                 {}, | ||||||
|  | 	"__builtin_strchr":                  {}, | ||||||
|  | 	"__builtin_strcmp":                  {}, | ||||||
|  | 	"__builtin_strcpy":                  {}, | ||||||
|  | 	"__builtin_strlen":                  {}, | ||||||
|  | 	"__builtin_sub_overflow":            {}, | ||||||
|  | 	"__builtin_sub_overflowInt64":       {}, | ||||||
|  | 	"__builtin_trap":                    {}, | ||||||
|  | 	"__builtin_unreachable":             {}, | ||||||
|  | 	"__ccgo_dmesg":                      {}, | ||||||
|  | 	"__ccgo_getMutexType":               {}, | ||||||
|  | 	"__ccgo_in6addr_anyp":               {}, | ||||||
|  | 	"__ccgo_pthreadAttrGetDetachState":  {}, | ||||||
|  | 	"__ccgo_pthreadMutexattrGettype":    {}, | ||||||
|  | 	"__ccgo_sqlite3_log":                {}, | ||||||
|  | 	"__ctype_get_mb_cur_max":            {}, | ||||||
|  | 	"__env_rm_add":                      {}, | ||||||
|  | 	"__errno_location":                  {}, | ||||||
|  | 	"__imp__environ":                    {}, | ||||||
|  | 	"__imp__wenviron":                   {}, | ||||||
|  | 	"__isalnum_l":                       {}, | ||||||
|  | 	"__isalpha_l":                       {}, | ||||||
|  | 	"__isdigit_l":                       {}, | ||||||
|  | 	"__islower_l":                       {}, | ||||||
|  | 	"__isnan":                           {}, | ||||||
|  | 	"__isnanf":                          {}, | ||||||
|  | 	"__isnanl":                          {}, | ||||||
|  | 	"__isoc99_sscanf":                   {}, | ||||||
|  | 	"__isprint_l":                       {}, | ||||||
|  | 	"__isspace_l":                       {}, | ||||||
|  | 	"__isxdigit_l":                      {}, | ||||||
|  | 	"__mingw_vfprintf":                  {}, | ||||||
|  | 	"__mingw_vfscanf":                   {}, | ||||||
|  | 	"__mingw_vfwprintf":                 {}, | ||||||
|  | 	"__mingw_vfwscanf":                  {}, | ||||||
|  | 	"__mingw_vprintf":                   {}, | ||||||
|  | 	"__mingw_vsnprintf":                 {}, | ||||||
|  | 	"__mingw_vsnwprintf":                {}, | ||||||
|  | 	"__mingw_vsprintf":                  {}, | ||||||
|  | 	"__mingw_vsscanf":                   {}, | ||||||
|  | 	"__mingw_vswscanf":                  {}, | ||||||
|  | 	"__ms_vfscanf":                      {}, | ||||||
|  | 	"__ms_vfwscanf":                     {}, | ||||||
|  | 	"__ms_vscanf":                       {}, | ||||||
|  | 	"__ms_vsnprintf":                    {}, | ||||||
|  | 	"__ms_vsscanf":                      {}, | ||||||
|  | 	"__ms_vswscanf":                     {}, | ||||||
|  | 	"__ms_vwscanf":                      {}, | ||||||
|  | 	"__putenv":                          {}, | ||||||
|  | 	"__stdio_common_vfprintf":           {}, | ||||||
|  | 	"__stdio_common_vfprintf_p":         {}, | ||||||
|  | 	"__stdio_common_vfprintf_s":         {}, | ||||||
|  | 	"__stdio_common_vfscanf":            {}, | ||||||
|  | 	"__stdio_common_vfwprintf_s":        {}, | ||||||
|  | 	"__stdio_common_vfwscanf":           {}, | ||||||
|  | 	"__stdio_common_vsnprintf_s":        {}, | ||||||
|  | 	"__stdio_common_vsnwprintf_s":       {}, | ||||||
|  | 	"__stdio_common_vsprintf":           {}, | ||||||
|  | 	"__stdio_common_vsprintf_p":         {}, | ||||||
|  | 	"__stdio_common_vsprintf_s":         {}, | ||||||
|  | 	"__stdio_common_vsscanf":            {}, | ||||||
|  | 	"__stdio_common_vswprintf":          {}, | ||||||
|  | 	"__stdio_common_vswprintf_s":        {}, | ||||||
|  | 	"__stdio_common_vswscanf":           {}, | ||||||
|  | 	"__strchrnul":                       {}, | ||||||
|  | 	"__sync_add_and_fetch_uint32":       {}, | ||||||
|  | 	"__sync_sub_and_fetch_uint32":       {}, | ||||||
|  | 	"_access":                           {}, | ||||||
|  | 	"_assert":                           {}, | ||||||
|  | 	"_beginthread":                      {}, | ||||||
|  | 	"_beginthreadex":                    {}, | ||||||
|  | 	"_byteswap_uint64":                  {}, | ||||||
|  | 	"_byteswap_ulong":                   {}, | ||||||
|  | 	"_chmod":                            {}, | ||||||
|  | 	"_chsize":                           {}, | ||||||
|  | 	"_commit":                           {}, | ||||||
|  | 	"_controlfp":                        {}, | ||||||
|  | 	"_copysign":                         {}, | ||||||
|  | 	"_endthreadex":                      {}, | ||||||
|  | 	"_errno":                            {}, | ||||||
|  | 	"_exit":                             {}, | ||||||
|  | 	"_fileno":                           {}, | ||||||
|  | 	"_findclose":                        {}, | ||||||
|  | 	"_findfirst32":                      {}, | ||||||
|  | 	"_findfirst64i32":                   {}, | ||||||
|  | 	"_findnext32":                       {}, | ||||||
|  | 	"_findnext64i32":                    {}, | ||||||
|  | 	"_fstat64":                          {}, | ||||||
|  | 	"_fstati64":                         {}, | ||||||
|  | 	"_ftime":                            {}, | ||||||
|  | 	"_ftime64":                          {}, | ||||||
|  | 	"_gmtime64":                         {}, | ||||||
|  | 	"_imp___environ":                    {}, | ||||||
|  | 	"_iob":                              {}, | ||||||
|  | 	"_isatty":                           {}, | ||||||
|  | 	"_localtime64":                      {}, | ||||||
|  | 	"_longjmp":                          {}, | ||||||
|  | 	"_mkdir":                            {}, | ||||||
|  | 	"_mktime64":                         {}, | ||||||
|  | 	"_msize":                            {}, | ||||||
|  | 	"_obstack_begin":                    {}, | ||||||
|  | 	"_obstack_newchunk":                 {}, | ||||||
|  | 	"_pclose":                           {}, | ||||||
|  | 	"_popen":                            {}, | ||||||
|  | 	"_putchar":                          {}, | ||||||
|  | 	"_set_abort_behavior":               {}, | ||||||
|  | 	"_setjmp":                           {}, | ||||||
|  | 	"_setmode":                          {}, | ||||||
|  | 	"_snprintf":                         {}, | ||||||
|  | 	"_snwprintf":                        {}, | ||||||
|  | 	"_stat64":                           {}, | ||||||
|  | 	"_stati64":                          {}, | ||||||
|  | 	"_strdup":                           {}, | ||||||
|  | 	"_stricmp":                          {}, | ||||||
|  | 	"_strnicmp":                         {}, | ||||||
|  | 	"_unlink":                           {}, | ||||||
|  | 	"_vsnwprintf":                       {}, | ||||||
|  | 	"_wcsicmp":                          {}, | ||||||
|  | 	"_wcsnicmp":                         {}, | ||||||
|  | 	"_wgetenv":                          {}, | ||||||
|  | 	"_wopen":                            {}, | ||||||
|  | 	"_wputenv":                          {}, | ||||||
|  | 	"_wtoi":                             {}, | ||||||
|  | 	"_wunlink":                          {}, | ||||||
|  | 	"abort":                             {}, | ||||||
|  | 	"abs":                               {}, | ||||||
|  | 	"accept":                            {}, | ||||||
|  | 	"access":                            {}, | ||||||
|  | 	"acos":                              {}, | ||||||
|  | 	"acosh":                             {}, | ||||||
|  | 	"alarm":                             {}, | ||||||
|  | 	"asin":                              {}, | ||||||
|  | 	"asinh":                             {}, | ||||||
|  | 	"atan":                              {}, | ||||||
|  | 	"atan2":                             {}, | ||||||
|  | 	"atanh":                             {}, | ||||||
|  | 	"atexit":                            {}, | ||||||
|  | 	"atof":                              {}, | ||||||
|  | 	"atoi":                              {}, | ||||||
|  | 	"atol":                              {}, | ||||||
|  | 	"backtrace":                         {}, | ||||||
|  | 	"backtrace_symbols_fd":              {}, | ||||||
|  | 	"bind":                              {}, | ||||||
|  | 	"bsearch":                           {}, | ||||||
|  | 	"bzero":                             {}, | ||||||
|  | 	"calloc":                            {}, | ||||||
|  | 	"ceil":                              {}, | ||||||
|  | 	"ceilf":                             {}, | ||||||
|  | 	"cfsetispeed":                       {}, | ||||||
|  | 	"cfsetospeed":                       {}, | ||||||
|  | 	"chdir":                             {}, | ||||||
|  | 	"chmod":                             {}, | ||||||
|  | 	"clock_gettime":                     {}, | ||||||
|  | 	"close":                             {}, | ||||||
|  | 	"closedir":                          {}, | ||||||
|  | 	"closesocket":                       {}, | ||||||
|  | 	"confstr":                           {}, | ||||||
|  | 	"connect":                           {}, | ||||||
|  | 	"copysign":                          {}, | ||||||
|  | 	"copysignf":                         {}, | ||||||
|  | 	"cos":                               {}, | ||||||
|  | 	"cosf":                              {}, | ||||||
|  | 	"cosh":                              {}, | ||||||
|  | 	"dlclose":                           {}, | ||||||
|  | 	"dlerror":                           {}, | ||||||
|  | 	"dlopen":                            {}, | ||||||
|  | 	"dlsym":                             {}, | ||||||
|  | 	"dup2":                              {}, | ||||||
|  | 	"environ":                           {}, | ||||||
|  | 	"execvp":                            {}, | ||||||
|  | 	"exit":                              {}, | ||||||
|  | 	"exp":                               {}, | ||||||
|  | 	"fabs":                              {}, | ||||||
|  | 	"fabsf":                             {}, | ||||||
|  | 	"fabsl":                             {}, | ||||||
|  | 	"fchmod":                            {}, | ||||||
|  | 	"fclose":                            {}, | ||||||
|  | 	"fcntl":                             {}, | ||||||
|  | 	"fcntl64":                           {}, | ||||||
|  | 	"fdopen":                            {}, | ||||||
|  | 	"ferror":                            {}, | ||||||
|  | 	"fflush":                            {}, | ||||||
|  | 	"fgetc":                             {}, | ||||||
|  | 	"fgets":                             {}, | ||||||
|  | 	"fileno":                            {}, | ||||||
|  | 	"floor":                             {}, | ||||||
|  | 	"fmod":                              {}, | ||||||
|  | 	"fopen":                             {}, | ||||||
|  | 	"fopen64":                           {}, | ||||||
|  | 	"fork":                              {}, | ||||||
|  | 	"fprintf":                           {}, | ||||||
|  | 	"fputc":                             {}, | ||||||
|  | 	"fputs":                             {}, | ||||||
|  | 	"fread":                             {}, | ||||||
|  | 	"free":                              {}, | ||||||
|  | 	"frexp":                             {}, | ||||||
|  | 	"fscanf":                            {}, | ||||||
|  | 	"fseek":                             {}, | ||||||
|  | 	"fstat":                             {}, | ||||||
|  | 	"fstat64":                           {}, | ||||||
|  | 	"fsync":                             {}, | ||||||
|  | 	"ftell":                             {}, | ||||||
|  | 	"ftruncate":                         {}, | ||||||
|  | 	"ftruncate64":                       {}, | ||||||
|  | 	"fts64_close":                       {}, | ||||||
|  | 	"fts64_open":                        {}, | ||||||
|  | 	"fts64_read":                        {}, | ||||||
|  | 	"fts_close":                         {}, | ||||||
|  | 	"fts_read":                          {}, | ||||||
|  | 	"fwrite":                            {}, | ||||||
|  | 	"gai_strerror":                      {}, | ||||||
|  | 	"gai_strerrorA":                     {}, | ||||||
|  | 	"gai_strerrorW":                     {}, | ||||||
|  | 	"getc":                              {}, | ||||||
|  | 	"getcwd":                            {}, | ||||||
|  | 	"getentropy":                        {}, | ||||||
|  | 	"getenv":                            {}, | ||||||
|  | 	"gethostname":                       {}, | ||||||
|  | 	"getpeername":                       {}, | ||||||
|  | 	"getpid":                            {}, | ||||||
|  | 	"getpwuid":                          {}, | ||||||
|  | 	"getrlimit":                         {}, | ||||||
|  | 	"getrlimit64":                       {}, | ||||||
|  | 	"getrusage":                         {}, | ||||||
|  | 	"getservbyname":                     {}, | ||||||
|  | 	"getsockname":                       {}, | ||||||
|  | 	"getsockopt":                        {}, | ||||||
|  | 	"gettimeofday":                      {}, | ||||||
|  | 	"gmtime":                            {}, | ||||||
|  | 	"gmtime_r":                          {}, | ||||||
|  | 	"htonl":                             {}, | ||||||
|  | 	"htons":                             {}, | ||||||
|  | 	"hypot":                             {}, | ||||||
|  | 	"inet_ntoa":                         {}, | ||||||
|  | 	"ioctl":                             {}, | ||||||
|  | 	"ioctlsocket":                       {}, | ||||||
|  | 	"isalnum":                           {}, | ||||||
|  | 	"isalpha":                           {}, | ||||||
|  | 	"isascii":                           {}, | ||||||
|  | 	"isatty":                            {}, | ||||||
|  | 	"isdigit":                           {}, | ||||||
|  | 	"islower":                           {}, | ||||||
|  | 	"isnan":                             {}, | ||||||
|  | 	"isnanf":                            {}, | ||||||
|  | 	"isnanl":                            {}, | ||||||
|  | 	"isprint":                           {}, | ||||||
|  | 	"isspace":                           {}, | ||||||
|  | 	"isxdigit":                          {}, | ||||||
|  | 	"kill":                              {}, | ||||||
|  | 	"ldexp":                             {}, | ||||||
|  | 	"link":                              {}, | ||||||
|  | 	"listen":                            {}, | ||||||
|  | 	"llabs":                             {}, | ||||||
|  | 	"localtime":                         {}, | ||||||
|  | 	"localtime_r":                       {}, | ||||||
|  | 	"log":                               {}, | ||||||
|  | 	"log10":                             {}, | ||||||
|  | 	"longjmp":                           {}, | ||||||
|  | 	"lseek":                             {}, | ||||||
|  | 	"lseek64":                           {}, | ||||||
|  | 	"lstat":                             {}, | ||||||
|  | 	"lstat64":                           {}, | ||||||
|  | 	"lstrcmpiA":                         {}, | ||||||
|  | 	"lstrlenW":                          {}, | ||||||
|  | 	"malloc":                            {}, | ||||||
|  | 	"mblen":                             {}, | ||||||
|  | 	"mbstowcs":                          {}, | ||||||
|  | 	"mbtowc":                            {}, | ||||||
|  | 	"memchr":                            {}, | ||||||
|  | 	"memcmp":                            {}, | ||||||
|  | 	"memcpy":                            {}, | ||||||
|  | 	"memmove":                           {}, | ||||||
|  | 	"memset":                            {}, | ||||||
|  | 	"mkdir":                             {}, | ||||||
|  | 	"mkfifo":                            {}, | ||||||
|  | 	"mknod":                             {}, | ||||||
|  | 	"mkstemp64":                         {}, | ||||||
|  | 	"mkstemps":                          {}, | ||||||
|  | 	"mkstemps64":                        {}, | ||||||
|  | 	"mktime":                            {}, | ||||||
|  | 	"mmap":                              {}, | ||||||
|  | 	"mmap64":                            {}, | ||||||
|  | 	"modf":                              {}, | ||||||
|  | 	"mremap":                            {}, | ||||||
|  | 	"munmap":                            {}, | ||||||
|  | 	"ntohs":                             {}, | ||||||
|  | 	"obstack_free":                      {}, | ||||||
|  | 	"obstack_vprintf":                   {}, | ||||||
|  | 	"open":                              {}, | ||||||
|  | 	"open64":                            {}, | ||||||
|  | 	"opendir":                           {}, | ||||||
|  | 	"openpty":                           {}, | ||||||
|  | 	"pclose":                            {}, | ||||||
|  | 	"perror":                            {}, | ||||||
|  | 	"pipe":                              {}, | ||||||
|  | 	"popen":                             {}, | ||||||
|  | 	"pow":                               {}, | ||||||
|  | 	"printf":                            {}, | ||||||
|  | 	"pselect":                           {}, | ||||||
|  | 	"putc":                              {}, | ||||||
|  | 	"putchar":                           {}, | ||||||
|  | 	"putenv":                            {}, | ||||||
|  | 	"puts":                              {}, | ||||||
|  | 	"qsort":                             {}, | ||||||
|  | 	"raise":                             {}, | ||||||
|  | 	"rand":                              {}, | ||||||
|  | 	"random":                            {}, | ||||||
|  | 	"read":                              {}, | ||||||
|  | 	"readdir":                           {}, | ||||||
|  | 	"readlink":                          {}, | ||||||
|  | 	"readv":                             {}, | ||||||
|  | 	"realloc":                           {}, | ||||||
|  | 	"reallocarray":                      {}, | ||||||
|  | 	"realpath":                          {}, | ||||||
|  | 	"recv":                              {}, | ||||||
|  | 	"rename":                            {}, | ||||||
|  | 	"rewind":                            {}, | ||||||
|  | 	"rindex":                            {}, | ||||||
|  | 	"rint":                              {}, | ||||||
|  | 	"rmdir":                             {}, | ||||||
|  | 	"round":                             {}, | ||||||
|  | 	"sched_yield":                       {}, | ||||||
|  | 	"select":                            {}, | ||||||
|  | 	"send":                              {}, | ||||||
|  | 	"setbuf":                            {}, | ||||||
|  | 	"setenv":                            {}, | ||||||
|  | 	"setjmp":                            {}, | ||||||
|  | 	"setlocale":                         {}, | ||||||
|  | 	"setmode":                           {}, | ||||||
|  | 	"setrlimit":                         {}, | ||||||
|  | 	"setrlimit64":                       {}, | ||||||
|  | 	"setsid":                            {}, | ||||||
|  | 	"setsockopt":                        {}, | ||||||
|  | 	"setvbuf":                           {}, | ||||||
|  | 	"shutdown":                          {}, | ||||||
|  | 	"sigaction":                         {}, | ||||||
|  | 	"sin":                               {}, | ||||||
|  | 	"sinf":                              {}, | ||||||
|  | 	"sinh":                              {}, | ||||||
|  | 	"sleep":                             {}, | ||||||
|  | 	"snprintf":                          {}, | ||||||
|  | 	"socket":                            {}, | ||||||
|  | 	"sprintf":                           {}, | ||||||
|  | 	"sqrt":                              {}, | ||||||
|  | 	"sscanf":                            {}, | ||||||
|  | 	"stat":                              {}, | ||||||
|  | 	"stat64":                            {}, | ||||||
|  | 	"stderr":                            {}, | ||||||
|  | 	"stdin":                             {}, | ||||||
|  | 	"stdout":                            {}, | ||||||
|  | 	"strcasecmp":                        {}, | ||||||
|  | 	"strcat":                            {}, | ||||||
|  | 	"strchr":                            {}, | ||||||
|  | 	"strcmp":                            {}, | ||||||
|  | 	"strcpy":                            {}, | ||||||
|  | 	"strcspn":                           {}, | ||||||
|  | 	"strdup":                            {}, | ||||||
|  | 	"strerror":                          {}, | ||||||
|  | 	"strlen":                            {}, | ||||||
|  | 	"strncmp":                           {}, | ||||||
|  | 	"strncpy":                           {}, | ||||||
|  | 	"strpbrk":                           {}, | ||||||
|  | 	"strrchr":                           {}, | ||||||
|  | 	"strstr":                            {}, | ||||||
|  | 	"strtod":                            {}, | ||||||
|  | 	"strtol":                            {}, | ||||||
|  | 	"strtoul":                           {}, | ||||||
|  | 	"symlink":                           {}, | ||||||
|  | 	"sysconf":                           {}, | ||||||
|  | 	"system":                            {}, | ||||||
|  | 	"tan":                               {}, | ||||||
|  | 	"tanh":                              {}, | ||||||
|  | 	"tcgetattr":                         {}, | ||||||
|  | 	"tcsendbreak":                       {}, | ||||||
|  | 	"tcsetattr":                         {}, | ||||||
|  | 	"time":                              {}, | ||||||
|  | 	"timezone":                          {}, | ||||||
|  | 	"tolower":                           {}, | ||||||
|  | 	"toupper":                           {}, | ||||||
|  | 	"trunc":                             {}, | ||||||
|  | 	"tzset":                             {}, | ||||||
|  | 	"umask":                             {}, | ||||||
|  | 	"uname":                             {}, | ||||||
|  | 	"ungetc":                            {}, | ||||||
|  | 	"unlink":                            {}, | ||||||
|  | 	"unsetenv":                          {}, | ||||||
|  | 	"usleep":                            {}, | ||||||
|  | 	"utime":                             {}, | ||||||
|  | 	"utimes":                            {}, | ||||||
|  | 	"vasprintf":                         {}, | ||||||
|  | 	"vfprintf":                          {}, | ||||||
|  | 	"vprintf":                           {}, | ||||||
|  | 	"vsnprintf":                         {}, | ||||||
|  | 	"vsprintf":                          {}, | ||||||
|  | 	"waitpid":                           {}, | ||||||
|  | 	"wcrtomb":                           {}, | ||||||
|  | 	"wcschr":                            {}, | ||||||
|  | 	"wcscmp":                            {}, | ||||||
|  | 	"wcscpy":                            {}, | ||||||
|  | 	"wcsicmp":                           {}, | ||||||
|  | 	"wcslen":                            {}, | ||||||
|  | 	"wcsncmp":                           {}, | ||||||
|  | 	"wcsrtombs":                         {}, | ||||||
|  | 	"wcstombs":                          {}, | ||||||
|  | 	"wctomb":                            {}, | ||||||
|  | 	"wcwidth":                           {}, | ||||||
|  | 	"write":                             {}, | ||||||
|  | 	"wsprintfA":                         {}, | ||||||
|  | 	"wsprintfW":                         {}, | ||||||
|  | } | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_freebsd_386.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_freebsd_arm.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_freebsd_amd64.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_linux_ppc64le.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_riscv64.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_netbsd_arm.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_openbsd_386.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_openbsd_amd64.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_openbsd_arm64.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_windows_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/errno/capi_windows_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo errno\gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno\errno_windows_arm64.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										158
									
								
								vendor/modernc.org/libc/errno/errno_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										158
									
								
								vendor/modernc.org/libc/errno/errno_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,158 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_freebsd_386.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	E2BIG              = 7  // errno.h:57:1: | ||||||
|  | 	EACCES             = 13 // errno.h:64:1: | ||||||
|  | 	EADDRINUSE         = 48 // errno.h:112:1: | ||||||
|  | 	EADDRNOTAVAIL      = 49 // errno.h:113:1: | ||||||
|  | 	EAFNOSUPPORT       = 47 // errno.h:111:1: | ||||||
|  | 	EAGAIN             = 35 // errno.h:94:1: | ||||||
|  | 	EALREADY           = 37 // errno.h:98:1: | ||||||
|  | 	EAUTH              = 80 // errno.h:161:1: | ||||||
|  | 	EBADF              = 9  // errno.h:59:1: | ||||||
|  | 	EBADMSG            = 89 // errno.h:173:1: | ||||||
|  | 	EBADRPC            = 72 // errno.h:149:1: | ||||||
|  | 	EBUSY              = 16 // errno.h:69:1: | ||||||
|  | 	ECANCELED          = 85 // errno.h:166:1: | ||||||
|  | 	ECAPMODE           = 94 // errno.h:180:1: | ||||||
|  | 	ECHILD             = 10 // errno.h:60:1: | ||||||
|  | 	ECONNABORTED       = 53 // errno.h:119:1: | ||||||
|  | 	ECONNREFUSED       = 61 // errno.h:127:1: | ||||||
|  | 	ECONNRESET         = 54 // errno.h:120:1: | ||||||
|  | 	EDEADLK            = 11 // errno.h:61:1: | ||||||
|  | 	EDESTADDRREQ       = 39 // errno.h:102:1: | ||||||
|  | 	EDOM               = 33 // errno.h:90:1: | ||||||
|  | 	EDOOFUS            = 88 // errno.h:170:1: | ||||||
|  | 	EDQUOT             = 69 // errno.h:144:1: | ||||||
|  | 	EEXIST             = 17 // errno.h:70:1: | ||||||
|  | 	EFAULT             = 14 // errno.h:65:1: | ||||||
|  | 	EFBIG              = 27 // errno.h:82:1: | ||||||
|  | 	EFTYPE             = 79 // errno.h:160:1: | ||||||
|  | 	EHOSTDOWN          = 64 // errno.h:135:1: | ||||||
|  | 	EHOSTUNREACH       = 65 // errno.h:136:1: | ||||||
|  | 	EIDRM              = 82 // errno.h:163:1: | ||||||
|  | 	EILSEQ             = 86 // errno.h:167:1: | ||||||
|  | 	EINPROGRESS        = 36 // errno.h:97:1: | ||||||
|  | 	EINTEGRITY         = 97 // errno.h:183:1: | ||||||
|  | 	EINTR              = 4  // errno.h:54:1: | ||||||
|  | 	EINVAL             = 22 // errno.h:75:1: | ||||||
|  | 	EIO                = 5  // errno.h:55:1: | ||||||
|  | 	EISCONN            = 56 // errno.h:122:1: | ||||||
|  | 	EISDIR             = 21 // errno.h:74:1: | ||||||
|  | 	ELAST              = 97 // errno.h:187:1: | ||||||
|  | 	ELOOP              = 62 // errno.h:129:1: | ||||||
|  | 	EMFILE             = 24 // errno.h:77:1: | ||||||
|  | 	EMLINK             = 31 // errno.h:86:1: | ||||||
|  | 	EMSGSIZE           = 40 // errno.h:103:1: | ||||||
|  | 	EMULTIHOP          = 90 // errno.h:174:1: | ||||||
|  | 	ENAMETOOLONG       = 63 // errno.h:131:1: | ||||||
|  | 	ENEEDAUTH          = 81 // errno.h:162:1: | ||||||
|  | 	ENETDOWN           = 50 // errno.h:116:1: | ||||||
|  | 	ENETRESET          = 52 // errno.h:118:1: | ||||||
|  | 	ENETUNREACH        = 51 // errno.h:117:1: | ||||||
|  | 	ENFILE             = 23 // errno.h:76:1: | ||||||
|  | 	ENOATTR            = 87 // errno.h:168:1: | ||||||
|  | 	ENOBUFS            = 55 // errno.h:121:1: | ||||||
|  | 	ENODEV             = 19 // errno.h:72:1: | ||||||
|  | 	ENOENT             = 2  // errno.h:52:1: | ||||||
|  | 	ENOEXEC            = 8  // errno.h:58:1: | ||||||
|  | 	ENOLCK             = 77 // errno.h:156:1: | ||||||
|  | 	ENOLINK            = 91 // errno.h:175:1: | ||||||
|  | 	ENOMEM             = 12 // errno.h:63:1: | ||||||
|  | 	ENOMSG             = 83 // errno.h:164:1: | ||||||
|  | 	ENOPROTOOPT        = 42 // errno.h:105:1: | ||||||
|  | 	ENOSPC             = 28 // errno.h:83:1: | ||||||
|  | 	ENOSYS             = 78 // errno.h:157:1: | ||||||
|  | 	ENOTBLK            = 15 // errno.h:67:1: | ||||||
|  | 	ENOTCAPABLE        = 93 // errno.h:179:1: | ||||||
|  | 	ENOTCONN           = 57 // errno.h:123:1: | ||||||
|  | 	ENOTDIR            = 20 // errno.h:73:1: | ||||||
|  | 	ENOTEMPTY          = 66 // errno.h:138:1: | ||||||
|  | 	ENOTRECOVERABLE    = 95 // errno.h:181:1: | ||||||
|  | 	ENOTSOCK           = 38 // errno.h:101:1: | ||||||
|  | 	ENOTSUP            = 45 // errno.h:109:1: | ||||||
|  | 	ENOTTY             = 25 // errno.h:78:1: | ||||||
|  | 	ENXIO              = 6  // errno.h:56:1: | ||||||
|  | 	EOPNOTSUPP         = 45 // errno.h:108:1: | ||||||
|  | 	EOVERFLOW          = 84 // errno.h:165:1: | ||||||
|  | 	EOWNERDEAD         = 96 // errno.h:182:1: | ||||||
|  | 	EPERM              = 1  // errno.h:51:1: | ||||||
|  | 	EPFNOSUPPORT       = 46 // errno.h:110:1: | ||||||
|  | 	EPIPE              = 32 // errno.h:87:1: | ||||||
|  | 	EPROCLIM           = 67 // errno.h:142:1: | ||||||
|  | 	EPROCUNAVAIL       = 76 // errno.h:153:1: | ||||||
|  | 	EPROGMISMATCH      = 75 // errno.h:152:1: | ||||||
|  | 	EPROGUNAVAIL       = 74 // errno.h:151:1: | ||||||
|  | 	EPROTO             = 92 // errno.h:176:1: | ||||||
|  | 	EPROTONOSUPPORT    = 43 // errno.h:106:1: | ||||||
|  | 	EPROTOTYPE         = 41 // errno.h:104:1: | ||||||
|  | 	ERANGE             = 34 // errno.h:91:1: | ||||||
|  | 	EREMOTE            = 71 // errno.h:148:1: | ||||||
|  | 	EROFS              = 30 // errno.h:85:1: | ||||||
|  | 	ERPCMISMATCH       = 73 // errno.h:150:1: | ||||||
|  | 	ESHUTDOWN          = 58 // errno.h:124:1: | ||||||
|  | 	ESOCKTNOSUPPORT    = 44 // errno.h:107:1: | ||||||
|  | 	ESPIPE             = 29 // errno.h:84:1: | ||||||
|  | 	ESRCH              = 3  // errno.h:53:1: | ||||||
|  | 	ESTALE             = 70 // errno.h:147:1: | ||||||
|  | 	ETIMEDOUT          = 60 // errno.h:126:1: | ||||||
|  | 	ETOOMANYREFS       = 59 // errno.h:125:1: | ||||||
|  | 	ETXTBSY            = 26 // errno.h:80:1: | ||||||
|  | 	EUSERS             = 68 // errno.h:143:1: | ||||||
|  | 	EWOULDBLOCK        = 35 // errno.h:96:1: | ||||||
|  | 	EXDEV              = 18 // errno.h:71:1: | ||||||
|  | 	X_ERRNO_T_DEFINED  = 0  // errno.h:203:1: | ||||||
|  | 	X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: | ||||||
|  | 	X_ILP32            = 1  // <predefined>:1:1: | ||||||
|  | 	X_Nonnull          = 0  // cdefs.h:790:1: | ||||||
|  | 	X_Null_unspecified = 0  // cdefs.h:792:1: | ||||||
|  | 	X_Nullable         = 0  // cdefs.h:791:1: | ||||||
|  | 	X_SYS_CDEFS_H_     = 0  // cdefs.h:39:1: | ||||||
|  | 	X_SYS_ERRNO_H_     = 0  // errno.h:41:1: | ||||||
|  | 	I386               = 1  // <predefined>:335:1: | ||||||
|  | 	Unix               = 1  // <predefined>:336:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int32 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint32 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | // 11 was EAGAIN | ||||||
|  |  | ||||||
|  | // math software | ||||||
|  |  | ||||||
|  | // non-blocking and interrupt i/o | ||||||
|  |  | ||||||
|  | // ipc/network software -- argument errors | ||||||
|  |  | ||||||
|  | // ipc/network software -- operational errors | ||||||
|  |  | ||||||
|  | // should be rearranged | ||||||
|  |  | ||||||
|  | // quotas & mush | ||||||
|  |  | ||||||
|  | // Network File System | ||||||
|  |  | ||||||
|  | // ISO/IEC 9899:2011 K.3.2.2 | ||||||
|  | type Errno_t = int32 /* errno.h:204:13 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										157
									
								
								vendor/modernc.org/libc/errno/errno_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										157
									
								
								vendor/modernc.org/libc/errno/errno_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,157 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_freebsd_arm.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	E2BIG              = 7  // errno.h:57:1: | ||||||
|  | 	EACCES             = 13 // errno.h:64:1: | ||||||
|  | 	EADDRINUSE         = 48 // errno.h:112:1: | ||||||
|  | 	EADDRNOTAVAIL      = 49 // errno.h:113:1: | ||||||
|  | 	EAFNOSUPPORT       = 47 // errno.h:111:1: | ||||||
|  | 	EAGAIN             = 35 // errno.h:94:1: | ||||||
|  | 	EALREADY           = 37 // errno.h:98:1: | ||||||
|  | 	EAUTH              = 80 // errno.h:161:1: | ||||||
|  | 	EBADF              = 9  // errno.h:59:1: | ||||||
|  | 	EBADMSG            = 89 // errno.h:173:1: | ||||||
|  | 	EBADRPC            = 72 // errno.h:149:1: | ||||||
|  | 	EBUSY              = 16 // errno.h:69:1: | ||||||
|  | 	ECANCELED          = 85 // errno.h:166:1: | ||||||
|  | 	ECAPMODE           = 94 // errno.h:180:1: | ||||||
|  | 	ECHILD             = 10 // errno.h:60:1: | ||||||
|  | 	ECONNABORTED       = 53 // errno.h:119:1: | ||||||
|  | 	ECONNREFUSED       = 61 // errno.h:127:1: | ||||||
|  | 	ECONNRESET         = 54 // errno.h:120:1: | ||||||
|  | 	EDEADLK            = 11 // errno.h:61:1: | ||||||
|  | 	EDESTADDRREQ       = 39 // errno.h:102:1: | ||||||
|  | 	EDOM               = 33 // errno.h:90:1: | ||||||
|  | 	EDOOFUS            = 88 // errno.h:170:1: | ||||||
|  | 	EDQUOT             = 69 // errno.h:144:1: | ||||||
|  | 	EEXIST             = 17 // errno.h:70:1: | ||||||
|  | 	EFAULT             = 14 // errno.h:65:1: | ||||||
|  | 	EFBIG              = 27 // errno.h:82:1: | ||||||
|  | 	EFTYPE             = 79 // errno.h:160:1: | ||||||
|  | 	EHOSTDOWN          = 64 // errno.h:135:1: | ||||||
|  | 	EHOSTUNREACH       = 65 // errno.h:136:1: | ||||||
|  | 	EIDRM              = 82 // errno.h:163:1: | ||||||
|  | 	EILSEQ             = 86 // errno.h:167:1: | ||||||
|  | 	EINPROGRESS        = 36 // errno.h:97:1: | ||||||
|  | 	EINTEGRITY         = 97 // errno.h:183:1: | ||||||
|  | 	EINTR              = 4  // errno.h:54:1: | ||||||
|  | 	EINVAL             = 22 // errno.h:75:1: | ||||||
|  | 	EIO                = 5  // errno.h:55:1: | ||||||
|  | 	EISCONN            = 56 // errno.h:122:1: | ||||||
|  | 	EISDIR             = 21 // errno.h:74:1: | ||||||
|  | 	ELAST              = 97 // errno.h:187:1: | ||||||
|  | 	ELOOP              = 62 // errno.h:129:1: | ||||||
|  | 	EMFILE             = 24 // errno.h:77:1: | ||||||
|  | 	EMLINK             = 31 // errno.h:86:1: | ||||||
|  | 	EMSGSIZE           = 40 // errno.h:103:1: | ||||||
|  | 	EMULTIHOP          = 90 // errno.h:174:1: | ||||||
|  | 	ENAMETOOLONG       = 63 // errno.h:131:1: | ||||||
|  | 	ENEEDAUTH          = 81 // errno.h:162:1: | ||||||
|  | 	ENETDOWN           = 50 // errno.h:116:1: | ||||||
|  | 	ENETRESET          = 52 // errno.h:118:1: | ||||||
|  | 	ENETUNREACH        = 51 // errno.h:117:1: | ||||||
|  | 	ENFILE             = 23 // errno.h:76:1: | ||||||
|  | 	ENOATTR            = 87 // errno.h:168:1: | ||||||
|  | 	ENOBUFS            = 55 // errno.h:121:1: | ||||||
|  | 	ENODEV             = 19 // errno.h:72:1: | ||||||
|  | 	ENOENT             = 2  // errno.h:52:1: | ||||||
|  | 	ENOEXEC            = 8  // errno.h:58:1: | ||||||
|  | 	ENOLCK             = 77 // errno.h:156:1: | ||||||
|  | 	ENOLINK            = 91 // errno.h:175:1: | ||||||
|  | 	ENOMEM             = 12 // errno.h:63:1: | ||||||
|  | 	ENOMSG             = 83 // errno.h:164:1: | ||||||
|  | 	ENOPROTOOPT        = 42 // errno.h:105:1: | ||||||
|  | 	ENOSPC             = 28 // errno.h:83:1: | ||||||
|  | 	ENOSYS             = 78 // errno.h:157:1: | ||||||
|  | 	ENOTBLK            = 15 // errno.h:67:1: | ||||||
|  | 	ENOTCAPABLE        = 93 // errno.h:179:1: | ||||||
|  | 	ENOTCONN           = 57 // errno.h:123:1: | ||||||
|  | 	ENOTDIR            = 20 // errno.h:73:1: | ||||||
|  | 	ENOTEMPTY          = 66 // errno.h:138:1: | ||||||
|  | 	ENOTRECOVERABLE    = 95 // errno.h:181:1: | ||||||
|  | 	ENOTSOCK           = 38 // errno.h:101:1: | ||||||
|  | 	ENOTSUP            = 45 // errno.h:109:1: | ||||||
|  | 	ENOTTY             = 25 // errno.h:78:1: | ||||||
|  | 	ENXIO              = 6  // errno.h:56:1: | ||||||
|  | 	EOPNOTSUPP         = 45 // errno.h:108:1: | ||||||
|  | 	EOVERFLOW          = 84 // errno.h:165:1: | ||||||
|  | 	EOWNERDEAD         = 96 // errno.h:182:1: | ||||||
|  | 	EPERM              = 1  // errno.h:51:1: | ||||||
|  | 	EPFNOSUPPORT       = 46 // errno.h:110:1: | ||||||
|  | 	EPIPE              = 32 // errno.h:87:1: | ||||||
|  | 	EPROCLIM           = 67 // errno.h:142:1: | ||||||
|  | 	EPROCUNAVAIL       = 76 // errno.h:153:1: | ||||||
|  | 	EPROGMISMATCH      = 75 // errno.h:152:1: | ||||||
|  | 	EPROGUNAVAIL       = 74 // errno.h:151:1: | ||||||
|  | 	EPROTO             = 92 // errno.h:176:1: | ||||||
|  | 	EPROTONOSUPPORT    = 43 // errno.h:106:1: | ||||||
|  | 	EPROTOTYPE         = 41 // errno.h:104:1: | ||||||
|  | 	ERANGE             = 34 // errno.h:91:1: | ||||||
|  | 	EREMOTE            = 71 // errno.h:148:1: | ||||||
|  | 	EROFS              = 30 // errno.h:85:1: | ||||||
|  | 	ERPCMISMATCH       = 73 // errno.h:150:1: | ||||||
|  | 	ESHUTDOWN          = 58 // errno.h:124:1: | ||||||
|  | 	ESOCKTNOSUPPORT    = 44 // errno.h:107:1: | ||||||
|  | 	ESPIPE             = 29 // errno.h:84:1: | ||||||
|  | 	ESRCH              = 3  // errno.h:53:1: | ||||||
|  | 	ESTALE             = 70 // errno.h:147:1: | ||||||
|  | 	ETIMEDOUT          = 60 // errno.h:126:1: | ||||||
|  | 	ETOOMANYREFS       = 59 // errno.h:125:1: | ||||||
|  | 	ETXTBSY            = 26 // errno.h:80:1: | ||||||
|  | 	EUSERS             = 68 // errno.h:143:1: | ||||||
|  | 	EWOULDBLOCK        = 35 // errno.h:96:1: | ||||||
|  | 	EXDEV              = 18 // errno.h:71:1: | ||||||
|  | 	X_ERRNO_T_DEFINED  = 0  // errno.h:203:1: | ||||||
|  | 	X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: | ||||||
|  | 	X_ILP32            = 1  // <predefined>:1:1: | ||||||
|  | 	X_Nonnull          = 0  // cdefs.h:790:1: | ||||||
|  | 	X_Null_unspecified = 0  // cdefs.h:792:1: | ||||||
|  | 	X_Nullable         = 0  // cdefs.h:791:1: | ||||||
|  | 	X_SYS_CDEFS_H_     = 0  // cdefs.h:39:1: | ||||||
|  | 	X_SYS_ERRNO_H_     = 0  // errno.h:41:1: | ||||||
|  | 	Unix               = 1  // <predefined>:367:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int32 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint32 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = uint32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | // 11 was EAGAIN | ||||||
|  |  | ||||||
|  | // math software | ||||||
|  |  | ||||||
|  | // non-blocking and interrupt i/o | ||||||
|  |  | ||||||
|  | // ipc/network software -- argument errors | ||||||
|  |  | ||||||
|  | // ipc/network software -- operational errors | ||||||
|  |  | ||||||
|  | // should be rearranged | ||||||
|  |  | ||||||
|  | // quotas & mush | ||||||
|  |  | ||||||
|  | // Network File System | ||||||
|  |  | ||||||
|  | // ISO/IEC 9899:2011 K.3.2.2 | ||||||
|  | type Errno_t = int32 /* errno.h:204:13 */ | ||||||
|  |  | ||||||
|  | var _ uint8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										166
									
								
								vendor/modernc.org/libc/errno/errno_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										166
									
								
								vendor/modernc.org/libc/errno/errno_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,166 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_freebsd_amd64.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	E2BIG              = 7  // errno.h:57:1: | ||||||
|  | 	EACCES             = 13 // errno.h:64:1: | ||||||
|  | 	EADDRINUSE         = 48 // errno.h:112:1: | ||||||
|  | 	EADDRNOTAVAIL      = 49 // errno.h:113:1: | ||||||
|  | 	EAFNOSUPPORT       = 47 // errno.h:111:1: | ||||||
|  | 	EAGAIN             = 35 // errno.h:94:1: | ||||||
|  | 	EALREADY           = 37 // errno.h:98:1: | ||||||
|  | 	EAUTH              = 80 // errno.h:161:1: | ||||||
|  | 	EBADF              = 9  // errno.h:59:1: | ||||||
|  | 	EBADMSG            = 89 // errno.h:173:1: | ||||||
|  | 	EBADRPC            = 72 // errno.h:149:1: | ||||||
|  | 	EBUSY              = 16 // errno.h:69:1: | ||||||
|  | 	ECANCELED          = 85 // errno.h:166:1: | ||||||
|  | 	ECAPMODE           = 94 // errno.h:180:1: | ||||||
|  | 	ECHILD             = 10 // errno.h:60:1: | ||||||
|  | 	ECONNABORTED       = 53 // errno.h:119:1: | ||||||
|  | 	ECONNREFUSED       = 61 // errno.h:127:1: | ||||||
|  | 	ECONNRESET         = 54 // errno.h:120:1: | ||||||
|  | 	EDEADLK            = 11 // errno.h:61:1: | ||||||
|  | 	EDESTADDRREQ       = 39 // errno.h:102:1: | ||||||
|  | 	EDOM               = 33 // errno.h:90:1: | ||||||
|  | 	EDOOFUS            = 88 // errno.h:170:1: | ||||||
|  | 	EDQUOT             = 69 // errno.h:144:1: | ||||||
|  | 	EEXIST             = 17 // errno.h:70:1: | ||||||
|  | 	EFAULT             = 14 // errno.h:65:1: | ||||||
|  | 	EFBIG              = 27 // errno.h:82:1: | ||||||
|  | 	EFTYPE             = 79 // errno.h:160:1: | ||||||
|  | 	EHOSTDOWN          = 64 // errno.h:135:1: | ||||||
|  | 	EHOSTUNREACH       = 65 // errno.h:136:1: | ||||||
|  | 	EIDRM              = 82 // errno.h:163:1: | ||||||
|  | 	EILSEQ             = 86 // errno.h:167:1: | ||||||
|  | 	EINPROGRESS        = 36 // errno.h:97:1: | ||||||
|  | 	EINTEGRITY         = 97 // errno.h:183:1: | ||||||
|  | 	EINTR              = 4  // errno.h:54:1: | ||||||
|  | 	EINVAL             = 22 // errno.h:75:1: | ||||||
|  | 	EIO                = 5  // errno.h:55:1: | ||||||
|  | 	EISCONN            = 56 // errno.h:122:1: | ||||||
|  | 	EISDIR             = 21 // errno.h:74:1: | ||||||
|  | 	ELAST              = 97 // errno.h:187:1: | ||||||
|  | 	ELOOP              = 62 // errno.h:129:1: | ||||||
|  | 	EMFILE             = 24 // errno.h:77:1: | ||||||
|  | 	EMLINK             = 31 // errno.h:86:1: | ||||||
|  | 	EMSGSIZE           = 40 // errno.h:103:1: | ||||||
|  | 	EMULTIHOP          = 90 // errno.h:174:1: | ||||||
|  | 	ENAMETOOLONG       = 63 // errno.h:131:1: | ||||||
|  | 	ENEEDAUTH          = 81 // errno.h:162:1: | ||||||
|  | 	ENETDOWN           = 50 // errno.h:116:1: | ||||||
|  | 	ENETRESET          = 52 // errno.h:118:1: | ||||||
|  | 	ENETUNREACH        = 51 // errno.h:117:1: | ||||||
|  | 	ENFILE             = 23 // errno.h:76:1: | ||||||
|  | 	ENOATTR            = 87 // errno.h:168:1: | ||||||
|  | 	ENOBUFS            = 55 // errno.h:121:1: | ||||||
|  | 	ENODEV             = 19 // errno.h:72:1: | ||||||
|  | 	ENOENT             = 2  // errno.h:52:1: | ||||||
|  | 	ENOEXEC            = 8  // errno.h:58:1: | ||||||
|  | 	ENOLCK             = 77 // errno.h:156:1: | ||||||
|  | 	ENOLINK            = 91 // errno.h:175:1: | ||||||
|  | 	ENOMEM             = 12 // errno.h:63:1: | ||||||
|  | 	ENOMSG             = 83 // errno.h:164:1: | ||||||
|  | 	ENOPROTOOPT        = 42 // errno.h:105:1: | ||||||
|  | 	ENOSPC             = 28 // errno.h:83:1: | ||||||
|  | 	ENOSYS             = 78 // errno.h:157:1: | ||||||
|  | 	ENOTBLK            = 15 // errno.h:67:1: | ||||||
|  | 	ENOTCAPABLE        = 93 // errno.h:179:1: | ||||||
|  | 	ENOTCONN           = 57 // errno.h:123:1: | ||||||
|  | 	ENOTDIR            = 20 // errno.h:73:1: | ||||||
|  | 	ENOTEMPTY          = 66 // errno.h:138:1: | ||||||
|  | 	ENOTRECOVERABLE    = 95 // errno.h:181:1: | ||||||
|  | 	ENOTSOCK           = 38 // errno.h:101:1: | ||||||
|  | 	ENOTSUP            = 45 // errno.h:109:1: | ||||||
|  | 	ENOTTY             = 25 // errno.h:78:1: | ||||||
|  | 	ENXIO              = 6  // errno.h:56:1: | ||||||
|  | 	EOPNOTSUPP         = 45 // errno.h:108:1: | ||||||
|  | 	EOVERFLOW          = 84 // errno.h:165:1: | ||||||
|  | 	EOWNERDEAD         = 96 // errno.h:182:1: | ||||||
|  | 	EPERM              = 1  // errno.h:51:1: | ||||||
|  | 	EPFNOSUPPORT       = 46 // errno.h:110:1: | ||||||
|  | 	EPIPE              = 32 // errno.h:87:1: | ||||||
|  | 	EPROCLIM           = 67 // errno.h:142:1: | ||||||
|  | 	EPROCUNAVAIL       = 76 // errno.h:153:1: | ||||||
|  | 	EPROGMISMATCH      = 75 // errno.h:152:1: | ||||||
|  | 	EPROGUNAVAIL       = 74 // errno.h:151:1: | ||||||
|  | 	EPROTO             = 92 // errno.h:176:1: | ||||||
|  | 	EPROTONOSUPPORT    = 43 // errno.h:106:1: | ||||||
|  | 	EPROTOTYPE         = 41 // errno.h:104:1: | ||||||
|  | 	ERANGE             = 34 // errno.h:91:1: | ||||||
|  | 	EREMOTE            = 71 // errno.h:148:1: | ||||||
|  | 	EROFS              = 30 // errno.h:85:1: | ||||||
|  | 	ERPCMISMATCH       = 73 // errno.h:150:1: | ||||||
|  | 	ESHUTDOWN          = 58 // errno.h:124:1: | ||||||
|  | 	ESOCKTNOSUPPORT    = 44 // errno.h:107:1: | ||||||
|  | 	ESPIPE             = 29 // errno.h:84:1: | ||||||
|  | 	ESRCH              = 3  // errno.h:53:1: | ||||||
|  | 	ESTALE             = 70 // errno.h:147:1: | ||||||
|  | 	ETIMEDOUT          = 60 // errno.h:126:1: | ||||||
|  | 	ETOOMANYREFS       = 59 // errno.h:125:1: | ||||||
|  | 	ETXTBSY            = 26 // errno.h:80:1: | ||||||
|  | 	EUSERS             = 68 // errno.h:143:1: | ||||||
|  | 	EWOULDBLOCK        = 35 // errno.h:96:1: | ||||||
|  | 	EXDEV              = 18 // errno.h:71:1: | ||||||
|  | 	X_ERRNO_T_DEFINED  = 0  // errno.h:203:1: | ||||||
|  | 	X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: | ||||||
|  | 	X_LP64             = 1  // <predefined>:1:1: | ||||||
|  | 	X_Nonnull          = 0  // cdefs.h:790:1: | ||||||
|  | 	X_Null_unspecified = 0  // cdefs.h:792:1: | ||||||
|  | 	X_Nullable         = 0  // cdefs.h:791:1: | ||||||
|  | 	X_SYS_CDEFS_H_     = 0  // cdefs.h:39:1: | ||||||
|  | 	X_SYS_ERRNO_H_     = 0  // errno.h:41:1: | ||||||
|  | 	Unix               = 1  // <predefined>:340:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | // 11 was EAGAIN | ||||||
|  |  | ||||||
|  | // math software | ||||||
|  |  | ||||||
|  | // non-blocking and interrupt i/o | ||||||
|  |  | ||||||
|  | // ipc/network software -- argument errors | ||||||
|  |  | ||||||
|  | // ipc/network software -- operational errors | ||||||
|  |  | ||||||
|  | // should be rearranged | ||||||
|  |  | ||||||
|  | // quotas & mush | ||||||
|  |  | ||||||
|  | // Network File System | ||||||
|  |  | ||||||
|  | // ISO/IEC 9899:2011 K.3.2.2 | ||||||
|  | type Errno_t = int32 /* errno.h:204:13 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										201
									
								
								vendor/modernc.org/libc/errno/errno_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										201
									
								
								vendor/modernc.org/libc/errno/errno_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,201 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_linux_ppc64le.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	E2BIG                      = 7      // errno-base.h:11:1: | ||||||
|  | 	EACCES                     = 13     // errno-base.h:17:1: | ||||||
|  | 	EADDRINUSE                 = 98     // errno.h:81:1: | ||||||
|  | 	EADDRNOTAVAIL              = 99     // errno.h:82:1: | ||||||
|  | 	EADV                       = 68     // errno.h:51:1: | ||||||
|  | 	EAFNOSUPPORT               = 97     // errno.h:80:1: | ||||||
|  | 	EAGAIN                     = 11     // errno-base.h:15:1: | ||||||
|  | 	EALREADY                   = 114    // errno.h:97:1: | ||||||
|  | 	EBADE                      = 52     // errno.h:33:1: | ||||||
|  | 	EBADF                      = 9      // errno-base.h:13:1: | ||||||
|  | 	EBADFD                     = 77     // errno.h:60:1: | ||||||
|  | 	EBADMSG                    = 74     // errno.h:57:1: | ||||||
|  | 	EBADR                      = 53     // errno.h:34:1: | ||||||
|  | 	EBADRQC                    = 56     // errno.h:37:1: | ||||||
|  | 	EBADSLT                    = 57     // errno.h:38:1: | ||||||
|  | 	EBFONT                     = 59     // errno.h:42:1: | ||||||
|  | 	EBUSY                      = 16     // errno-base.h:20:1: | ||||||
|  | 	ECANCELED                  = 125    // errno.h:109:1: | ||||||
|  | 	ECHILD                     = 10     // errno-base.h:14:1: | ||||||
|  | 	ECHRNG                     = 44     // errno.h:25:1: | ||||||
|  | 	ECOMM                      = 70     // errno.h:53:1: | ||||||
|  | 	ECONNABORTED               = 103    // errno.h:86:1: | ||||||
|  | 	ECONNREFUSED               = 111    // errno.h:94:1: | ||||||
|  | 	ECONNRESET                 = 104    // errno.h:87:1: | ||||||
|  | 	EDEADLK                    = 35     // errno.h:7:1: | ||||||
|  | 	EDEADLOCK                  = 58     // errno.h:8:1: | ||||||
|  | 	EDESTADDRREQ               = 89     // errno.h:72:1: | ||||||
|  | 	EDOM                       = 33     // errno-base.h:37:1: | ||||||
|  | 	EDOTDOT                    = 73     // errno.h:56:1: | ||||||
|  | 	EDQUOT                     = 122    // errno.h:105:1: | ||||||
|  | 	EEXIST                     = 17     // errno-base.h:21:1: | ||||||
|  | 	EFAULT                     = 14     // errno-base.h:18:1: | ||||||
|  | 	EFBIG                      = 27     // errno-base.h:31:1: | ||||||
|  | 	EHOSTDOWN                  = 112    // errno.h:95:1: | ||||||
|  | 	EHOSTUNREACH               = 113    // errno.h:96:1: | ||||||
|  | 	EHWPOISON                  = 133    // errno.h:121:1: | ||||||
|  | 	EIDRM                      = 43     // errno.h:24:1: | ||||||
|  | 	EILSEQ                     = 84     // errno.h:67:1: | ||||||
|  | 	EINPROGRESS                = 115    // errno.h:98:1: | ||||||
|  | 	EINTR                      = 4      // errno-base.h:8:1: | ||||||
|  | 	EINVAL                     = 22     // errno-base.h:26:1: | ||||||
|  | 	EIO                        = 5      // errno-base.h:9:1: | ||||||
|  | 	EISCONN                    = 106    // errno.h:89:1: | ||||||
|  | 	EISDIR                     = 21     // errno-base.h:25:1: | ||||||
|  | 	EISNAM                     = 120    // errno.h:103:1: | ||||||
|  | 	EKEYEXPIRED                = 127    // errno.h:111:1: | ||||||
|  | 	EKEYREJECTED               = 129    // errno.h:113:1: | ||||||
|  | 	EKEYREVOKED                = 128    // errno.h:112:1: | ||||||
|  | 	EL2HLT                     = 51     // errno.h:32:1: | ||||||
|  | 	EL2NSYNC                   = 45     // errno.h:26:1: | ||||||
|  | 	EL3HLT                     = 46     // errno.h:27:1: | ||||||
|  | 	EL3RST                     = 47     // errno.h:28:1: | ||||||
|  | 	ELIBACC                    = 79     // errno.h:62:1: | ||||||
|  | 	ELIBBAD                    = 80     // errno.h:63:1: | ||||||
|  | 	ELIBEXEC                   = 83     // errno.h:66:1: | ||||||
|  | 	ELIBMAX                    = 82     // errno.h:65:1: | ||||||
|  | 	ELIBSCN                    = 81     // errno.h:64:1: | ||||||
|  | 	ELNRNG                     = 48     // errno.h:29:1: | ||||||
|  | 	ELOOP                      = 40     // errno.h:21:1: | ||||||
|  | 	EMEDIUMTYPE                = 124    // errno.h:108:1: | ||||||
|  | 	EMFILE                     = 24     // errno-base.h:28:1: | ||||||
|  | 	EMLINK                     = 31     // errno-base.h:35:1: | ||||||
|  | 	EMSGSIZE                   = 90     // errno.h:73:1: | ||||||
|  | 	EMULTIHOP                  = 72     // errno.h:55:1: | ||||||
|  | 	ENAMETOOLONG               = 36     // errno.h:8:1: | ||||||
|  | 	ENAVAIL                    = 119    // errno.h:102:1: | ||||||
|  | 	ENETDOWN                   = 100    // errno.h:83:1: | ||||||
|  | 	ENETRESET                  = 102    // errno.h:85:1: | ||||||
|  | 	ENETUNREACH                = 101    // errno.h:84:1: | ||||||
|  | 	ENFILE                     = 23     // errno-base.h:27:1: | ||||||
|  | 	ENOANO                     = 55     // errno.h:36:1: | ||||||
|  | 	ENOBUFS                    = 105    // errno.h:88:1: | ||||||
|  | 	ENOCSI                     = 50     // errno.h:31:1: | ||||||
|  | 	ENODATA                    = 61     // errno.h:44:1: | ||||||
|  | 	ENODEV                     = 19     // errno-base.h:23:1: | ||||||
|  | 	ENOENT                     = 2      // errno-base.h:6:1: | ||||||
|  | 	ENOEXEC                    = 8      // errno-base.h:12:1: | ||||||
|  | 	ENOKEY                     = 126    // errno.h:110:1: | ||||||
|  | 	ENOLCK                     = 37     // errno.h:9:1: | ||||||
|  | 	ENOLINK                    = 67     // errno.h:50:1: | ||||||
|  | 	ENOMEDIUM                  = 123    // errno.h:107:1: | ||||||
|  | 	ENOMEM                     = 12     // errno-base.h:16:1: | ||||||
|  | 	ENOMSG                     = 42     // errno.h:23:1: | ||||||
|  | 	ENONET                     = 64     // errno.h:47:1: | ||||||
|  | 	ENOPKG                     = 65     // errno.h:48:1: | ||||||
|  | 	ENOPROTOOPT                = 92     // errno.h:75:1: | ||||||
|  | 	ENOSPC                     = 28     // errno-base.h:32:1: | ||||||
|  | 	ENOSR                      = 63     // errno.h:46:1: | ||||||
|  | 	ENOSTR                     = 60     // errno.h:43:1: | ||||||
|  | 	ENOSYS                     = 38     // errno.h:18:1: | ||||||
|  | 	ENOTBLK                    = 15     // errno-base.h:19:1: | ||||||
|  | 	ENOTCONN                   = 107    // errno.h:90:1: | ||||||
|  | 	ENOTDIR                    = 20     // errno-base.h:24:1: | ||||||
|  | 	ENOTEMPTY                  = 39     // errno.h:20:1: | ||||||
|  | 	ENOTNAM                    = 118    // errno.h:101:1: | ||||||
|  | 	ENOTRECOVERABLE            = 131    // errno.h:117:1: | ||||||
|  | 	ENOTSOCK                   = 88     // errno.h:71:1: | ||||||
|  | 	ENOTSUP                    = 95     // errno.h:30:1: | ||||||
|  | 	ENOTTY                     = 25     // errno-base.h:29:1: | ||||||
|  | 	ENOTUNIQ                   = 76     // errno.h:59:1: | ||||||
|  | 	ENXIO                      = 6      // errno-base.h:10:1: | ||||||
|  | 	EOPNOTSUPP                 = 95     // errno.h:78:1: | ||||||
|  | 	EOVERFLOW                  = 75     // errno.h:58:1: | ||||||
|  | 	EOWNERDEAD                 = 130    // errno.h:116:1: | ||||||
|  | 	EPERM                      = 1      // errno-base.h:5:1: | ||||||
|  | 	EPFNOSUPPORT               = 96     // errno.h:79:1: | ||||||
|  | 	EPIPE                      = 32     // errno-base.h:36:1: | ||||||
|  | 	EPROTO                     = 71     // errno.h:54:1: | ||||||
|  | 	EPROTONOSUPPORT            = 93     // errno.h:76:1: | ||||||
|  | 	EPROTOTYPE                 = 91     // errno.h:74:1: | ||||||
|  | 	ERANGE                     = 34     // errno-base.h:38:1: | ||||||
|  | 	EREMCHG                    = 78     // errno.h:61:1: | ||||||
|  | 	EREMOTE                    = 66     // errno.h:49:1: | ||||||
|  | 	EREMOTEIO                  = 121    // errno.h:104:1: | ||||||
|  | 	ERESTART                   = 85     // errno.h:68:1: | ||||||
|  | 	ERFKILL                    = 132    // errno.h:119:1: | ||||||
|  | 	EROFS                      = 30     // errno-base.h:34:1: | ||||||
|  | 	ESHUTDOWN                  = 108    // errno.h:91:1: | ||||||
|  | 	ESOCKTNOSUPPORT            = 94     // errno.h:77:1: | ||||||
|  | 	ESPIPE                     = 29     // errno-base.h:33:1: | ||||||
|  | 	ESRCH                      = 3      // errno-base.h:7:1: | ||||||
|  | 	ESRMNT                     = 69     // errno.h:52:1: | ||||||
|  | 	ESTALE                     = 116    // errno.h:99:1: | ||||||
|  | 	ESTRPIPE                   = 86     // errno.h:69:1: | ||||||
|  | 	ETIME                      = 62     // errno.h:45:1: | ||||||
|  | 	ETIMEDOUT                  = 110    // errno.h:93:1: | ||||||
|  | 	ETOOMANYREFS               = 109    // errno.h:92:1: | ||||||
|  | 	ETXTBSY                    = 26     // errno-base.h:30:1: | ||||||
|  | 	EUCLEAN                    = 117    // errno.h:100:1: | ||||||
|  | 	EUNATCH                    = 49     // errno.h:30:1: | ||||||
|  | 	EUSERS                     = 87     // errno.h:70:1: | ||||||
|  | 	EWOULDBLOCK                = 11     // errno.h:22:1: | ||||||
|  | 	EXDEV                      = 18     // errno-base.h:22:1: | ||||||
|  | 	EXFULL                     = 54     // errno.h:35:1: | ||||||
|  | 	X_ARCH_PPC                 = 1      // <predefined>:198:1: | ||||||
|  | 	X_ARCH_PPC64               = 1      // <predefined>:402:1: | ||||||
|  | 	X_ARCH_PPCGR               = 1      // <predefined>:15:1: | ||||||
|  | 	X_ARCH_PPCSQ               = 1      // <predefined>:43:1: | ||||||
|  | 	X_ARCH_PWR4                = 1      // <predefined>:381:1: | ||||||
|  | 	X_ARCH_PWR5                = 1      // <predefined>:90:1: | ||||||
|  | 	X_ARCH_PWR5X               = 1      // <predefined>:137:1: | ||||||
|  | 	X_ARCH_PWR6                = 1      // <predefined>:91:1: | ||||||
|  | 	X_ARCH_PWR7                = 1      // <predefined>:92:1: | ||||||
|  | 	X_ARCH_PWR8                = 1      // <predefined>:93:1: | ||||||
|  | 	X_ASM_GENERIC_ERRNO_BASE_H = 0      // errno-base.h:3:1: | ||||||
|  | 	X_ASM_GENERIC_ERRNO_H      = 0      // errno.h:3:1: | ||||||
|  | 	X_ASM_POWERPC_ERRNO_H      = 0      // errno.h:3:1: | ||||||
|  | 	X_ATFILE_SOURCE            = 1      // features.h:342:1: | ||||||
|  | 	X_BITS_ERRNO_H             = 1      // errno.h:20:1: | ||||||
|  | 	X_CALL_ELF                 = 2      // <predefined>:415:1: | ||||||
|  | 	X_CALL_LINUX               = 1      // <predefined>:123:1: | ||||||
|  | 	X_DEFAULT_SOURCE           = 1      // features.h:227:1: | ||||||
|  | 	X_ERRNO_H                  = 1      // errno.h:23:1: | ||||||
|  | 	X_FEATURES_H               = 1      // features.h:19:1: | ||||||
|  | 	X_FILE_OFFSET_BITS         = 64     // <builtin>:25:1: | ||||||
|  | 	X_LITTLE_ENDIAN            = 1      // <predefined>:37:1: | ||||||
|  | 	X_LP64                     = 1      // <predefined>:335:1: | ||||||
|  | 	X_POSIX_C_SOURCE           = 200809 // features.h:281:1: | ||||||
|  | 	X_POSIX_SOURCE             = 1      // features.h:279:1: | ||||||
|  | 	X_STDC_PREDEF_H            = 1      // <predefined>:203:1: | ||||||
|  | 	X_SYS_CDEFS_H              = 1      // cdefs.h:19:1: | ||||||
|  | 	Linux                      = 1      // <predefined>:263:1: | ||||||
|  | 	Unix                       = 1      // <predefined>:222:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__ieee128 = float64         /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | var _ uint8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										187
									
								
								vendor/modernc.org/libc/errno/errno_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										187
									
								
								vendor/modernc.org/libc/errno/errno_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,187 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno/errno_linux_riscv64.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	E2BIG                      = 7 | ||||||
|  | 	EACCES                     = 13 | ||||||
|  | 	EADDRINUSE                 = 98 | ||||||
|  | 	EADDRNOTAVAIL              = 99 | ||||||
|  | 	EADV                       = 68 | ||||||
|  | 	EAFNOSUPPORT               = 97 | ||||||
|  | 	EAGAIN                     = 11 | ||||||
|  | 	EALREADY                   = 114 | ||||||
|  | 	EBADE                      = 52 | ||||||
|  | 	EBADF                      = 9 | ||||||
|  | 	EBADFD                     = 77 | ||||||
|  | 	EBADMSG                    = 74 | ||||||
|  | 	EBADR                      = 53 | ||||||
|  | 	EBADRQC                    = 56 | ||||||
|  | 	EBADSLT                    = 57 | ||||||
|  | 	EBFONT                     = 59 | ||||||
|  | 	EBUSY                      = 16 | ||||||
|  | 	ECANCELED                  = 125 | ||||||
|  | 	ECHILD                     = 10 | ||||||
|  | 	ECHRNG                     = 44 | ||||||
|  | 	ECOMM                      = 70 | ||||||
|  | 	ECONNABORTED               = 103 | ||||||
|  | 	ECONNREFUSED               = 111 | ||||||
|  | 	ECONNRESET                 = 104 | ||||||
|  | 	EDEADLK                    = 35 | ||||||
|  | 	EDEADLOCK                  = 35 | ||||||
|  | 	EDESTADDRREQ               = 89 | ||||||
|  | 	EDOM                       = 33 | ||||||
|  | 	EDOTDOT                    = 73 | ||||||
|  | 	EDQUOT                     = 122 | ||||||
|  | 	EEXIST                     = 17 | ||||||
|  | 	EFAULT                     = 14 | ||||||
|  | 	EFBIG                      = 27 | ||||||
|  | 	EHOSTDOWN                  = 112 | ||||||
|  | 	EHOSTUNREACH               = 113 | ||||||
|  | 	EHWPOISON                  = 133 | ||||||
|  | 	EIDRM                      = 43 | ||||||
|  | 	EILSEQ                     = 84 | ||||||
|  | 	EINPROGRESS                = 115 | ||||||
|  | 	EINTR                      = 4 | ||||||
|  | 	EINVAL                     = 22 | ||||||
|  | 	EIO                        = 5 | ||||||
|  | 	EISCONN                    = 106 | ||||||
|  | 	EISDIR                     = 21 | ||||||
|  | 	EISNAM                     = 120 | ||||||
|  | 	EKEYEXPIRED                = 127 | ||||||
|  | 	EKEYREJECTED               = 129 | ||||||
|  | 	EKEYREVOKED                = 128 | ||||||
|  | 	EL2HLT                     = 51 | ||||||
|  | 	EL2NSYNC                   = 45 | ||||||
|  | 	EL3HLT                     = 46 | ||||||
|  | 	EL3RST                     = 47 | ||||||
|  | 	ELIBACC                    = 79 | ||||||
|  | 	ELIBBAD                    = 80 | ||||||
|  | 	ELIBEXEC                   = 83 | ||||||
|  | 	ELIBMAX                    = 82 | ||||||
|  | 	ELIBSCN                    = 81 | ||||||
|  | 	ELNRNG                     = 48 | ||||||
|  | 	ELOOP                      = 40 | ||||||
|  | 	EMEDIUMTYPE                = 124 | ||||||
|  | 	EMFILE                     = 24 | ||||||
|  | 	EMLINK                     = 31 | ||||||
|  | 	EMSGSIZE                   = 90 | ||||||
|  | 	EMULTIHOP                  = 72 | ||||||
|  | 	ENAMETOOLONG               = 36 | ||||||
|  | 	ENAVAIL                    = 119 | ||||||
|  | 	ENETDOWN                   = 100 | ||||||
|  | 	ENETRESET                  = 102 | ||||||
|  | 	ENETUNREACH                = 101 | ||||||
|  | 	ENFILE                     = 23 | ||||||
|  | 	ENOANO                     = 55 | ||||||
|  | 	ENOBUFS                    = 105 | ||||||
|  | 	ENOCSI                     = 50 | ||||||
|  | 	ENODATA                    = 61 | ||||||
|  | 	ENODEV                     = 19 | ||||||
|  | 	ENOENT                     = 2 | ||||||
|  | 	ENOEXEC                    = 8 | ||||||
|  | 	ENOKEY                     = 126 | ||||||
|  | 	ENOLCK                     = 37 | ||||||
|  | 	ENOLINK                    = 67 | ||||||
|  | 	ENOMEDIUM                  = 123 | ||||||
|  | 	ENOMEM                     = 12 | ||||||
|  | 	ENOMSG                     = 42 | ||||||
|  | 	ENONET                     = 64 | ||||||
|  | 	ENOPKG                     = 65 | ||||||
|  | 	ENOPROTOOPT                = 92 | ||||||
|  | 	ENOSPC                     = 28 | ||||||
|  | 	ENOSR                      = 63 | ||||||
|  | 	ENOSTR                     = 60 | ||||||
|  | 	ENOSYS                     = 38 | ||||||
|  | 	ENOTBLK                    = 15 | ||||||
|  | 	ENOTCONN                   = 107 | ||||||
|  | 	ENOTDIR                    = 20 | ||||||
|  | 	ENOTEMPTY                  = 39 | ||||||
|  | 	ENOTNAM                    = 118 | ||||||
|  | 	ENOTRECOVERABLE            = 131 | ||||||
|  | 	ENOTSOCK                   = 88 | ||||||
|  | 	ENOTSUP                    = 95 | ||||||
|  | 	ENOTTY                     = 25 | ||||||
|  | 	ENOTUNIQ                   = 76 | ||||||
|  | 	ENXIO                      = 6 | ||||||
|  | 	EOPNOTSUPP                 = 95 | ||||||
|  | 	EOVERFLOW                  = 75 | ||||||
|  | 	EOWNERDEAD                 = 130 | ||||||
|  | 	EPERM                      = 1 | ||||||
|  | 	EPFNOSUPPORT               = 96 | ||||||
|  | 	EPIPE                      = 32 | ||||||
|  | 	EPROTO                     = 71 | ||||||
|  | 	EPROTONOSUPPORT            = 93 | ||||||
|  | 	EPROTOTYPE                 = 91 | ||||||
|  | 	ERANGE                     = 34 | ||||||
|  | 	EREMCHG                    = 78 | ||||||
|  | 	EREMOTE                    = 66 | ||||||
|  | 	EREMOTEIO                  = 121 | ||||||
|  | 	ERESTART                   = 85 | ||||||
|  | 	ERFKILL                    = 132 | ||||||
|  | 	EROFS                      = 30 | ||||||
|  | 	ESHUTDOWN                  = 108 | ||||||
|  | 	ESOCKTNOSUPPORT            = 94 | ||||||
|  | 	ESPIPE                     = 29 | ||||||
|  | 	ESRCH                      = 3 | ||||||
|  | 	ESRMNT                     = 69 | ||||||
|  | 	ESTALE                     = 116 | ||||||
|  | 	ESTRPIPE                   = 86 | ||||||
|  | 	ETIME                      = 62 | ||||||
|  | 	ETIMEDOUT                  = 110 | ||||||
|  | 	ETOOMANYREFS               = 109 | ||||||
|  | 	ETXTBSY                    = 26 | ||||||
|  | 	EUCLEAN                    = 117 | ||||||
|  | 	EUNATCH                    = 49 | ||||||
|  | 	EUSERS                     = 87 | ||||||
|  | 	EWOULDBLOCK                = 11 | ||||||
|  | 	EXDEV                      = 18 | ||||||
|  | 	EXFULL                     = 54 | ||||||
|  | 	X_ASM_GENERIC_ERRNO_BASE_H = 0 | ||||||
|  | 	X_ASM_GENERIC_ERRNO_H      = 0 | ||||||
|  | 	X_ATFILE_SOURCE            = 1 | ||||||
|  | 	X_BITS_ERRNO_H             = 1 | ||||||
|  | 	X_DEFAULT_SOURCE           = 1 | ||||||
|  | 	X_ERRNO_H                  = 1 | ||||||
|  | 	X_FEATURES_H               = 1 | ||||||
|  | 	X_FILE_OFFSET_BITS         = 64 | ||||||
|  | 	X_LP64                     = 1 | ||||||
|  | 	X_POSIX_C_SOURCE           = 200809 | ||||||
|  | 	X_POSIX_SOURCE             = 1 | ||||||
|  | 	X_STDC_PREDEF_H            = 1 | ||||||
|  | 	X_SYS_CDEFS_H              = 1 | ||||||
|  | 	Linux                      = 1 | ||||||
|  | 	Unix                       = 1 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | var _ uint8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										141
									
								
								vendor/modernc.org/libc/errno/errno_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										141
									
								
								vendor/modernc.org/libc/errno/errno_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,141 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_netbsd_arm.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	E2BIG               = 7  // errno.h:48:1: | ||||||
|  | 	EACCES              = 13 // errno.h:55:1: | ||||||
|  | 	EADDRINUSE          = 48 // errno.h:97:1: | ||||||
|  | 	EADDRNOTAVAIL       = 49 // errno.h:98:1: | ||||||
|  | 	EAFNOSUPPORT        = 47 // errno.h:96:1: | ||||||
|  | 	EAGAIN              = 35 // errno.h:81:1: | ||||||
|  | 	EALREADY            = 37 // errno.h:84:1: | ||||||
|  | 	EAUTH               = 80 // errno.h:140:1: | ||||||
|  | 	EBADF               = 9  // errno.h:50:1: | ||||||
|  | 	EBADMSG             = 88 // errno.h:159:1: | ||||||
|  | 	EBADRPC             = 72 // errno.h:130:1: | ||||||
|  | 	EBUSY               = 16 // errno.h:58:1: | ||||||
|  | 	ECANCELED           = 87 // errno.h:156:1: | ||||||
|  | 	ECHILD              = 10 // errno.h:51:1: | ||||||
|  | 	ECONNABORTED        = 53 // errno.h:104:1: | ||||||
|  | 	ECONNREFUSED        = 61 // errno.h:112:1: | ||||||
|  | 	ECONNRESET          = 54 // errno.h:105:1: | ||||||
|  | 	EDEADLK             = 11 // errno.h:52:1: | ||||||
|  | 	EDESTADDRREQ        = 39 // errno.h:88:1: | ||||||
|  | 	EDOM                = 33 // errno.h:77:1: | ||||||
|  | 	EDQUOT              = 69 // errno.h:125:1: | ||||||
|  | 	EEXIST              = 17 // errno.h:59:1: | ||||||
|  | 	EFAULT              = 14 // errno.h:56:1: | ||||||
|  | 	EFBIG               = 27 // errno.h:69:1: | ||||||
|  | 	EFTYPE              = 79 // errno.h:139:1: | ||||||
|  | 	EHOSTDOWN           = 64 // errno.h:118:1: | ||||||
|  | 	EHOSTUNREACH        = 65 // errno.h:119:1: | ||||||
|  | 	EIDRM               = 82 // errno.h:144:1: | ||||||
|  | 	EILSEQ              = 85 // errno.h:149:1: | ||||||
|  | 	EINPROGRESS         = 36 // errno.h:83:1: | ||||||
|  | 	EINTR               = 4  // errno.h:45:1: | ||||||
|  | 	EINVAL              = 22 // errno.h:64:1: | ||||||
|  | 	EIO                 = 5  // errno.h:46:1: | ||||||
|  | 	EISCONN             = 56 // errno.h:107:1: | ||||||
|  | 	EISDIR              = 21 // errno.h:63:1: | ||||||
|  | 	ELAST               = 96 // errno.h:175:1: | ||||||
|  | 	ELOOP               = 62 // errno.h:114:1: | ||||||
|  | 	EMFILE              = 24 // errno.h:66:1: | ||||||
|  | 	EMLINK              = 31 // errno.h:73:1: | ||||||
|  | 	EMSGSIZE            = 40 // errno.h:89:1: | ||||||
|  | 	EMULTIHOP           = 94 // errno.h:171:1: | ||||||
|  | 	ENAMETOOLONG        = 63 // errno.h:115:1: | ||||||
|  | 	ENEEDAUTH           = 81 // errno.h:141:1: | ||||||
|  | 	ENETDOWN            = 50 // errno.h:101:1: | ||||||
|  | 	ENETRESET           = 52 // errno.h:103:1: | ||||||
|  | 	ENETUNREACH         = 51 // errno.h:102:1: | ||||||
|  | 	ENFILE              = 23 // errno.h:65:1: | ||||||
|  | 	ENOATTR             = 93 // errno.h:168:1: | ||||||
|  | 	ENOBUFS             = 55 // errno.h:106:1: | ||||||
|  | 	ENODATA             = 89 // errno.h:162:1: | ||||||
|  | 	ENODEV              = 19 // errno.h:61:1: | ||||||
|  | 	ENOENT              = 2  // errno.h:43:1: | ||||||
|  | 	ENOEXEC             = 8  // errno.h:49:1: | ||||||
|  | 	ENOLCK              = 77 // errno.h:136:1: | ||||||
|  | 	ENOLINK             = 95 // errno.h:172:1: | ||||||
|  | 	ENOMEM              = 12 // errno.h:54:1: | ||||||
|  | 	ENOMSG              = 83 // errno.h:145:1: | ||||||
|  | 	ENOPROTOOPT         = 42 // errno.h:91:1: | ||||||
|  | 	ENOSPC              = 28 // errno.h:70:1: | ||||||
|  | 	ENOSR               = 90 // errno.h:163:1: | ||||||
|  | 	ENOSTR              = 91 // errno.h:164:1: | ||||||
|  | 	ENOSYS              = 78 // errno.h:137:1: | ||||||
|  | 	ENOTBLK             = 15 // errno.h:57:1: | ||||||
|  | 	ENOTCONN            = 57 // errno.h:108:1: | ||||||
|  | 	ENOTDIR             = 20 // errno.h:62:1: | ||||||
|  | 	ENOTEMPTY           = 66 // errno.h:120:1: | ||||||
|  | 	ENOTSOCK            = 38 // errno.h:87:1: | ||||||
|  | 	ENOTSUP             = 86 // errno.h:153:1: | ||||||
|  | 	ENOTTY              = 25 // errno.h:67:1: | ||||||
|  | 	ENXIO               = 6  // errno.h:47:1: | ||||||
|  | 	EOPNOTSUPP          = 45 // errno.h:94:1: | ||||||
|  | 	EOVERFLOW           = 84 // errno.h:146:1: | ||||||
|  | 	EPERM               = 1  // errno.h:42:1: | ||||||
|  | 	EPFNOSUPPORT        = 46 // errno.h:95:1: | ||||||
|  | 	EPIPE               = 32 // errno.h:74:1: | ||||||
|  | 	EPROCLIM            = 67 // errno.h:123:1: | ||||||
|  | 	EPROCUNAVAIL        = 76 // errno.h:134:1: | ||||||
|  | 	EPROGMISMATCH       = 75 // errno.h:133:1: | ||||||
|  | 	EPROGUNAVAIL        = 74 // errno.h:132:1: | ||||||
|  | 	EPROTO              = 96 // errno.h:173:1: | ||||||
|  | 	EPROTONOSUPPORT     = 43 // errno.h:92:1: | ||||||
|  | 	EPROTOTYPE          = 41 // errno.h:90:1: | ||||||
|  | 	ERANGE              = 34 // errno.h:78:1: | ||||||
|  | 	EREMOTE             = 71 // errno.h:129:1: | ||||||
|  | 	EROFS               = 30 // errno.h:72:1: | ||||||
|  | 	ERPCMISMATCH        = 73 // errno.h:131:1: | ||||||
|  | 	ESHUTDOWN           = 58 // errno.h:109:1: | ||||||
|  | 	ESOCKTNOSUPPORT     = 44 // errno.h:93:1: | ||||||
|  | 	ESPIPE              = 29 // errno.h:71:1: | ||||||
|  | 	ESRCH               = 3  // errno.h:44:1: | ||||||
|  | 	ESTALE              = 70 // errno.h:128:1: | ||||||
|  | 	ETIME               = 92 // errno.h:165:1: | ||||||
|  | 	ETIMEDOUT           = 60 // errno.h:111:1: | ||||||
|  | 	ETOOMANYREFS        = 59 // errno.h:110:1: | ||||||
|  | 	ETXTBSY             = 26 // errno.h:68:1: | ||||||
|  | 	EUSERS              = 68 // errno.h:124:1: | ||||||
|  | 	EWOULDBLOCK         = 35 // errno.h:82:1: | ||||||
|  | 	EXDEV               = 18 // errno.h:60:1: | ||||||
|  | 	X_ARM_ARCH_4T       = 0  // cdefs.h:44:1: | ||||||
|  | 	X_ARM_ARCH_5        = 0  // cdefs.h:40:1: | ||||||
|  | 	X_ARM_ARCH_5T       = 0  // cdefs.h:36:1: | ||||||
|  | 	X_ARM_ARCH_6        = 0  // cdefs.h:31:1: | ||||||
|  | 	X_ARM_ARCH_7        = 0  // cdefs.h:20:1: | ||||||
|  | 	X_ARM_ARCH_DWORD_OK = 0  // cdefs.h:51:1: | ||||||
|  | 	X_ARM_ARCH_T2       = 0  // cdefs.h:24:1: | ||||||
|  | 	X_ARM_CDEFS_H_      = 0  // cdefs.h:4:1: | ||||||
|  | 	X_ERRNO_H_          = 0  // errno.h:40:1: | ||||||
|  | 	X_FILE_OFFSET_BITS  = 64 // <builtin>:25:1: | ||||||
|  | 	X_NETBSD_SOURCE     = 1  // featuretest.h:70:1: | ||||||
|  | 	X_SYS_CDEFS_ELF_H_  = 0  // cdefs_elf.h:31:1: | ||||||
|  | 	X_SYS_CDEFS_H_      = 0  // cdefs.h:37:1: | ||||||
|  | 	X_SYS_ERRNO_H_      = 0  // errno.h:40:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int32 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint32 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | var _ uint8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										133
									
								
								vendor/modernc.org/libc/errno/errno_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										133
									
								
								vendor/modernc.org/libc/errno/errno_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,133 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_openbsd_386.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	E2BIG              = 7  // errno.h:48:1: | ||||||
|  | 	EACCES             = 13 // errno.h:55:1: | ||||||
|  | 	EADDRINUSE         = 48 // errno.h:103:1: | ||||||
|  | 	EADDRNOTAVAIL      = 49 // errno.h:104:1: | ||||||
|  | 	EAFNOSUPPORT       = 47 // errno.h:102:1: | ||||||
|  | 	EAGAIN             = 35 // errno.h:83:1: | ||||||
|  | 	EALREADY           = 37 // errno.h:86:1: | ||||||
|  | 	EAUTH              = 80 // errno.h:155:1: | ||||||
|  | 	EBADF              = 9  // errno.h:50:1: | ||||||
|  | 	EBADMSG            = 92 // errno.h:170:1: | ||||||
|  | 	EBADRPC            = 72 // errno.h:143:1: | ||||||
|  | 	EBUSY              = 16 // errno.h:60:1: | ||||||
|  | 	ECANCELED          = 88 // errno.h:166:1: | ||||||
|  | 	ECHILD             = 10 // errno.h:51:1: | ||||||
|  | 	ECONNABORTED       = 53 // errno.h:110:1: | ||||||
|  | 	ECONNREFUSED       = 61 // errno.h:120:1: | ||||||
|  | 	ECONNRESET         = 54 // errno.h:111:1: | ||||||
|  | 	EDEADLK            = 11 // errno.h:52:1: | ||||||
|  | 	EDESTADDRREQ       = 39 // errno.h:90:1: | ||||||
|  | 	EDOM               = 33 // errno.h:79:1: | ||||||
|  | 	EDQUOT             = 69 // errno.h:137:1: | ||||||
|  | 	EEXIST             = 17 // errno.h:61:1: | ||||||
|  | 	EFAULT             = 14 // errno.h:56:1: | ||||||
|  | 	EFBIG              = 27 // errno.h:71:1: | ||||||
|  | 	EFTYPE             = 79 // errno.h:154:1: | ||||||
|  | 	EHOSTDOWN          = 64 // errno.h:127:1: | ||||||
|  | 	EHOSTUNREACH       = 65 // errno.h:129:1: | ||||||
|  | 	EIDRM              = 89 // errno.h:167:1: | ||||||
|  | 	EILSEQ             = 84 // errno.h:160:1: | ||||||
|  | 	EINPROGRESS        = 36 // errno.h:85:1: | ||||||
|  | 	EINTR              = 4  // errno.h:45:1: | ||||||
|  | 	EINVAL             = 22 // errno.h:66:1: | ||||||
|  | 	EIO                = 5  // errno.h:46:1: | ||||||
|  | 	EIPSEC             = 82 // errno.h:157:1: | ||||||
|  | 	EISCONN            = 56 // errno.h:113:1: | ||||||
|  | 	EISDIR             = 21 // errno.h:65:1: | ||||||
|  | 	ELAST              = 95 // errno.h:175:1: | ||||||
|  | 	ELOOP              = 62 // errno.h:122:1: | ||||||
|  | 	EMEDIUMTYPE        = 86 // errno.h:163:1: | ||||||
|  | 	EMFILE             = 24 // errno.h:68:1: | ||||||
|  | 	EMLINK             = 31 // errno.h:75:1: | ||||||
|  | 	EMSGSIZE           = 40 // errno.h:91:1: | ||||||
|  | 	ENAMETOOLONG       = 63 // errno.h:123:1: | ||||||
|  | 	ENEEDAUTH          = 81 // errno.h:156:1: | ||||||
|  | 	ENETDOWN           = 50 // errno.h:107:1: | ||||||
|  | 	ENETRESET          = 52 // errno.h:109:1: | ||||||
|  | 	ENETUNREACH        = 51 // errno.h:108:1: | ||||||
|  | 	ENFILE             = 23 // errno.h:67:1: | ||||||
|  | 	ENOATTR            = 83 // errno.h:158:1: | ||||||
|  | 	ENOBUFS            = 55 // errno.h:112:1: | ||||||
|  | 	ENODEV             = 19 // errno.h:63:1: | ||||||
|  | 	ENOENT             = 2  // errno.h:43:1: | ||||||
|  | 	ENOEXEC            = 8  // errno.h:49:1: | ||||||
|  | 	ENOLCK             = 77 // errno.h:150:1: | ||||||
|  | 	ENOMEDIUM          = 85 // errno.h:162:1: | ||||||
|  | 	ENOMEM             = 12 // errno.h:54:1: | ||||||
|  | 	ENOMSG             = 90 // errno.h:168:1: | ||||||
|  | 	ENOPROTOOPT        = 42 // errno.h:93:1: | ||||||
|  | 	ENOSPC             = 28 // errno.h:72:1: | ||||||
|  | 	ENOSYS             = 78 // errno.h:151:1: | ||||||
|  | 	ENOTBLK            = 15 // errno.h:58:1: | ||||||
|  | 	ENOTCONN           = 57 // errno.h:114:1: | ||||||
|  | 	ENOTDIR            = 20 // errno.h:64:1: | ||||||
|  | 	ENOTEMPTY          = 66 // errno.h:130:1: | ||||||
|  | 	ENOTRECOVERABLE    = 93 // errno.h:171:1: | ||||||
|  | 	ENOTSOCK           = 38 // errno.h:89:1: | ||||||
|  | 	ENOTSUP            = 91 // errno.h:169:1: | ||||||
|  | 	ENOTTY             = 25 // errno.h:69:1: | ||||||
|  | 	ENXIO              = 6  // errno.h:47:1: | ||||||
|  | 	EOPNOTSUPP         = 45 // errno.h:98:1: | ||||||
|  | 	EOVERFLOW          = 87 // errno.h:165:1: | ||||||
|  | 	EOWNERDEAD         = 94 // errno.h:172:1: | ||||||
|  | 	EPERM              = 1  // errno.h:42:1: | ||||||
|  | 	EPFNOSUPPORT       = 46 // errno.h:100:1: | ||||||
|  | 	EPIPE              = 32 // errno.h:76:1: | ||||||
|  | 	EPROCLIM           = 67 // errno.h:134:1: | ||||||
|  | 	EPROCUNAVAIL       = 76 // errno.h:147:1: | ||||||
|  | 	EPROGMISMATCH      = 75 // errno.h:146:1: | ||||||
|  | 	EPROGUNAVAIL       = 74 // errno.h:145:1: | ||||||
|  | 	EPROTO             = 95 // errno.h:173:1: | ||||||
|  | 	EPROTONOSUPPORT    = 43 // errno.h:94:1: | ||||||
|  | 	EPROTOTYPE         = 41 // errno.h:92:1: | ||||||
|  | 	ERANGE             = 34 // errno.h:80:1: | ||||||
|  | 	EREMOTE            = 71 // errno.h:142:1: | ||||||
|  | 	EROFS              = 30 // errno.h:74:1: | ||||||
|  | 	ERPCMISMATCH       = 73 // errno.h:144:1: | ||||||
|  | 	ESHUTDOWN          = 58 // errno.h:116:1: | ||||||
|  | 	ESOCKTNOSUPPORT    = 44 // errno.h:96:1: | ||||||
|  | 	ESPIPE             = 29 // errno.h:73:1: | ||||||
|  | 	ESRCH              = 3  // errno.h:44:1: | ||||||
|  | 	ESTALE             = 70 // errno.h:140:1: | ||||||
|  | 	ETIMEDOUT          = 60 // errno.h:119:1: | ||||||
|  | 	ETOOMANYREFS       = 59 // errno.h:117:1: | ||||||
|  | 	ETXTBSY            = 26 // errno.h:70:1: | ||||||
|  | 	EUSERS             = 68 // errno.h:135:1: | ||||||
|  | 	EWOULDBLOCK        = 35 // errno.h:84:1: | ||||||
|  | 	EXDEV              = 18 // errno.h:62:1: | ||||||
|  | 	X_ERRNO_H_         = 0  // errno.h:40:1: | ||||||
|  | 	X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: | ||||||
|  | 	X_ILP32            = 1  // <predefined>:1:1: | ||||||
|  | 	X_MACHINE_CDEFS_H_ = 0  // cdefs.h:9:1: | ||||||
|  | 	X_SYS_CDEFS_H_     = 0  // cdefs.h:39:1: | ||||||
|  | 	I386               = 1  // <predefined>:339:1: | ||||||
|  | 	Unix               = 1  // <predefined>:340:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int32 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint32 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										142
									
								
								vendor/modernc.org/libc/errno/errno_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										142
									
								
								vendor/modernc.org/libc/errno/errno_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,142 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_openbsd_amd64.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	E2BIG              = 7  // errno.h:48:1: | ||||||
|  | 	EACCES             = 13 // errno.h:55:1: | ||||||
|  | 	EADDRINUSE         = 48 // errno.h:103:1: | ||||||
|  | 	EADDRNOTAVAIL      = 49 // errno.h:104:1: | ||||||
|  | 	EAFNOSUPPORT       = 47 // errno.h:102:1: | ||||||
|  | 	EAGAIN             = 35 // errno.h:83:1: | ||||||
|  | 	EALREADY           = 37 // errno.h:86:1: | ||||||
|  | 	EAUTH              = 80 // errno.h:155:1: | ||||||
|  | 	EBADF              = 9  // errno.h:50:1: | ||||||
|  | 	EBADMSG            = 92 // errno.h:170:1: | ||||||
|  | 	EBADRPC            = 72 // errno.h:143:1: | ||||||
|  | 	EBUSY              = 16 // errno.h:60:1: | ||||||
|  | 	ECANCELED          = 88 // errno.h:166:1: | ||||||
|  | 	ECHILD             = 10 // errno.h:51:1: | ||||||
|  | 	ECONNABORTED       = 53 // errno.h:110:1: | ||||||
|  | 	ECONNREFUSED       = 61 // errno.h:120:1: | ||||||
|  | 	ECONNRESET         = 54 // errno.h:111:1: | ||||||
|  | 	EDEADLK            = 11 // errno.h:52:1: | ||||||
|  | 	EDESTADDRREQ       = 39 // errno.h:90:1: | ||||||
|  | 	EDOM               = 33 // errno.h:79:1: | ||||||
|  | 	EDQUOT             = 69 // errno.h:137:1: | ||||||
|  | 	EEXIST             = 17 // errno.h:61:1: | ||||||
|  | 	EFAULT             = 14 // errno.h:56:1: | ||||||
|  | 	EFBIG              = 27 // errno.h:71:1: | ||||||
|  | 	EFTYPE             = 79 // errno.h:154:1: | ||||||
|  | 	EHOSTDOWN          = 64 // errno.h:127:1: | ||||||
|  | 	EHOSTUNREACH       = 65 // errno.h:129:1: | ||||||
|  | 	EIDRM              = 89 // errno.h:167:1: | ||||||
|  | 	EILSEQ             = 84 // errno.h:160:1: | ||||||
|  | 	EINPROGRESS        = 36 // errno.h:85:1: | ||||||
|  | 	EINTR              = 4  // errno.h:45:1: | ||||||
|  | 	EINVAL             = 22 // errno.h:66:1: | ||||||
|  | 	EIO                = 5  // errno.h:46:1: | ||||||
|  | 	EIPSEC             = 82 // errno.h:157:1: | ||||||
|  | 	EISCONN            = 56 // errno.h:113:1: | ||||||
|  | 	EISDIR             = 21 // errno.h:65:1: | ||||||
|  | 	ELAST              = 95 // errno.h:175:1: | ||||||
|  | 	ELOOP              = 62 // errno.h:122:1: | ||||||
|  | 	EMEDIUMTYPE        = 86 // errno.h:163:1: | ||||||
|  | 	EMFILE             = 24 // errno.h:68:1: | ||||||
|  | 	EMLINK             = 31 // errno.h:75:1: | ||||||
|  | 	EMSGSIZE           = 40 // errno.h:91:1: | ||||||
|  | 	ENAMETOOLONG       = 63 // errno.h:123:1: | ||||||
|  | 	ENEEDAUTH          = 81 // errno.h:156:1: | ||||||
|  | 	ENETDOWN           = 50 // errno.h:107:1: | ||||||
|  | 	ENETRESET          = 52 // errno.h:109:1: | ||||||
|  | 	ENETUNREACH        = 51 // errno.h:108:1: | ||||||
|  | 	ENFILE             = 23 // errno.h:67:1: | ||||||
|  | 	ENOATTR            = 83 // errno.h:158:1: | ||||||
|  | 	ENOBUFS            = 55 // errno.h:112:1: | ||||||
|  | 	ENODEV             = 19 // errno.h:63:1: | ||||||
|  | 	ENOENT             = 2  // errno.h:43:1: | ||||||
|  | 	ENOEXEC            = 8  // errno.h:49:1: | ||||||
|  | 	ENOLCK             = 77 // errno.h:150:1: | ||||||
|  | 	ENOMEDIUM          = 85 // errno.h:162:1: | ||||||
|  | 	ENOMEM             = 12 // errno.h:54:1: | ||||||
|  | 	ENOMSG             = 90 // errno.h:168:1: | ||||||
|  | 	ENOPROTOOPT        = 42 // errno.h:93:1: | ||||||
|  | 	ENOSPC             = 28 // errno.h:72:1: | ||||||
|  | 	ENOSYS             = 78 // errno.h:151:1: | ||||||
|  | 	ENOTBLK            = 15 // errno.h:58:1: | ||||||
|  | 	ENOTCONN           = 57 // errno.h:114:1: | ||||||
|  | 	ENOTDIR            = 20 // errno.h:64:1: | ||||||
|  | 	ENOTEMPTY          = 66 // errno.h:130:1: | ||||||
|  | 	ENOTRECOVERABLE    = 93 // errno.h:171:1: | ||||||
|  | 	ENOTSOCK           = 38 // errno.h:89:1: | ||||||
|  | 	ENOTSUP            = 91 // errno.h:169:1: | ||||||
|  | 	ENOTTY             = 25 // errno.h:69:1: | ||||||
|  | 	ENXIO              = 6  // errno.h:47:1: | ||||||
|  | 	EOPNOTSUPP         = 45 // errno.h:98:1: | ||||||
|  | 	EOVERFLOW          = 87 // errno.h:165:1: | ||||||
|  | 	EOWNERDEAD         = 94 // errno.h:172:1: | ||||||
|  | 	EPERM              = 1  // errno.h:42:1: | ||||||
|  | 	EPFNOSUPPORT       = 46 // errno.h:100:1: | ||||||
|  | 	EPIPE              = 32 // errno.h:76:1: | ||||||
|  | 	EPROCLIM           = 67 // errno.h:134:1: | ||||||
|  | 	EPROCUNAVAIL       = 76 // errno.h:147:1: | ||||||
|  | 	EPROGMISMATCH      = 75 // errno.h:146:1: | ||||||
|  | 	EPROGUNAVAIL       = 74 // errno.h:145:1: | ||||||
|  | 	EPROTO             = 95 // errno.h:173:1: | ||||||
|  | 	EPROTONOSUPPORT    = 43 // errno.h:94:1: | ||||||
|  | 	EPROTOTYPE         = 41 // errno.h:92:1: | ||||||
|  | 	ERANGE             = 34 // errno.h:80:1: | ||||||
|  | 	EREMOTE            = 71 // errno.h:142:1: | ||||||
|  | 	EROFS              = 30 // errno.h:74:1: | ||||||
|  | 	ERPCMISMATCH       = 73 // errno.h:144:1: | ||||||
|  | 	ESHUTDOWN          = 58 // errno.h:116:1: | ||||||
|  | 	ESOCKTNOSUPPORT    = 44 // errno.h:96:1: | ||||||
|  | 	ESPIPE             = 29 // errno.h:73:1: | ||||||
|  | 	ESRCH              = 3  // errno.h:44:1: | ||||||
|  | 	ESTALE             = 70 // errno.h:140:1: | ||||||
|  | 	ETIMEDOUT          = 60 // errno.h:119:1: | ||||||
|  | 	ETOOMANYREFS       = 59 // errno.h:117:1: | ||||||
|  | 	ETXTBSY            = 26 // errno.h:70:1: | ||||||
|  | 	EUSERS             = 68 // errno.h:135:1: | ||||||
|  | 	EWOULDBLOCK        = 35 // errno.h:84:1: | ||||||
|  | 	EXDEV              = 18 // errno.h:62:1: | ||||||
|  | 	X_ERRNO_H_         = 0  // errno.h:40:1: | ||||||
|  | 	X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: | ||||||
|  | 	X_LP64             = 1  // <predefined>:1:1: | ||||||
|  | 	X_MACHINE_CDEFS_H_ = 0  // cdefs.h:9:1: | ||||||
|  | 	X_RET_PROTECTOR    = 1  // <predefined>:2:1: | ||||||
|  | 	X_SYS_CDEFS_H_     = 0  // cdefs.h:39:1: | ||||||
|  | 	Unix               = 1  // <predefined>:344:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										142
									
								
								vendor/modernc.org/libc/errno/errno_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										142
									
								
								vendor/modernc.org/libc/errno/errno_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,142 @@ | |||||||
|  | // Code generated by 'ccgo errno/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o errno/errno_openbsd_arm64.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	E2BIG              = 7  // errno.h:48:1: | ||||||
|  | 	EACCES             = 13 // errno.h:55:1: | ||||||
|  | 	EADDRINUSE         = 48 // errno.h:103:1: | ||||||
|  | 	EADDRNOTAVAIL      = 49 // errno.h:104:1: | ||||||
|  | 	EAFNOSUPPORT       = 47 // errno.h:102:1: | ||||||
|  | 	EAGAIN             = 35 // errno.h:83:1: | ||||||
|  | 	EALREADY           = 37 // errno.h:86:1: | ||||||
|  | 	EAUTH              = 80 // errno.h:155:1: | ||||||
|  | 	EBADF              = 9  // errno.h:50:1: | ||||||
|  | 	EBADMSG            = 92 // errno.h:170:1: | ||||||
|  | 	EBADRPC            = 72 // errno.h:143:1: | ||||||
|  | 	EBUSY              = 16 // errno.h:60:1: | ||||||
|  | 	ECANCELED          = 88 // errno.h:166:1: | ||||||
|  | 	ECHILD             = 10 // errno.h:51:1: | ||||||
|  | 	ECONNABORTED       = 53 // errno.h:110:1: | ||||||
|  | 	ECONNREFUSED       = 61 // errno.h:120:1: | ||||||
|  | 	ECONNRESET         = 54 // errno.h:111:1: | ||||||
|  | 	EDEADLK            = 11 // errno.h:52:1: | ||||||
|  | 	EDESTADDRREQ       = 39 // errno.h:90:1: | ||||||
|  | 	EDOM               = 33 // errno.h:79:1: | ||||||
|  | 	EDQUOT             = 69 // errno.h:137:1: | ||||||
|  | 	EEXIST             = 17 // errno.h:61:1: | ||||||
|  | 	EFAULT             = 14 // errno.h:56:1: | ||||||
|  | 	EFBIG              = 27 // errno.h:71:1: | ||||||
|  | 	EFTYPE             = 79 // errno.h:154:1: | ||||||
|  | 	EHOSTDOWN          = 64 // errno.h:127:1: | ||||||
|  | 	EHOSTUNREACH       = 65 // errno.h:129:1: | ||||||
|  | 	EIDRM              = 89 // errno.h:167:1: | ||||||
|  | 	EILSEQ             = 84 // errno.h:160:1: | ||||||
|  | 	EINPROGRESS        = 36 // errno.h:85:1: | ||||||
|  | 	EINTR              = 4  // errno.h:45:1: | ||||||
|  | 	EINVAL             = 22 // errno.h:66:1: | ||||||
|  | 	EIO                = 5  // errno.h:46:1: | ||||||
|  | 	EIPSEC             = 82 // errno.h:157:1: | ||||||
|  | 	EISCONN            = 56 // errno.h:113:1: | ||||||
|  | 	EISDIR             = 21 // errno.h:65:1: | ||||||
|  | 	ELAST              = 95 // errno.h:175:1: | ||||||
|  | 	ELOOP              = 62 // errno.h:122:1: | ||||||
|  | 	EMEDIUMTYPE        = 86 // errno.h:163:1: | ||||||
|  | 	EMFILE             = 24 // errno.h:68:1: | ||||||
|  | 	EMLINK             = 31 // errno.h:75:1: | ||||||
|  | 	EMSGSIZE           = 40 // errno.h:91:1: | ||||||
|  | 	ENAMETOOLONG       = 63 // errno.h:123:1: | ||||||
|  | 	ENEEDAUTH          = 81 // errno.h:156:1: | ||||||
|  | 	ENETDOWN           = 50 // errno.h:107:1: | ||||||
|  | 	ENETRESET          = 52 // errno.h:109:1: | ||||||
|  | 	ENETUNREACH        = 51 // errno.h:108:1: | ||||||
|  | 	ENFILE             = 23 // errno.h:67:1: | ||||||
|  | 	ENOATTR            = 83 // errno.h:158:1: | ||||||
|  | 	ENOBUFS            = 55 // errno.h:112:1: | ||||||
|  | 	ENODEV             = 19 // errno.h:63:1: | ||||||
|  | 	ENOENT             = 2  // errno.h:43:1: | ||||||
|  | 	ENOEXEC            = 8  // errno.h:49:1: | ||||||
|  | 	ENOLCK             = 77 // errno.h:150:1: | ||||||
|  | 	ENOMEDIUM          = 85 // errno.h:162:1: | ||||||
|  | 	ENOMEM             = 12 // errno.h:54:1: | ||||||
|  | 	ENOMSG             = 90 // errno.h:168:1: | ||||||
|  | 	ENOPROTOOPT        = 42 // errno.h:93:1: | ||||||
|  | 	ENOSPC             = 28 // errno.h:72:1: | ||||||
|  | 	ENOSYS             = 78 // errno.h:151:1: | ||||||
|  | 	ENOTBLK            = 15 // errno.h:58:1: | ||||||
|  | 	ENOTCONN           = 57 // errno.h:114:1: | ||||||
|  | 	ENOTDIR            = 20 // errno.h:64:1: | ||||||
|  | 	ENOTEMPTY          = 66 // errno.h:130:1: | ||||||
|  | 	ENOTRECOVERABLE    = 93 // errno.h:171:1: | ||||||
|  | 	ENOTSOCK           = 38 // errno.h:89:1: | ||||||
|  | 	ENOTSUP            = 91 // errno.h:169:1: | ||||||
|  | 	ENOTTY             = 25 // errno.h:69:1: | ||||||
|  | 	ENXIO              = 6  // errno.h:47:1: | ||||||
|  | 	EOPNOTSUPP         = 45 // errno.h:98:1: | ||||||
|  | 	EOVERFLOW          = 87 // errno.h:165:1: | ||||||
|  | 	EOWNERDEAD         = 94 // errno.h:172:1: | ||||||
|  | 	EPERM              = 1  // errno.h:42:1: | ||||||
|  | 	EPFNOSUPPORT       = 46 // errno.h:100:1: | ||||||
|  | 	EPIPE              = 32 // errno.h:76:1: | ||||||
|  | 	EPROCLIM           = 67 // errno.h:134:1: | ||||||
|  | 	EPROCUNAVAIL       = 76 // errno.h:147:1: | ||||||
|  | 	EPROGMISMATCH      = 75 // errno.h:146:1: | ||||||
|  | 	EPROGUNAVAIL       = 74 // errno.h:145:1: | ||||||
|  | 	EPROTO             = 95 // errno.h:173:1: | ||||||
|  | 	EPROTONOSUPPORT    = 43 // errno.h:94:1: | ||||||
|  | 	EPROTOTYPE         = 41 // errno.h:92:1: | ||||||
|  | 	ERANGE             = 34 // errno.h:80:1: | ||||||
|  | 	EREMOTE            = 71 // errno.h:142:1: | ||||||
|  | 	EROFS              = 30 // errno.h:74:1: | ||||||
|  | 	ERPCMISMATCH       = 73 // errno.h:144:1: | ||||||
|  | 	ESHUTDOWN          = 58 // errno.h:116:1: | ||||||
|  | 	ESOCKTNOSUPPORT    = 44 // errno.h:96:1: | ||||||
|  | 	ESPIPE             = 29 // errno.h:73:1: | ||||||
|  | 	ESRCH              = 3  // errno.h:44:1: | ||||||
|  | 	ESTALE             = 70 // errno.h:140:1: | ||||||
|  | 	ETIMEDOUT          = 60 // errno.h:119:1: | ||||||
|  | 	ETOOMANYREFS       = 59 // errno.h:117:1: | ||||||
|  | 	ETXTBSY            = 26 // errno.h:70:1: | ||||||
|  | 	EUSERS             = 68 // errno.h:135:1: | ||||||
|  | 	EWOULDBLOCK        = 35 // errno.h:84:1: | ||||||
|  | 	EXDEV              = 18 // errno.h:62:1: | ||||||
|  | 	X_ERRNO_H_         = 0  // errno.h:40:1: | ||||||
|  | 	X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: | ||||||
|  | 	X_LP64             = 1  // <predefined>:1:1: | ||||||
|  | 	X_MACHINE_CDEFS_H_ = 0  // cdefs.h:4:1: | ||||||
|  | 	X_RET_PROTECTOR    = 1  // <predefined>:2:1: | ||||||
|  | 	X_SYS_CDEFS_H_     = 0  // cdefs.h:39:1: | ||||||
|  | 	Unix               = 1  // <predefined>:360:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										363
									
								
								vendor/modernc.org/libc/errno/errno_windows_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										363
									
								
								vendor/modernc.org/libc/errno/errno_windows_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,363 @@ | |||||||
|  | // Code generated by 'ccgo errno\gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o errno\errno_windows_arm64.go -pkgname errno', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package errno | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	DUMMYSTRUCTNAME                                 = 0 | ||||||
|  | 	DUMMYSTRUCTNAME1                                = 0 | ||||||
|  | 	DUMMYSTRUCTNAME2                                = 0 | ||||||
|  | 	DUMMYSTRUCTNAME3                                = 0 | ||||||
|  | 	DUMMYSTRUCTNAME4                                = 0 | ||||||
|  | 	DUMMYSTRUCTNAME5                                = 0 | ||||||
|  | 	DUMMYUNIONNAME                                  = 0 | ||||||
|  | 	DUMMYUNIONNAME1                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME2                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME3                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME4                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME5                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME6                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME7                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME8                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME9                                 = 0 | ||||||
|  | 	E2BIG                                           = 7 | ||||||
|  | 	EACCES                                          = 13 | ||||||
|  | 	EADDRINUSE                                      = 100 | ||||||
|  | 	EADDRNOTAVAIL                                   = 101 | ||||||
|  | 	EAFNOSUPPORT                                    = 102 | ||||||
|  | 	EAGAIN                                          = 11 | ||||||
|  | 	EALREADY                                        = 103 | ||||||
|  | 	EBADF                                           = 9 | ||||||
|  | 	EBADMSG                                         = 104 | ||||||
|  | 	EBUSY                                           = 16 | ||||||
|  | 	ECANCELED                                       = 105 | ||||||
|  | 	ECHILD                                          = 10 | ||||||
|  | 	ECONNABORTED                                    = 106 | ||||||
|  | 	ECONNREFUSED                                    = 107 | ||||||
|  | 	ECONNRESET                                      = 108 | ||||||
|  | 	EDEADLK                                         = 36 | ||||||
|  | 	EDEADLOCK                                       = 36 | ||||||
|  | 	EDESTADDRREQ                                    = 109 | ||||||
|  | 	EDOM                                            = 33 | ||||||
|  | 	EEXIST                                          = 17 | ||||||
|  | 	EFAULT                                          = 14 | ||||||
|  | 	EFBIG                                           = 27 | ||||||
|  | 	EHOSTUNREACH                                    = 110 | ||||||
|  | 	EIDRM                                           = 111 | ||||||
|  | 	EILSEQ                                          = 42 | ||||||
|  | 	EINPROGRESS                                     = 112 | ||||||
|  | 	EINTR                                           = 4 | ||||||
|  | 	EINVAL                                          = 22 | ||||||
|  | 	EIO                                             = 5 | ||||||
|  | 	EISCONN                                         = 113 | ||||||
|  | 	EISDIR                                          = 21 | ||||||
|  | 	ELOOP                                           = 114 | ||||||
|  | 	EMFILE                                          = 24 | ||||||
|  | 	EMLINK                                          = 31 | ||||||
|  | 	EMSGSIZE                                        = 115 | ||||||
|  | 	ENAMETOOLONG                                    = 38 | ||||||
|  | 	ENETDOWN                                        = 116 | ||||||
|  | 	ENETRESET                                       = 117 | ||||||
|  | 	ENETUNREACH                                     = 118 | ||||||
|  | 	ENFILE                                          = 23 | ||||||
|  | 	ENOBUFS                                         = 119 | ||||||
|  | 	ENODATA                                         = 120 | ||||||
|  | 	ENODEV                                          = 19 | ||||||
|  | 	ENOENT                                          = 2 | ||||||
|  | 	ENOEXEC                                         = 8 | ||||||
|  | 	ENOFILE                                         = 2 | ||||||
|  | 	ENOLCK                                          = 39 | ||||||
|  | 	ENOLINK                                         = 121 | ||||||
|  | 	ENOMEM                                          = 12 | ||||||
|  | 	ENOMSG                                          = 122 | ||||||
|  | 	ENOPROTOOPT                                     = 123 | ||||||
|  | 	ENOSPC                                          = 28 | ||||||
|  | 	ENOSR                                           = 124 | ||||||
|  | 	ENOSTR                                          = 125 | ||||||
|  | 	ENOSYS                                          = 40 | ||||||
|  | 	ENOTCONN                                        = 126 | ||||||
|  | 	ENOTDIR                                         = 20 | ||||||
|  | 	ENOTEMPTY                                       = 41 | ||||||
|  | 	ENOTRECOVERABLE                                 = 127 | ||||||
|  | 	ENOTSOCK                                        = 128 | ||||||
|  | 	ENOTSUP                                         = 129 | ||||||
|  | 	ENOTTY                                          = 25 | ||||||
|  | 	ENXIO                                           = 6 | ||||||
|  | 	EOPNOTSUPP                                      = 130 | ||||||
|  | 	EOVERFLOW                                       = 132 | ||||||
|  | 	EOWNERDEAD                                      = 133 | ||||||
|  | 	EPERM                                           = 1 | ||||||
|  | 	EPIPE                                           = 32 | ||||||
|  | 	EPROTO                                          = 134 | ||||||
|  | 	EPROTONOSUPPORT                                 = 135 | ||||||
|  | 	EPROTOTYPE                                      = 136 | ||||||
|  | 	ERANGE                                          = 34 | ||||||
|  | 	EROFS                                           = 30 | ||||||
|  | 	ESPIPE                                          = 29 | ||||||
|  | 	ESRCH                                           = 3 | ||||||
|  | 	ETIME                                           = 137 | ||||||
|  | 	ETIMEDOUT                                       = 138 | ||||||
|  | 	ETXTBSY                                         = 139 | ||||||
|  | 	EWOULDBLOCK                                     = 140 | ||||||
|  | 	EXDEV                                           = 18 | ||||||
|  | 	MINGW_DDK_H                                     = 0 | ||||||
|  | 	MINGW_HAS_DDK_H                                 = 1 | ||||||
|  | 	MINGW_HAS_SECURE_API                            = 1 | ||||||
|  | 	MINGW_SDK_INIT                                  = 0 | ||||||
|  | 	STRUNCATE                                       = 80 | ||||||
|  | 	UNALIGNED                                       = 0 | ||||||
|  | 	USE___UUIDOF                                    = 0 | ||||||
|  | 	WIN32                                           = 1 | ||||||
|  | 	WIN64                                           = 1 | ||||||
|  | 	WINNT                                           = 1 | ||||||
|  | 	X_AGLOBAL                                       = 0 | ||||||
|  | 	X_ANONYMOUS_STRUCT                              = 0 | ||||||
|  | 	X_ANONYMOUS_UNION                               = 0 | ||||||
|  | 	X_ARGMAX                                        = 100 | ||||||
|  | 	X_ARM64_                                        = 1 | ||||||
|  | 	X_CONST_RETURN                                  = 0 | ||||||
|  | 	X_CRTNOALIAS                                    = 0 | ||||||
|  | 	X_CRTRESTRICT                                   = 0 | ||||||
|  | 	X_CRT_ALTERNATIVE_IMPORTED                      = 0 | ||||||
|  | 	X_CRT_ERRNO_DEFINED                             = 0 | ||||||
|  | 	X_CRT_MANAGED_HEAP_DEPRECATE                    = 0 | ||||||
|  | 	X_CRT_PACKING                                   = 8 | ||||||
|  | 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES          = 0 | ||||||
|  | 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY   = 0 | ||||||
|  | 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES        = 0 | ||||||
|  | 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT  = 0 | ||||||
|  | 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0 | ||||||
|  | 	X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP             = 0 | ||||||
|  | 	X_DLL                                           = 0 | ||||||
|  | 	X_ERRCODE_DEFINED                               = 0 | ||||||
|  | 	X_FILE_OFFSET_BITS                              = 64 | ||||||
|  | 	X_INC_CORECRT                                   = 0 | ||||||
|  | 	X_INC_CRTDEFS                                   = 0 | ||||||
|  | 	X_INC_CRTDEFS_MACRO                             = 0 | ||||||
|  | 	X_INC_ERRNO                                     = 0 | ||||||
|  | 	X_INC_MINGW_SECAPI                              = 0 | ||||||
|  | 	X_INC_VADEFS                                    = 0 | ||||||
|  | 	X_INC__MINGW_H                                  = 0 | ||||||
|  | 	X_INT128_DEFINED                                = 0 | ||||||
|  | 	X_INTPTR_T_DEFINED                              = 0 | ||||||
|  | 	X_MT                                            = 0 | ||||||
|  | 	X_M_ARM64                                       = 1 | ||||||
|  | 	X_PGLOBAL                                       = 0 | ||||||
|  | 	X_PTRDIFF_T_                                    = 0 | ||||||
|  | 	X_PTRDIFF_T_DEFINED                             = 0 | ||||||
|  | 	X_RSIZE_T_DEFINED                               = 0 | ||||||
|  | 	X_SECURECRT_ERRCODE_VALUES_DEFINED              = 0 | ||||||
|  | 	X_SECURECRT_FILL_BUFFER_PATTERN                 = 0xFD | ||||||
|  | 	X_SIZE_T_DEFINED                                = 0 | ||||||
|  | 	X_SSIZE_T_DEFINED                               = 0 | ||||||
|  | 	X_TAGLC_ID_DEFINED                              = 0 | ||||||
|  | 	X_THREADLOCALEINFO                              = 0 | ||||||
|  | 	X_TIME32_T_DEFINED                              = 0 | ||||||
|  | 	X_TIME64_T_DEFINED                              = 0 | ||||||
|  | 	X_TIME_T_DEFINED                                = 0 | ||||||
|  | 	X_UCRT                                          = 0 | ||||||
|  | 	X_UINTPTR_T_DEFINED                             = 0 | ||||||
|  | 	X_VA_LIST_DEFINED                               = 0 | ||||||
|  | 	X_W64                                           = 0 | ||||||
|  | 	X_WCHAR_T_DEFINED                               = 0 | ||||||
|  | 	X_WCTYPE_T_DEFINED                              = 0 | ||||||
|  | 	X_WIN32                                         = 1 | ||||||
|  | 	X_WIN32_WINNT                                   = 0x601 | ||||||
|  | 	X_WIN64                                         = 1 | ||||||
|  | 	X_WINT_T                                        = 0 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = uint16 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | type Va_list = X__builtin_va_list /* <builtin>:50:27 */ | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // This macro holds an monotonic increasing value, which indicates | ||||||
|  | //    a specific fix/patch is present on trunk.  This value isn't related to | ||||||
|  | //    minor/major version-macros.  It is increased on demand, if a big | ||||||
|  | //    fix was applied to trunk.  This macro gets just increased on trunk.  For | ||||||
|  | //    other branches its value won't be modified. | ||||||
|  |  | ||||||
|  | // mingw.org's version macros: these make gcc to define | ||||||
|  | //    MINGW32_SUPPORTS_MT_EH and to use the _CRT_MT global | ||||||
|  | //    and the __mingwthr_key_dtor() function from the MinGW | ||||||
|  | //    CRT in its private gthr-win32.h header. | ||||||
|  |  | ||||||
|  | // Set VC specific compiler target macros. | ||||||
|  |  | ||||||
|  | // MS does not prefix symbols by underscores for 64-bit. | ||||||
|  | // As we have to support older gcc version, which are using underscores | ||||||
|  | //       as symbol prefix for x64, we have to check here for the user label | ||||||
|  | //       prefix defined by gcc. | ||||||
|  |  | ||||||
|  | // Special case nameless struct/union. | ||||||
|  |  | ||||||
|  | // MinGW-w64 has some additional C99 printf/scanf feature support. | ||||||
|  | //    So we add some helper macros to ease recognition of them. | ||||||
|  |  | ||||||
|  | // If _FORTIFY_SOURCE is enabled, some inline functions may use | ||||||
|  | //    __builtin_va_arg_pack().  GCC may report an error if the address | ||||||
|  | //    of such a function is used.  Set _FORTIFY_VA_ARG=0 in this case. | ||||||
|  |  | ||||||
|  | // Enable workaround for ABI incompatibility on affected platforms | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.100%29.aspx | ||||||
|  | // Templates won't work in C, will break if secure API is not enabled, disabled | ||||||
|  |  | ||||||
|  | // https://blogs.msdn.com/b/sdl/archive/2010/02/16/vc-2010-and-memcpy.aspx?Redirected=true | ||||||
|  | // fallback on default implementation if we can't know the size of the destination | ||||||
|  |  | ||||||
|  | // Include _cygwin.h if we're building a Cygwin application. | ||||||
|  |  | ||||||
|  | // Target specific macro replacement for type "long".  In the Windows API, | ||||||
|  | //    the type long is always 32 bit, even if the target is 64 bit (LLP64). | ||||||
|  | //    On 64 bit Cygwin, the type long is 64 bit (LP64).  So, to get the right | ||||||
|  | //    sized definitions and declarations, all usage of type long in the Windows | ||||||
|  | //    headers have to be replaced by the below defined macro __LONG32. | ||||||
|  |  | ||||||
|  | // C/C++ specific language defines. | ||||||
|  |  | ||||||
|  | // Note the extern. This is needed to work around GCC's | ||||||
|  | // limitations in handling dllimport attribute. | ||||||
|  |  | ||||||
|  | // Attribute `nonnull' was valid as of gcc 3.3.  We don't use GCC's | ||||||
|  | //    variadiac macro facility, because variadic macros cause syntax | ||||||
|  | //    errors with  --traditional-cpp. | ||||||
|  |  | ||||||
|  | //  High byte is the major version, low byte is the minor. | ||||||
|  |  | ||||||
|  | // Allow both 0x1400 and 0xE00 to identify UCRT | ||||||
|  |  | ||||||
|  | // ===-------- vadefs.h ---------------------------------------------------=== | ||||||
|  | // | ||||||
|  | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||||||
|  | // See https://llvm.org/LICENSE.txt for license information. | ||||||
|  | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||||||
|  | // | ||||||
|  | //===-----------------------------------------------------------------------=== | ||||||
|  |  | ||||||
|  | // Only include this if we are aiming for MSVC compatibility. | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // for backward compatibility | ||||||
|  |  | ||||||
|  | type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */ | ||||||
|  |  | ||||||
|  | type Ssize_t = int64 /* corecrt.h:45:35 */ | ||||||
|  |  | ||||||
|  | type Rsize_t = Size_t /* corecrt.h:52:16 */ | ||||||
|  |  | ||||||
|  | type Intptr_t = int64 /* corecrt.h:62:35 */ | ||||||
|  |  | ||||||
|  | type Uintptr_t = uint64 /* corecrt.h:75:44 */ | ||||||
|  |  | ||||||
|  | type Wint_t = uint16   /* corecrt.h:106:24 */ | ||||||
|  | type Wctype_t = uint16 /* corecrt.h:107:24 */ | ||||||
|  |  | ||||||
|  | type Errno_t = int32 /* corecrt.h:113:13 */ | ||||||
|  |  | ||||||
|  | type X__time32_t = int32 /* corecrt.h:118:14 */ | ||||||
|  |  | ||||||
|  | type X__time64_t = int64 /* corecrt.h:123:35 */ | ||||||
|  |  | ||||||
|  | type Time_t = X__time64_t /* corecrt.h:138:20 */ | ||||||
|  |  | ||||||
|  | type Threadlocaleinfostruct = struct { | ||||||
|  | 	F_locale_pctype      uintptr | ||||||
|  | 	F_locale_mb_cur_max  int32 | ||||||
|  | 	F_locale_lc_codepage uint32 | ||||||
|  | } /* corecrt.h:430:1 */ | ||||||
|  |  | ||||||
|  | type Pthreadlocinfo = uintptr /* corecrt.h:432:39 */ | ||||||
|  | type Pthreadmbcinfo = uintptr /* corecrt.h:433:36 */ | ||||||
|  |  | ||||||
|  | type Localeinfo_struct = struct { | ||||||
|  | 	Flocinfo Pthreadlocinfo | ||||||
|  | 	Fmbcinfo Pthreadmbcinfo | ||||||
|  | } /* corecrt.h:436:9 */ | ||||||
|  |  | ||||||
|  | type X_locale_tstruct = Localeinfo_struct /* corecrt.h:439:3 */ | ||||||
|  | type X_locale_t = uintptr                 /* corecrt.h:439:19 */ | ||||||
|  |  | ||||||
|  | type TagLC_ID = struct { | ||||||
|  | 	FwLanguage uint16 | ||||||
|  | 	FwCountry  uint16 | ||||||
|  | 	FwCodePage uint16 | ||||||
|  | } /* corecrt.h:443:9 */ | ||||||
|  |  | ||||||
|  | type LC_ID = TagLC_ID  /* corecrt.h:447:3 */ | ||||||
|  | type LPLC_ID = uintptr /* corecrt.h:447:9 */ | ||||||
|  |  | ||||||
|  | type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:482:3 */ | ||||||
|  |  | ||||||
|  | // Posix thread extensions. | ||||||
|  |  | ||||||
|  | // Extension defined as by report VC 10+ defines error-numbers. | ||||||
|  |  | ||||||
|  | // Defined as WSAETIMEDOUT. | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_freebsd_386.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_freebsd_arm.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_freebsd_amd64.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_linux_ppc64le.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fcntl/fcntl_linux_riscv64.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_netbsd_arm.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_openbsd_386.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_openbsd_amd64.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_openbsd_arm64.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_windows_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fcntl/capi_windows_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fcntl\gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fcntl\fcntl_windows_arm64.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										766
									
								
								vendor/modernc.org/libc/fcntl/fcntl_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										766
									
								
								vendor/modernc.org/libc/fcntl/fcntl_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,766 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_freebsd_386.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	AT_EACCESS            = 0x0100     // fcntl.h:224:1: | ||||||
|  | 	AT_EMPTY_PATH         = 0x4000     // fcntl.h:234:1: | ||||||
|  | 	AT_FDCWD              = -100       // fcntl.h:219:1: | ||||||
|  | 	AT_REMOVEDIR          = 0x0800     // fcntl.h:228:1: | ||||||
|  | 	AT_RESOLVE_BENEATH    = 0x2000     // fcntl.h:232:1: | ||||||
|  | 	AT_SYMLINK_FOLLOW     = 0x0400     // fcntl.h:227:1: | ||||||
|  | 	AT_SYMLINK_NOFOLLOW   = 0x0200     // fcntl.h:226:1: | ||||||
|  | 	FAPPEND               = 8          // fcntl.h:193:1: | ||||||
|  | 	FASYNC                = 64         // fcntl.h:194:1: | ||||||
|  | 	FDSYNC                = 16777216   // fcntl.h:196:1: | ||||||
|  | 	FD_CLOEXEC            = 1          // fcntl.h:283:1: | ||||||
|  | 	FD_NONE               = -200       // fcntl.h:355:1: | ||||||
|  | 	FFSYNC                = 128        // fcntl.h:195:1: | ||||||
|  | 	FNDELAY               = 4          // fcntl.h:198:1: | ||||||
|  | 	FNONBLOCK             = 4          // fcntl.h:197:1: | ||||||
|  | 	FRDAHEAD              = 512        // fcntl.h:210:1: | ||||||
|  | 	FREAD                 = 0x0001     // fcntl.h:89:1: | ||||||
|  | 	FWRITE                = 0x0002     // fcntl.h:90:1: | ||||||
|  | 	F_ADD_SEALS           = 19         // fcntl.h:270:1: | ||||||
|  | 	F_CANCEL              = 5          // fcntl.h:291:1: | ||||||
|  | 	F_DUP2FD              = 10         // fcntl.h:255:1: | ||||||
|  | 	F_DUP2FD_CLOEXEC      = 18         // fcntl.h:269:1: | ||||||
|  | 	F_DUPFD               = 0          // fcntl.h:242:1: | ||||||
|  | 	F_DUPFD_CLOEXEC       = 17         // fcntl.h:266:1: | ||||||
|  | 	F_GETFD               = 1          // fcntl.h:243:1: | ||||||
|  | 	F_GETFL               = 3          // fcntl.h:245:1: | ||||||
|  | 	F_GETLK               = 11         // fcntl.h:257:1: | ||||||
|  | 	F_GETOWN              = 5          // fcntl.h:248:1: | ||||||
|  | 	F_GET_SEALS           = 20         // fcntl.h:271:1: | ||||||
|  | 	F_ISUNIONSTACK        = 21         // fcntl.h:272:1: | ||||||
|  | 	F_KINFO               = 22         // fcntl.h:273:1: | ||||||
|  | 	F_OGETLK              = 7          // fcntl.h:252:1: | ||||||
|  | 	F_OSETLK              = 8          // fcntl.h:253:1: | ||||||
|  | 	F_OSETLKW             = 9          // fcntl.h:254:1: | ||||||
|  | 	F_RDAHEAD             = 16         // fcntl.h:263:1: | ||||||
|  | 	F_RDLCK               = 1          // fcntl.h:286:1: | ||||||
|  | 	F_READAHEAD           = 15         // fcntl.h:262:1: | ||||||
|  | 	F_SEAL_GROW           = 0x0004     // fcntl.h:278:1: | ||||||
|  | 	F_SEAL_SEAL           = 0x0001     // fcntl.h:276:1: | ||||||
|  | 	F_SEAL_SHRINK         = 0x0002     // fcntl.h:277:1: | ||||||
|  | 	F_SEAL_WRITE          = 0x0008     // fcntl.h:279:1: | ||||||
|  | 	F_SETFD               = 2          // fcntl.h:244:1: | ||||||
|  | 	F_SETFL               = 4          // fcntl.h:246:1: | ||||||
|  | 	F_SETLK               = 12         // fcntl.h:258:1: | ||||||
|  | 	F_SETLKW              = 13         // fcntl.h:259:1: | ||||||
|  | 	F_SETLK_REMOTE        = 14         // fcntl.h:261:1: | ||||||
|  | 	F_SETOWN              = 6          // fcntl.h:249:1: | ||||||
|  | 	F_UNLCK               = 2          // fcntl.h:287:1: | ||||||
|  | 	F_UNLCKSYS            = 4          // fcntl.h:290:1: | ||||||
|  | 	F_WRLCK               = 3          // fcntl.h:288:1: | ||||||
|  | 	LOCK_EX               = 0x02       // fcntl.h:332:1: | ||||||
|  | 	LOCK_NB               = 0x04       // fcntl.h:333:1: | ||||||
|  | 	LOCK_SH               = 0x01       // fcntl.h:331:1: | ||||||
|  | 	LOCK_UN               = 0x08       // fcntl.h:334:1: | ||||||
|  | 	O_ACCMODE             = 0x0003     // fcntl.h:78:1: | ||||||
|  | 	O_APPEND              = 0x0008     // fcntl.h:93:1: | ||||||
|  | 	O_ASYNC               = 0x0040     // fcntl.h:97:1: | ||||||
|  | 	O_CLOEXEC             = 0x00100000 // fcntl.h:133:1: | ||||||
|  | 	O_CREAT               = 0x0200     // fcntl.h:104:1: | ||||||
|  | 	O_DIRECT              = 0x00010000 // fcntl.h:116:1: | ||||||
|  | 	O_DIRECTORY           = 0x00020000 // fcntl.h:120:1: | ||||||
|  | 	O_DSYNC               = 0x01000000 // fcntl.h:143:1: | ||||||
|  | 	O_EMPTY_PATH          = 0x02000000 // fcntl.h:145:1: | ||||||
|  | 	O_EXCL                = 0x0800     // fcntl.h:106:1: | ||||||
|  | 	O_EXEC                = 0x00040000 // fcntl.h:121:1: | ||||||
|  | 	O_EXLOCK              = 0x0020     // fcntl.h:96:1: | ||||||
|  | 	O_FSYNC               = 0x0080     // fcntl.h:98:1: | ||||||
|  | 	O_NDELAY              = 4          // fcntl.h:199:1: | ||||||
|  | 	O_NOCTTY              = 0x8000     // fcntl.h:112:1: | ||||||
|  | 	O_NOFOLLOW            = 0x0100     // fcntl.h:102:1: | ||||||
|  | 	O_NONBLOCK            = 0x0004     // fcntl.h:92:1: | ||||||
|  | 	O_PATH                = 0x00400000 // fcntl.h:138:1: | ||||||
|  | 	O_RDONLY              = 0x0000     // fcntl.h:75:1: | ||||||
|  | 	O_RDWR                = 0x0002     // fcntl.h:77:1: | ||||||
|  | 	O_RESOLVE_BENEATH     = 0x00800000 // fcntl.h:139:1: | ||||||
|  | 	O_SEARCH              = 262144     // fcntl.h:122:1: | ||||||
|  | 	O_SHLOCK              = 0x0010     // fcntl.h:95:1: | ||||||
|  | 	O_SYNC                = 0x0080     // fcntl.h:100:1: | ||||||
|  | 	O_TRUNC               = 0x0400     // fcntl.h:105:1: | ||||||
|  | 	O_TTY_INIT            = 0x00080000 // fcntl.h:131:1: | ||||||
|  | 	O_VERIFY              = 0x00200000 // fcntl.h:137:1: | ||||||
|  | 	O_WRONLY              = 0x0001     // fcntl.h:76:1: | ||||||
|  | 	POSIX_FADV_DONTNEED   = 4          // fcntl.h:345:1: | ||||||
|  | 	POSIX_FADV_NOREUSE    = 5          // fcntl.h:346:1: | ||||||
|  | 	POSIX_FADV_NORMAL     = 0          // fcntl.h:341:1: | ||||||
|  | 	POSIX_FADV_RANDOM     = 1          // fcntl.h:342:1: | ||||||
|  | 	POSIX_FADV_SEQUENTIAL = 2          // fcntl.h:343:1: | ||||||
|  | 	POSIX_FADV_WILLNEED   = 3          // fcntl.h:344:1: | ||||||
|  | 	X_FILE_OFFSET_BITS    = 64         // <builtin>:25:1: | ||||||
|  | 	X_ILP32               = 1          // <predefined>:1:1: | ||||||
|  | 	X_MACHINE__LIMITS_H_  = 0          // _limits.h:36:1: | ||||||
|  | 	X_MACHINE__TYPES_H_   = 0          // _types.h:42:1: | ||||||
|  | 	X_MODE_T_DECLARED     = 0          // fcntl.h:54:1: | ||||||
|  | 	X_Nonnull             = 0          // cdefs.h:790:1: | ||||||
|  | 	X_Null_unspecified    = 0          // cdefs.h:792:1: | ||||||
|  | 	X_Nullable            = 0          // cdefs.h:791:1: | ||||||
|  | 	X_OFF_T_DECLARED      = 0          // fcntl.h:59:1: | ||||||
|  | 	X_PID_T_DECLARED      = 0          // fcntl.h:64:1: | ||||||
|  | 	X_SYS_CDEFS_H_        = 0          // cdefs.h:39:1: | ||||||
|  | 	X_SYS_FCNTL_H_        = 0          // fcntl.h:41:1: | ||||||
|  | 	X_SYS__TYPES_H_       = 0          // _types.h:32:1: | ||||||
|  | 	I386                  = 1          // <predefined>:335:1: | ||||||
|  | 	Unix                  = 1          // <predefined>:336:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int32 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint32 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1983, 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)fcntl.h	8.3 (Berkeley) 1/21/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // This file includes the definitions for open and fcntl | ||||||
|  | // described by POSIX for <fcntl.h>; it also includes | ||||||
|  | // related kernel definitions. | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // Testing against Clang-specific extensions. | ||||||
|  |  | ||||||
|  | // This code has been put in place to help reduce the addition of | ||||||
|  | // compiler specific defines in FreeBSD code.  It helps to aid in | ||||||
|  | // having a compiler-agnostic source tree. | ||||||
|  |  | ||||||
|  | // Compiler memory barriers, specific to gcc and clang. | ||||||
|  |  | ||||||
|  | // XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky to use if it must work in non-ANSI | ||||||
|  | // mode -- there must be no spaces between its arguments, and for nested | ||||||
|  | // __CONCAT's, all the __CONCAT's must be at the left.  __CONCAT can also | ||||||
|  | // concatenate double-quoted strings produced by the __STRING macro, but | ||||||
|  | // this only works with ANSI C. | ||||||
|  | // | ||||||
|  | // __XSTRING is like __STRING, but it expands any macros in its argument | ||||||
|  | // first.  It is only available with ANSI C. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to help declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions, and unused variables.  They are | ||||||
|  | // null except for versions of gcc that are known to support the features | ||||||
|  | // properly (old versions of gcc-2 supported the dead and pure features | ||||||
|  | // in a different (wrong) way).  If we do not provide an implementation | ||||||
|  | // for a given compiler, let the compile fail if it is told to use | ||||||
|  | // a feature that we cannot live without. | ||||||
|  |  | ||||||
|  | // Keywords added in C11. | ||||||
|  |  | ||||||
|  | // Emulation of C11 _Generic().  Unlike the previously defined C11 | ||||||
|  | // keywords, it is not possible to implement this using exactly the same | ||||||
|  | // syntax.  Therefore implement something similar under the name | ||||||
|  | // __generic().  Unlike _Generic(), this macro can only distinguish | ||||||
|  | // between a single type, so it requires nested invocations to | ||||||
|  | // distinguish multiple cases. | ||||||
|  |  | ||||||
|  | // C99 Static array indices in function parameter declarations.  Syntax such as: | ||||||
|  | // void bar(int myArray[static 10]); | ||||||
|  | // is allowed in C99 but not in C++.  Define __min_size appropriately so | ||||||
|  | // headers using it can be compiled in either language.  Use like this: | ||||||
|  | // void bar(int myArray[__min_size(10)]); | ||||||
|  |  | ||||||
|  | // XXX: should use `#if __STDC_VERSION__ < 199901'. | ||||||
|  |  | ||||||
|  | // C++11 exposes a load of C99 stuff | ||||||
|  |  | ||||||
|  | // GCC 2.95 provides `__restrict' as an extension to C90 to support the | ||||||
|  | // C99-specific `restrict' type qualifier.  We happen to use `__restrict' as | ||||||
|  | // a way to define the `restrict' type qualifier without disturbing older | ||||||
|  | // software that is unaware of C99 keywords. | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h> | ||||||
|  | // require it. | ||||||
|  |  | ||||||
|  | // Given the pointer x to the member m of the struct s, return | ||||||
|  | // a pointer to the containing structure.  When using GCC, we first | ||||||
|  | // assign pointer x to a local variable, to check that its type is | ||||||
|  | // compatible with member m. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to declare that functions take printf-like | ||||||
|  | // or scanf-like arguments.  They are null except for versions of gcc | ||||||
|  | // that are known to support the features properly (old versions of gcc-2 | ||||||
|  | // didn't permit keeping the keywords out of the application namespace). | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros that rely on FreeBSD-specific extensions. | ||||||
|  |  | ||||||
|  | // Embed the rcs id of a source file in the resulting library.  Note that in | ||||||
|  | // more recent ELF binutils, we use .ident allowing the ID to be stripped. | ||||||
|  | // Usage: | ||||||
|  | //	__FBSDID("$FreeBSD$"); | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // The following definitions are an extension of the behavior originally | ||||||
|  | // implemented in <sys/_posix.h>, but with a different level of granularity. | ||||||
|  | // POSIX.1 requires that the macros we test be defined before any standard | ||||||
|  | // header file is included. | ||||||
|  | // | ||||||
|  | // Here's a quick run-down of the versions: | ||||||
|  | //  defined(_POSIX_SOURCE)		1003.1-1988 | ||||||
|  | //  _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | //  _POSIX_C_SOURCE == 2		1003.2-1992 C Language Binding Option | ||||||
|  | //  _POSIX_C_SOURCE == 199309		1003.1b-1993 | ||||||
|  | //  _POSIX_C_SOURCE == 199506		1003.1c-1995, 1003.1i-1995, | ||||||
|  | //					and the omnibus ISO/IEC 9945-1: 1996 | ||||||
|  | //  _POSIX_C_SOURCE == 200112		1003.1-2001 | ||||||
|  | //  _POSIX_C_SOURCE == 200809		1003.1-2008 | ||||||
|  | // | ||||||
|  | // In addition, the X/Open Portability Guide, which is now the Single UNIX | ||||||
|  | // Specification, defines a feature-test macro which indicates the version of | ||||||
|  | // that specification, and which subsumes _POSIX_C_SOURCE. | ||||||
|  | // | ||||||
|  | // Our macros begin with two underscores to avoid namespace screwage. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2. | ||||||
|  |  | ||||||
|  | // Deal with various X/Open Portability Guides and Single UNIX Spec. | ||||||
|  |  | ||||||
|  | // Deal with all versions of POSIX.  The ordering relative to the tests above is | ||||||
|  | // important. | ||||||
|  | // - | ||||||
|  | // Deal with _ANSI_SOURCE: | ||||||
|  | // If it is defined, and no other compilation environment is explicitly | ||||||
|  | // requested, then define our internal feature-test macros to zero.  This | ||||||
|  | // makes no difference to the preprocessor (undefined symbols in preprocessing | ||||||
|  | // expressions are defined to have value zero), but makes it more convenient for | ||||||
|  | // a test program to print out the values. | ||||||
|  | // | ||||||
|  | // If a program mistakenly defines _ANSI_SOURCE and some other macro such as | ||||||
|  | // _POSIX_C_SOURCE, we will assume that it wants the broader compilation | ||||||
|  | // environment (and in fact we will never get here). | ||||||
|  |  | ||||||
|  | // User override __EXT1_VISIBLE | ||||||
|  |  | ||||||
|  | // Old versions of GCC use non-standard ARM arch symbols; acle-compat.h | ||||||
|  | // translates them to __ARM_ARCH and the modern feature symbols defined by ARM. | ||||||
|  |  | ||||||
|  | // Nullability qualifiers: currently only supported by Clang. | ||||||
|  |  | ||||||
|  | // Type Safety Checking | ||||||
|  | // | ||||||
|  | // Clang provides additional attributes to enable checking type safety | ||||||
|  | // properties that cannot be enforced by the C type system. | ||||||
|  |  | ||||||
|  | // Lock annotations. | ||||||
|  | // | ||||||
|  | // Clang provides support for doing basic thread-safety tests at | ||||||
|  | // compile-time, by marking which locks will/should be held when | ||||||
|  | // entering/leaving a functions. | ||||||
|  | // | ||||||
|  | // Furthermore, it is also possible to annotate variables and structure | ||||||
|  | // members to enforce that they are only accessed when certain locks are | ||||||
|  | // held. | ||||||
|  |  | ||||||
|  | // Structure implements a lock. | ||||||
|  |  | ||||||
|  | // Function acquires an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function attempts to acquire an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function releases a lock. | ||||||
|  |  | ||||||
|  | // Function asserts that an exclusive or shared lock is held. | ||||||
|  |  | ||||||
|  | // Function requires that an exclusive or shared lock is or is not held. | ||||||
|  |  | ||||||
|  | // Function should not be analyzed. | ||||||
|  |  | ||||||
|  | // Function or variable should not be sanitized, e.g., by AddressSanitizer. | ||||||
|  | // GCC has the nosanitize attribute, but as a function attribute only, and | ||||||
|  | // warns on use as a variable attribute. | ||||||
|  |  | ||||||
|  | // Guard variables and structure members by lock. | ||||||
|  |  | ||||||
|  | // Alignment builtins for better type checking and improved code generation. | ||||||
|  | // Provide fallback versions for other compilers (GCC/Clang < 10): | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-2-Clause-FreeBSD | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // This file is in the public domain. | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-4-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. All advertising materials mentioning features or use of this software | ||||||
|  | //    must display the following acknowledgement: | ||||||
|  | //	This product includes software developed by the University of | ||||||
|  | //	California, Berkeley and its contributors. | ||||||
|  | // 4. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	From: @(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  | //	From: @(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // This file is in the public domain. | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1988, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)limits.h	8.3 (Berkeley) 1/4/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // According to ANSI (section 2.2.4.2), the values below must be usable by | ||||||
|  | // #if preprocessing directives.  Additionally, the expression must have the | ||||||
|  | // same type as would an expression that is an object of the corresponding | ||||||
|  | // type converted according to the integral promotions.  The subtraction for | ||||||
|  | // INT_MIN, etc., is so the value is not unsigned; e.g., 0x80000000 is an | ||||||
|  | // unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2). | ||||||
|  |  | ||||||
|  | // max value for an unsigned long long | ||||||
|  |  | ||||||
|  | // Minimum signal stack size. | ||||||
|  |  | ||||||
|  | // Basic types upon which most other types are built. | ||||||
|  | type X__int8_t = int8     /* _types.h:55:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:56:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:57:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:58:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:59:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:60:23 */ | ||||||
|  |  | ||||||
|  | type X__int64_t = int64 /* _types.h:66:20 */ | ||||||
|  |  | ||||||
|  | type X__uint64_t = uint64 /* _types.h:68:28 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__clock_t = uint32             /* _types.h:84:23 */ | ||||||
|  | type X__critical_t = X__int32_t      /* _types.h:85:19 */ | ||||||
|  | type X__double_t = float64           /* _types.h:87:21 */ | ||||||
|  | type X__float_t = float64            /* _types.h:88:21 */ | ||||||
|  | type X__intfptr_t = X__int32_t       /* _types.h:90:19 */ | ||||||
|  | type X__intptr_t = X__int32_t        /* _types.h:91:19 */ | ||||||
|  | type X__intmax_t = X__int64_t        /* _types.h:93:19 */ | ||||||
|  | type X__int_fast8_t = X__int32_t     /* _types.h:94:19 */ | ||||||
|  | type X__int_fast16_t = X__int32_t    /* _types.h:95:19 */ | ||||||
|  | type X__int_fast32_t = X__int32_t    /* _types.h:96:19 */ | ||||||
|  | type X__int_fast64_t = X__int64_t    /* _types.h:97:19 */ | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:98:18 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:99:19 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:100:19 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:101:19 */ | ||||||
|  | type X__ptrdiff_t = X__int32_t       /* _types.h:112:19 */ | ||||||
|  | type X__register_t = X__int32_t      /* _types.h:113:19 */ | ||||||
|  | type X__segsz_t = X__int32_t         /* _types.h:114:19 */ | ||||||
|  | type X__size_t = X__uint32_t         /* _types.h:115:20 */ | ||||||
|  | type X__ssize_t = X__int32_t         /* _types.h:116:19 */ | ||||||
|  | type X__time_t = X__int32_t          /* _types.h:117:19 */ | ||||||
|  | type X__uintfptr_t = X__uint32_t     /* _types.h:118:20 */ | ||||||
|  | type X__uintptr_t = X__uint32_t      /* _types.h:119:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t      /* _types.h:121:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t   /* _types.h:122:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t  /* _types.h:123:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t  /* _types.h:124:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t  /* _types.h:125:20 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:126:19 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:127:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:128:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:129:20 */ | ||||||
|  | type X__u_register_t = X__uint32_t   /* _types.h:136:20 */ | ||||||
|  | type X__vm_offset_t = X__uint32_t    /* _types.h:137:20 */ | ||||||
|  | type X__vm_paddr_t = X__uint64_t     /* _types.h:138:20 */ | ||||||
|  | type X__vm_size_t = X__uint32_t      /* _types.h:139:20 */ | ||||||
|  | type X___wchar_t = int32             /* _types.h:141:14 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // file block size | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:41:19 */ // file block count | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // clock_gettime()... | ||||||
|  | type X__fflags_t = X__uint32_t   /* _types.h:43:20 */ // file flags | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */ | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */ | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:46:20 */ | ||||||
|  | type X__id_t = X__int64_t        /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:48:20 */ // inode number | ||||||
|  | type X__key_t = int32            /* _types.h:49:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__lwpid_t = X__int32_t     /* _types.h:50:19 */ // Thread ID (a.k.a. LWP) | ||||||
|  | type X__mode_t = X__uint16_t     /* _types.h:51:20 */ // permissions | ||||||
|  | type X__accmode_t = int32        /* _types.h:52:14 */ // access permissions | ||||||
|  | type X__nl_item = int32          /* _types.h:53:14 */ | ||||||
|  | type X__nlink_t = X__uint64_t    /* _types.h:54:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:55:19 */ // file offset | ||||||
|  | type X__off64_t = X__int64_t     /* _types.h:56:19 */ // file offset (alias) | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process [group] | ||||||
|  | type X__rlim_t = X__int64_t      /* _types.h:58:19 */ // resource limit - intentionally | ||||||
|  | // signed, because of legacy code | ||||||
|  | // that uses -1 for RLIM_INFINITY | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:61:19 */ | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:62:20 */ | ||||||
|  | type X__suseconds_t = int32      /* _types.h:63:15 */ // microseconds (signed) | ||||||
|  | type X__timer_t = uintptr        /* _types.h:64:24 */ // timer_gettime()... | ||||||
|  | type X__mqd_t = uintptr          /* _types.h:65:21 */ // mq_open()... | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:66:20 */ | ||||||
|  | type X__useconds_t = uint32      /* _types.h:67:22 */ // microseconds (unsigned) | ||||||
|  | type X__cpuwhich_t = int32       /* _types.h:68:14 */ // which parameter for cpuset. | ||||||
|  | type X__cpulevel_t = int32       /* _types.h:69:14 */ // level parameter for cpuset. | ||||||
|  | type X__cpusetid_t = int32       /* _types.h:70:14 */ // cpuset identifier. | ||||||
|  | type X__daddr_t = X__int64_t     /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc | ||||||
|  |  | ||||||
|  | // Unusual type definitions. | ||||||
|  | // rune_t is declared to be an “int” instead of the more natural | ||||||
|  | // “unsigned long” or “long”.  Two things are happening here.  It is not | ||||||
|  | // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also, | ||||||
|  | // it looks like 10646 will be a 31 bit standard.  This means that if your | ||||||
|  | // ints cannot hold 32 bits, you will be in trouble.  The reason an int was | ||||||
|  | // chosen over a long is that the is*() and to*() routines take ints (says | ||||||
|  | // ANSI C), but they use __ct_rune_t instead of int. | ||||||
|  | // | ||||||
|  | // NOTE: rune_t is not covered by ANSI nor other standards, and should not | ||||||
|  | // be instantiated outside of lib/libc/locale.  Use wchar_t.  wint_t and | ||||||
|  | // rune_t must be the same type.  Also, wint_t should be able to hold all | ||||||
|  | // members of the largest character set plus one extra value (WEOF), and | ||||||
|  | // must be at least 16 bits. | ||||||
|  | type X__ct_rune_t = int32     /* _types.h:91:14 */ // arg type for ctype funcs | ||||||
|  | type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above) | ||||||
|  | type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above) | ||||||
|  |  | ||||||
|  | // Clang already provides these types as built-ins, but only in C++ mode. | ||||||
|  | type X__char16_t = X__uint_least16_t /* _types.h:97:26 */ | ||||||
|  | type X__char32_t = X__uint_least32_t /* _types.h:98:26 */ | ||||||
|  | // In C++11, char16_t and char32_t are built-in types. | ||||||
|  |  | ||||||
|  | type X__max_align_t = struct { | ||||||
|  | 	F__max_align1 int64 | ||||||
|  | 	F__max_align2 float64 | ||||||
|  | } /* _types.h:111:3 */ | ||||||
|  |  | ||||||
|  | type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number | ||||||
|  |  | ||||||
|  | type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state during multibyte | ||||||
|  | // stream conversions. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint32 | ||||||
|  | 	F__mbstate8  [128]int8 | ||||||
|  | } /* _types.h:124:3 */ | ||||||
|  |  | ||||||
|  | type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */ | ||||||
|  |  | ||||||
|  | // Types for varargs. These are all provided by builtin types these | ||||||
|  | // days, so centralize their definition. | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc | ||||||
|  | type X__gnuc_va_list = X__va_list    /* _types.h:140:20 */ // compatibility w/GNU headers | ||||||
|  |  | ||||||
|  | // When the following macro is defined, the system uses 64-bit inode numbers. | ||||||
|  | // Programs can use this to avoid including <sys/param.h>, with its associated | ||||||
|  | // namespace pollution. | ||||||
|  |  | ||||||
|  | type Mode_t = X__mode_t /* fcntl.h:53:18 */ | ||||||
|  |  | ||||||
|  | type Off_t = X__off_t /* fcntl.h:58:18 */ | ||||||
|  |  | ||||||
|  | type Pid_t = X__pid_t /* fcntl.h:63:18 */ | ||||||
|  |  | ||||||
|  | // File status flags: these are used by open(2), fcntl(2). | ||||||
|  | // They are also used (indirectly) in the kernel file structure f_flags, | ||||||
|  | // which is a superset of the open/fcntl flags.  Open flags and f_flags | ||||||
|  | // are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags). | ||||||
|  | // Open/fcntl flags begin with O_; kernel-internal flags begin with F. | ||||||
|  | // open-only flags | ||||||
|  |  | ||||||
|  | // Kernel encoding of open mode; separate read and write bits that are | ||||||
|  | // independently testable: 1 greater than the above. | ||||||
|  | // | ||||||
|  | // XXX | ||||||
|  | // FREAD and FWRITE are excluded from the #ifdef _KERNEL so that TIOCFLUSH, | ||||||
|  | // which was documented to use FREAD/FWRITE, continues to work. | ||||||
|  |  | ||||||
|  | // Defined by POSIX 1003.1; BSD default, but must be distinct from O_RDONLY. | ||||||
|  |  | ||||||
|  | // Attempt to bypass buffer cache | ||||||
|  |  | ||||||
|  | // Defined by POSIX 1003.1-2008; BSD default, but reserve for future use. | ||||||
|  |  | ||||||
|  | // XXX missing O_RSYNC. | ||||||
|  |  | ||||||
|  | // The O_* flags used to have only F* names, which were used in the kernel | ||||||
|  | // and by fcntl.  We retain the F* names for the kernel f_flag field | ||||||
|  | // and for backward compatibility for fcntl.  These flags are deprecated. | ||||||
|  |  | ||||||
|  | // Historically, we ran out of bits in f_flag (which was once a short). | ||||||
|  | // However, the flag bits not set in FMASK are only meaningful in the | ||||||
|  | // initial open syscall.  Those bits were thus given a | ||||||
|  | // different meaning for fcntl(2). | ||||||
|  | // Read ahead | ||||||
|  |  | ||||||
|  | // Magic value that specify the use of the current working directory | ||||||
|  | // to determine the target of relative file paths in the openat() and | ||||||
|  | // similar syscalls. | ||||||
|  |  | ||||||
|  | // Miscellaneous flags for the *at() syscalls. | ||||||
|  | /* #define AT_UNUSED1		0x1000 */ // Was AT_BENEATH | ||||||
|  |  | ||||||
|  | // Constants used for fcntl(2) | ||||||
|  |  | ||||||
|  | // command values | ||||||
|  |  | ||||||
|  | // Seals (F_ADD_SEALS, F_GET_SEALS). | ||||||
|  |  | ||||||
|  | // file descriptor flags (F_GETFD, F_SETFD) | ||||||
|  |  | ||||||
|  | // record locking flags (F_GETLK, F_SETLK, F_SETLKW) | ||||||
|  |  | ||||||
|  | // Advisory file segment locking data type - | ||||||
|  | // information passed to system by user | ||||||
|  | type Flock = struct { | ||||||
|  | 	Fl_start  Off_t | ||||||
|  | 	Fl_len    Off_t | ||||||
|  | 	Fl_pid    Pid_t | ||||||
|  | 	Fl_type   int16 | ||||||
|  | 	Fl_whence int16 | ||||||
|  | 	Fl_sysid  int32 | ||||||
|  | } /* fcntl.h:306:1 */ | ||||||
|  |  | ||||||
|  | // Old advisory file segment locking data type, | ||||||
|  | // before adding l_sysid. | ||||||
|  | type X__oflock = struct { | ||||||
|  | 	Fl_start  Off_t | ||||||
|  | 	Fl_len    Off_t | ||||||
|  | 	Fl_pid    Pid_t | ||||||
|  | 	Fl_type   int16 | ||||||
|  | 	Fl_whence int16 | ||||||
|  | } /* fcntl.h:320:1 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										716
									
								
								vendor/modernc.org/libc/fcntl/fcntl_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										716
									
								
								vendor/modernc.org/libc/fcntl/fcntl_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,716 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_freebsd_arm.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	AT_EACCESS            = 0x0100     // fcntl.h:224:1: | ||||||
|  | 	AT_EMPTY_PATH         = 0x4000     // fcntl.h:234:1: | ||||||
|  | 	AT_FDCWD              = -100       // fcntl.h:219:1: | ||||||
|  | 	AT_REMOVEDIR          = 0x0800     // fcntl.h:228:1: | ||||||
|  | 	AT_RESOLVE_BENEATH    = 0x2000     // fcntl.h:232:1: | ||||||
|  | 	AT_SYMLINK_FOLLOW     = 0x0400     // fcntl.h:227:1: | ||||||
|  | 	AT_SYMLINK_NOFOLLOW   = 0x0200     // fcntl.h:226:1: | ||||||
|  | 	FAPPEND               = 8          // fcntl.h:193:1: | ||||||
|  | 	FASYNC                = 64         // fcntl.h:194:1: | ||||||
|  | 	FDSYNC                = 16777216   // fcntl.h:196:1: | ||||||
|  | 	FD_CLOEXEC            = 1          // fcntl.h:283:1: | ||||||
|  | 	FD_NONE               = -200       // fcntl.h:355:1: | ||||||
|  | 	FFSYNC                = 128        // fcntl.h:195:1: | ||||||
|  | 	FNDELAY               = 4          // fcntl.h:198:1: | ||||||
|  | 	FNONBLOCK             = 4          // fcntl.h:197:1: | ||||||
|  | 	FRDAHEAD              = 512        // fcntl.h:210:1: | ||||||
|  | 	FREAD                 = 0x0001     // fcntl.h:89:1: | ||||||
|  | 	FWRITE                = 0x0002     // fcntl.h:90:1: | ||||||
|  | 	F_ADD_SEALS           = 19         // fcntl.h:270:1: | ||||||
|  | 	F_CANCEL              = 5          // fcntl.h:291:1: | ||||||
|  | 	F_DUP2FD              = 10         // fcntl.h:255:1: | ||||||
|  | 	F_DUP2FD_CLOEXEC      = 18         // fcntl.h:269:1: | ||||||
|  | 	F_DUPFD               = 0          // fcntl.h:242:1: | ||||||
|  | 	F_DUPFD_CLOEXEC       = 17         // fcntl.h:266:1: | ||||||
|  | 	F_GETFD               = 1          // fcntl.h:243:1: | ||||||
|  | 	F_GETFL               = 3          // fcntl.h:245:1: | ||||||
|  | 	F_GETLK               = 11         // fcntl.h:257:1: | ||||||
|  | 	F_GETOWN              = 5          // fcntl.h:248:1: | ||||||
|  | 	F_GET_SEALS           = 20         // fcntl.h:271:1: | ||||||
|  | 	F_ISUNIONSTACK        = 21         // fcntl.h:272:1: | ||||||
|  | 	F_KINFO               = 22         // fcntl.h:273:1: | ||||||
|  | 	F_OGETLK              = 7          // fcntl.h:252:1: | ||||||
|  | 	F_OSETLK              = 8          // fcntl.h:253:1: | ||||||
|  | 	F_OSETLKW             = 9          // fcntl.h:254:1: | ||||||
|  | 	F_RDAHEAD             = 16         // fcntl.h:263:1: | ||||||
|  | 	F_RDLCK               = 1          // fcntl.h:286:1: | ||||||
|  | 	F_READAHEAD           = 15         // fcntl.h:262:1: | ||||||
|  | 	F_SEAL_GROW           = 0x0004     // fcntl.h:278:1: | ||||||
|  | 	F_SEAL_SEAL           = 0x0001     // fcntl.h:276:1: | ||||||
|  | 	F_SEAL_SHRINK         = 0x0002     // fcntl.h:277:1: | ||||||
|  | 	F_SEAL_WRITE          = 0x0008     // fcntl.h:279:1: | ||||||
|  | 	F_SETFD               = 2          // fcntl.h:244:1: | ||||||
|  | 	F_SETFL               = 4          // fcntl.h:246:1: | ||||||
|  | 	F_SETLK               = 12         // fcntl.h:258:1: | ||||||
|  | 	F_SETLKW              = 13         // fcntl.h:259:1: | ||||||
|  | 	F_SETLK_REMOTE        = 14         // fcntl.h:261:1: | ||||||
|  | 	F_SETOWN              = 6          // fcntl.h:249:1: | ||||||
|  | 	F_UNLCK               = 2          // fcntl.h:287:1: | ||||||
|  | 	F_UNLCKSYS            = 4          // fcntl.h:290:1: | ||||||
|  | 	F_WRLCK               = 3          // fcntl.h:288:1: | ||||||
|  | 	LOCK_EX               = 0x02       // fcntl.h:332:1: | ||||||
|  | 	LOCK_NB               = 0x04       // fcntl.h:333:1: | ||||||
|  | 	LOCK_SH               = 0x01       // fcntl.h:331:1: | ||||||
|  | 	LOCK_UN               = 0x08       // fcntl.h:334:1: | ||||||
|  | 	O_ACCMODE             = 0x0003     // fcntl.h:78:1: | ||||||
|  | 	O_APPEND              = 0x0008     // fcntl.h:93:1: | ||||||
|  | 	O_ASYNC               = 0x0040     // fcntl.h:97:1: | ||||||
|  | 	O_CLOEXEC             = 0x00100000 // fcntl.h:133:1: | ||||||
|  | 	O_CREAT               = 0x0200     // fcntl.h:104:1: | ||||||
|  | 	O_DIRECT              = 0x00010000 // fcntl.h:116:1: | ||||||
|  | 	O_DIRECTORY           = 0x00020000 // fcntl.h:120:1: | ||||||
|  | 	O_DSYNC               = 0x01000000 // fcntl.h:143:1: | ||||||
|  | 	O_EMPTY_PATH          = 0x02000000 // fcntl.h:145:1: | ||||||
|  | 	O_EXCL                = 0x0800     // fcntl.h:106:1: | ||||||
|  | 	O_EXEC                = 0x00040000 // fcntl.h:121:1: | ||||||
|  | 	O_EXLOCK              = 0x0020     // fcntl.h:96:1: | ||||||
|  | 	O_FSYNC               = 0x0080     // fcntl.h:98:1: | ||||||
|  | 	O_NDELAY              = 4          // fcntl.h:199:1: | ||||||
|  | 	O_NOCTTY              = 0x8000     // fcntl.h:112:1: | ||||||
|  | 	O_NOFOLLOW            = 0x0100     // fcntl.h:102:1: | ||||||
|  | 	O_NONBLOCK            = 0x0004     // fcntl.h:92:1: | ||||||
|  | 	O_PATH                = 0x00400000 // fcntl.h:138:1: | ||||||
|  | 	O_RDONLY              = 0x0000     // fcntl.h:75:1: | ||||||
|  | 	O_RDWR                = 0x0002     // fcntl.h:77:1: | ||||||
|  | 	O_RESOLVE_BENEATH     = 0x00800000 // fcntl.h:139:1: | ||||||
|  | 	O_SEARCH              = 262144     // fcntl.h:122:1: | ||||||
|  | 	O_SHLOCK              = 0x0010     // fcntl.h:95:1: | ||||||
|  | 	O_SYNC                = 0x0080     // fcntl.h:100:1: | ||||||
|  | 	O_TRUNC               = 0x0400     // fcntl.h:105:1: | ||||||
|  | 	O_TTY_INIT            = 0x00080000 // fcntl.h:131:1: | ||||||
|  | 	O_VERIFY              = 0x00200000 // fcntl.h:137:1: | ||||||
|  | 	O_WRONLY              = 0x0001     // fcntl.h:76:1: | ||||||
|  | 	POSIX_FADV_DONTNEED   = 4          // fcntl.h:345:1: | ||||||
|  | 	POSIX_FADV_NOREUSE    = 5          // fcntl.h:346:1: | ||||||
|  | 	POSIX_FADV_NORMAL     = 0          // fcntl.h:341:1: | ||||||
|  | 	POSIX_FADV_RANDOM     = 1          // fcntl.h:342:1: | ||||||
|  | 	POSIX_FADV_SEQUENTIAL = 2          // fcntl.h:343:1: | ||||||
|  | 	POSIX_FADV_WILLNEED   = 3          // fcntl.h:344:1: | ||||||
|  | 	X_FILE_OFFSET_BITS    = 64         // <builtin>:25:1: | ||||||
|  | 	X_ILP32               = 1          // <predefined>:1:1: | ||||||
|  | 	X_MACHINE__TYPES_H_   = 0          // _types.h:42:1: | ||||||
|  | 	X_MODE_T_DECLARED     = 0          // fcntl.h:54:1: | ||||||
|  | 	X_Nonnull             = 0          // cdefs.h:790:1: | ||||||
|  | 	X_Null_unspecified    = 0          // cdefs.h:792:1: | ||||||
|  | 	X_Nullable            = 0          // cdefs.h:791:1: | ||||||
|  | 	X_OFF_T_DECLARED      = 0          // fcntl.h:59:1: | ||||||
|  | 	X_PID_T_DECLARED      = 0          // fcntl.h:64:1: | ||||||
|  | 	X_SYS_CDEFS_H_        = 0          // cdefs.h:39:1: | ||||||
|  | 	X_SYS_FCNTL_H_        = 0          // fcntl.h:41:1: | ||||||
|  | 	X_SYS__TYPES_H_       = 0          // _types.h:32:1: | ||||||
|  | 	Unix                  = 1          // <predefined>:367:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int32 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint32 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = uint32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1983, 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)fcntl.h	8.3 (Berkeley) 1/21/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // This file includes the definitions for open and fcntl | ||||||
|  | // described by POSIX for <fcntl.h>; it also includes | ||||||
|  | // related kernel definitions. | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // Testing against Clang-specific extensions. | ||||||
|  |  | ||||||
|  | // This code has been put in place to help reduce the addition of | ||||||
|  | // compiler specific defines in FreeBSD code.  It helps to aid in | ||||||
|  | // having a compiler-agnostic source tree. | ||||||
|  |  | ||||||
|  | // Compiler memory barriers, specific to gcc and clang. | ||||||
|  |  | ||||||
|  | // XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky to use if it must work in non-ANSI | ||||||
|  | // mode -- there must be no spaces between its arguments, and for nested | ||||||
|  | // __CONCAT's, all the __CONCAT's must be at the left.  __CONCAT can also | ||||||
|  | // concatenate double-quoted strings produced by the __STRING macro, but | ||||||
|  | // this only works with ANSI C. | ||||||
|  | // | ||||||
|  | // __XSTRING is like __STRING, but it expands any macros in its argument | ||||||
|  | // first.  It is only available with ANSI C. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to help declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions, and unused variables.  They are | ||||||
|  | // null except for versions of gcc that are known to support the features | ||||||
|  | // properly (old versions of gcc-2 supported the dead and pure features | ||||||
|  | // in a different (wrong) way).  If we do not provide an implementation | ||||||
|  | // for a given compiler, let the compile fail if it is told to use | ||||||
|  | // a feature that we cannot live without. | ||||||
|  |  | ||||||
|  | // Keywords added in C11. | ||||||
|  |  | ||||||
|  | // Emulation of C11 _Generic().  Unlike the previously defined C11 | ||||||
|  | // keywords, it is not possible to implement this using exactly the same | ||||||
|  | // syntax.  Therefore implement something similar under the name | ||||||
|  | // __generic().  Unlike _Generic(), this macro can only distinguish | ||||||
|  | // between a single type, so it requires nested invocations to | ||||||
|  | // distinguish multiple cases. | ||||||
|  |  | ||||||
|  | // C99 Static array indices in function parameter declarations.  Syntax such as: | ||||||
|  | // void bar(int myArray[static 10]); | ||||||
|  | // is allowed in C99 but not in C++.  Define __min_size appropriately so | ||||||
|  | // headers using it can be compiled in either language.  Use like this: | ||||||
|  | // void bar(int myArray[__min_size(10)]); | ||||||
|  |  | ||||||
|  | // XXX: should use `#if __STDC_VERSION__ < 199901'. | ||||||
|  |  | ||||||
|  | // C++11 exposes a load of C99 stuff | ||||||
|  |  | ||||||
|  | // GCC 2.95 provides `__restrict' as an extension to C90 to support the | ||||||
|  | // C99-specific `restrict' type qualifier.  We happen to use `__restrict' as | ||||||
|  | // a way to define the `restrict' type qualifier without disturbing older | ||||||
|  | // software that is unaware of C99 keywords. | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h> | ||||||
|  | // require it. | ||||||
|  |  | ||||||
|  | // Given the pointer x to the member m of the struct s, return | ||||||
|  | // a pointer to the containing structure.  When using GCC, we first | ||||||
|  | // assign pointer x to a local variable, to check that its type is | ||||||
|  | // compatible with member m. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to declare that functions take printf-like | ||||||
|  | // or scanf-like arguments.  They are null except for versions of gcc | ||||||
|  | // that are known to support the features properly (old versions of gcc-2 | ||||||
|  | // didn't permit keeping the keywords out of the application namespace). | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros that rely on FreeBSD-specific extensions. | ||||||
|  |  | ||||||
|  | // Embed the rcs id of a source file in the resulting library.  Note that in | ||||||
|  | // more recent ELF binutils, we use .ident allowing the ID to be stripped. | ||||||
|  | // Usage: | ||||||
|  | //	__FBSDID("$FreeBSD$"); | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // The following definitions are an extension of the behavior originally | ||||||
|  | // implemented in <sys/_posix.h>, but with a different level of granularity. | ||||||
|  | // POSIX.1 requires that the macros we test be defined before any standard | ||||||
|  | // header file is included. | ||||||
|  | // | ||||||
|  | // Here's a quick run-down of the versions: | ||||||
|  | //  defined(_POSIX_SOURCE)		1003.1-1988 | ||||||
|  | //  _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | //  _POSIX_C_SOURCE == 2		1003.2-1992 C Language Binding Option | ||||||
|  | //  _POSIX_C_SOURCE == 199309		1003.1b-1993 | ||||||
|  | //  _POSIX_C_SOURCE == 199506		1003.1c-1995, 1003.1i-1995, | ||||||
|  | //					and the omnibus ISO/IEC 9945-1: 1996 | ||||||
|  | //  _POSIX_C_SOURCE == 200112		1003.1-2001 | ||||||
|  | //  _POSIX_C_SOURCE == 200809		1003.1-2008 | ||||||
|  | // | ||||||
|  | // In addition, the X/Open Portability Guide, which is now the Single UNIX | ||||||
|  | // Specification, defines a feature-test macro which indicates the version of | ||||||
|  | // that specification, and which subsumes _POSIX_C_SOURCE. | ||||||
|  | // | ||||||
|  | // Our macros begin with two underscores to avoid namespace screwage. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2. | ||||||
|  |  | ||||||
|  | // Deal with various X/Open Portability Guides and Single UNIX Spec. | ||||||
|  |  | ||||||
|  | // Deal with all versions of POSIX.  The ordering relative to the tests above is | ||||||
|  | // important. | ||||||
|  | // - | ||||||
|  | // Deal with _ANSI_SOURCE: | ||||||
|  | // If it is defined, and no other compilation environment is explicitly | ||||||
|  | // requested, then define our internal feature-test macros to zero.  This | ||||||
|  | // makes no difference to the preprocessor (undefined symbols in preprocessing | ||||||
|  | // expressions are defined to have value zero), but makes it more convenient for | ||||||
|  | // a test program to print out the values. | ||||||
|  | // | ||||||
|  | // If a program mistakenly defines _ANSI_SOURCE and some other macro such as | ||||||
|  | // _POSIX_C_SOURCE, we will assume that it wants the broader compilation | ||||||
|  | // environment (and in fact we will never get here). | ||||||
|  |  | ||||||
|  | // User override __EXT1_VISIBLE | ||||||
|  |  | ||||||
|  | // Old versions of GCC use non-standard ARM arch symbols; acle-compat.h | ||||||
|  | // translates them to __ARM_ARCH and the modern feature symbols defined by ARM. | ||||||
|  |  | ||||||
|  | // Nullability qualifiers: currently only supported by Clang. | ||||||
|  |  | ||||||
|  | // Type Safety Checking | ||||||
|  | // | ||||||
|  | // Clang provides additional attributes to enable checking type safety | ||||||
|  | // properties that cannot be enforced by the C type system. | ||||||
|  |  | ||||||
|  | // Lock annotations. | ||||||
|  | // | ||||||
|  | // Clang provides support for doing basic thread-safety tests at | ||||||
|  | // compile-time, by marking which locks will/should be held when | ||||||
|  | // entering/leaving a functions. | ||||||
|  | // | ||||||
|  | // Furthermore, it is also possible to annotate variables and structure | ||||||
|  | // members to enforce that they are only accessed when certain locks are | ||||||
|  | // held. | ||||||
|  |  | ||||||
|  | // Structure implements a lock. | ||||||
|  |  | ||||||
|  | // Function acquires an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function attempts to acquire an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function releases a lock. | ||||||
|  |  | ||||||
|  | // Function asserts that an exclusive or shared lock is held. | ||||||
|  |  | ||||||
|  | // Function requires that an exclusive or shared lock is or is not held. | ||||||
|  |  | ||||||
|  | // Function should not be analyzed. | ||||||
|  |  | ||||||
|  | // Function or variable should not be sanitized, e.g., by AddressSanitizer. | ||||||
|  | // GCC has the nosanitize attribute, but as a function attribute only, and | ||||||
|  | // warns on use as a variable attribute. | ||||||
|  |  | ||||||
|  | // Guard variables and structure members by lock. | ||||||
|  |  | ||||||
|  | // Alignment builtins for better type checking and improved code generation. | ||||||
|  | // Provide fallback versions for other compilers (GCC/Clang < 10): | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-2-Clause-FreeBSD | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-4-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. All advertising materials mentioning features or use of this software | ||||||
|  | //    must display the following acknowledgement: | ||||||
|  | //	This product includes software developed by the University of | ||||||
|  | //	California, Berkeley and its contributors. | ||||||
|  | // 4. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	From: @(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  | //	From: @(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // Basic types upon which most other types are built. | ||||||
|  | type X__int8_t = int8     /* _types.h:51:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:52:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:53:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:54:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:55:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:56:23 */ | ||||||
|  |  | ||||||
|  | // LONGLONG | ||||||
|  | type X__int64_t = int64 /* _types.h:61:20 */ | ||||||
|  |  | ||||||
|  | // LONGLONG | ||||||
|  | type X__uint64_t = uint64 /* _types.h:66:28 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__clock_t = X__uint32_t        /* _types.h:71:20 */ // clock()... | ||||||
|  | type X__critical_t = X__int32_t      /* _types.h:72:19 */ | ||||||
|  | type X__double_t = float64           /* _types.h:74:17 */ | ||||||
|  | type X__float_t = float32            /* _types.h:75:16 */ | ||||||
|  | type X__intfptr_t = X__int32_t       /* _types.h:77:19 */ | ||||||
|  | type X__intmax_t = X__int64_t        /* _types.h:78:19 */ | ||||||
|  | type X__intptr_t = X__int32_t        /* _types.h:79:19 */ | ||||||
|  | type X__int_fast8_t = X__int32_t     /* _types.h:80:19 */ | ||||||
|  | type X__int_fast16_t = X__int32_t    /* _types.h:81:19 */ | ||||||
|  | type X__int_fast32_t = X__int32_t    /* _types.h:82:19 */ | ||||||
|  | type X__int_fast64_t = X__int64_t    /* _types.h:83:19 */ | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:84:18 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:85:19 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:86:19 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:87:19 */ | ||||||
|  | type X__ptrdiff_t = X__int32_t       /* _types.h:88:19 */ // ptr1 - ptr2 | ||||||
|  | type X__register_t = X__int32_t      /* _types.h:89:19 */ | ||||||
|  | type X__segsz_t = X__int32_t         /* _types.h:90:19 */ // segment size (in pages) | ||||||
|  | type X__size_t = X__uint32_t         /* _types.h:91:20 */ // sizeof() | ||||||
|  | type X__ssize_t = X__int32_t         /* _types.h:92:19 */ // byte count or error | ||||||
|  | type X__time_t = X__int64_t          /* _types.h:93:19 */ // time()... | ||||||
|  | type X__uintfptr_t = X__uint32_t     /* _types.h:94:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t      /* _types.h:95:20 */ | ||||||
|  | type X__uintptr_t = X__uint32_t      /* _types.h:96:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t   /* _types.h:97:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t  /* _types.h:98:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t  /* _types.h:99:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t  /* _types.h:100:20 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:101:19 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:102:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:103:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:104:20 */ | ||||||
|  | type X__u_register_t = X__uint32_t   /* _types.h:105:20 */ | ||||||
|  | type X__vm_offset_t = X__uint32_t    /* _types.h:106:20 */ | ||||||
|  | type X__vm_paddr_t = X__uint32_t     /* _types.h:107:20 */ | ||||||
|  | type X__vm_size_t = X__uint32_t      /* _types.h:108:20 */ | ||||||
|  |  | ||||||
|  | type X___wchar_t = uint32 /* _types.h:110:22 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // file block size | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:41:19 */ // file block count | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // clock_gettime()... | ||||||
|  | type X__fflags_t = X__uint32_t   /* _types.h:43:20 */ // file flags | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */ | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */ | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:46:20 */ | ||||||
|  | type X__id_t = X__int64_t        /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:48:20 */ // inode number | ||||||
|  | type X__key_t = int32            /* _types.h:49:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__lwpid_t = X__int32_t     /* _types.h:50:19 */ // Thread ID (a.k.a. LWP) | ||||||
|  | type X__mode_t = X__uint16_t     /* _types.h:51:20 */ // permissions | ||||||
|  | type X__accmode_t = int32        /* _types.h:52:14 */ // access permissions | ||||||
|  | type X__nl_item = int32          /* _types.h:53:14 */ | ||||||
|  | type X__nlink_t = X__uint64_t    /* _types.h:54:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:55:19 */ // file offset | ||||||
|  | type X__off64_t = X__int64_t     /* _types.h:56:19 */ // file offset (alias) | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process [group] | ||||||
|  | type X__rlim_t = X__int64_t      /* _types.h:58:19 */ // resource limit - intentionally | ||||||
|  | // signed, because of legacy code | ||||||
|  | // that uses -1 for RLIM_INFINITY | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:61:19 */ | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:62:20 */ | ||||||
|  | type X__suseconds_t = int32      /* _types.h:63:15 */ // microseconds (signed) | ||||||
|  | type X__timer_t = uintptr        /* _types.h:64:24 */ // timer_gettime()... | ||||||
|  | type X__mqd_t = uintptr          /* _types.h:65:21 */ // mq_open()... | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:66:20 */ | ||||||
|  | type X__useconds_t = uint32      /* _types.h:67:22 */ // microseconds (unsigned) | ||||||
|  | type X__cpuwhich_t = int32       /* _types.h:68:14 */ // which parameter for cpuset. | ||||||
|  | type X__cpulevel_t = int32       /* _types.h:69:14 */ // level parameter for cpuset. | ||||||
|  | type X__cpusetid_t = int32       /* _types.h:70:14 */ // cpuset identifier. | ||||||
|  | type X__daddr_t = X__int64_t     /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc | ||||||
|  |  | ||||||
|  | // Unusual type definitions. | ||||||
|  | // rune_t is declared to be an “int” instead of the more natural | ||||||
|  | // “unsigned long” or “long”.  Two things are happening here.  It is not | ||||||
|  | // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also, | ||||||
|  | // it looks like 10646 will be a 31 bit standard.  This means that if your | ||||||
|  | // ints cannot hold 32 bits, you will be in trouble.  The reason an int was | ||||||
|  | // chosen over a long is that the is*() and to*() routines take ints (says | ||||||
|  | // ANSI C), but they use __ct_rune_t instead of int. | ||||||
|  | // | ||||||
|  | // NOTE: rune_t is not covered by ANSI nor other standards, and should not | ||||||
|  | // be instantiated outside of lib/libc/locale.  Use wchar_t.  wint_t and | ||||||
|  | // rune_t must be the same type.  Also, wint_t should be able to hold all | ||||||
|  | // members of the largest character set plus one extra value (WEOF), and | ||||||
|  | // must be at least 16 bits. | ||||||
|  | type X__ct_rune_t = int32     /* _types.h:91:14 */ // arg type for ctype funcs | ||||||
|  | type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above) | ||||||
|  | type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above) | ||||||
|  |  | ||||||
|  | // Clang already provides these types as built-ins, but only in C++ mode. | ||||||
|  | type X__char16_t = X__uint_least16_t /* _types.h:97:26 */ | ||||||
|  | type X__char32_t = X__uint_least32_t /* _types.h:98:26 */ | ||||||
|  | // In C++11, char16_t and char32_t are built-in types. | ||||||
|  |  | ||||||
|  | type X__max_align_t = struct { | ||||||
|  | 	F__max_align1 int64 | ||||||
|  | 	F__max_align2 float64 | ||||||
|  | } /* _types.h:111:3 */ | ||||||
|  |  | ||||||
|  | type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number | ||||||
|  |  | ||||||
|  | type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state during multibyte | ||||||
|  | // stream conversions. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint64 | ||||||
|  | 	F__mbstate8  [128]uint8 | ||||||
|  | } /* _types.h:124:3 */ | ||||||
|  |  | ||||||
|  | type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */ | ||||||
|  |  | ||||||
|  | // Types for varargs. These are all provided by builtin types these | ||||||
|  | // days, so centralize their definition. | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc | ||||||
|  | type X__gnuc_va_list = X__va_list    /* _types.h:140:20 */ // compatibility w/GNU headers | ||||||
|  |  | ||||||
|  | // When the following macro is defined, the system uses 64-bit inode numbers. | ||||||
|  | // Programs can use this to avoid including <sys/param.h>, with its associated | ||||||
|  | // namespace pollution. | ||||||
|  |  | ||||||
|  | type Mode_t = X__mode_t /* fcntl.h:53:18 */ | ||||||
|  |  | ||||||
|  | type Off_t = X__off_t /* fcntl.h:58:18 */ | ||||||
|  |  | ||||||
|  | type Pid_t = X__pid_t /* fcntl.h:63:18 */ | ||||||
|  |  | ||||||
|  | // File status flags: these are used by open(2), fcntl(2). | ||||||
|  | // They are also used (indirectly) in the kernel file structure f_flags, | ||||||
|  | // which is a superset of the open/fcntl flags.  Open flags and f_flags | ||||||
|  | // are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags). | ||||||
|  | // Open/fcntl flags begin with O_; kernel-internal flags begin with F. | ||||||
|  | // open-only flags | ||||||
|  |  | ||||||
|  | // Kernel encoding of open mode; separate read and write bits that are | ||||||
|  | // independently testable: 1 greater than the above. | ||||||
|  | // | ||||||
|  | // XXX | ||||||
|  | // FREAD and FWRITE are excluded from the #ifdef _KERNEL so that TIOCFLUSH, | ||||||
|  | // which was documented to use FREAD/FWRITE, continues to work. | ||||||
|  |  | ||||||
|  | // Defined by POSIX 1003.1; BSD default, but must be distinct from O_RDONLY. | ||||||
|  |  | ||||||
|  | // Attempt to bypass buffer cache | ||||||
|  |  | ||||||
|  | // Defined by POSIX 1003.1-2008; BSD default, but reserve for future use. | ||||||
|  |  | ||||||
|  | // XXX missing O_RSYNC. | ||||||
|  |  | ||||||
|  | // The O_* flags used to have only F* names, which were used in the kernel | ||||||
|  | // and by fcntl.  We retain the F* names for the kernel f_flag field | ||||||
|  | // and for backward compatibility for fcntl.  These flags are deprecated. | ||||||
|  |  | ||||||
|  | // Historically, we ran out of bits in f_flag (which was once a short). | ||||||
|  | // However, the flag bits not set in FMASK are only meaningful in the | ||||||
|  | // initial open syscall.  Those bits were thus given a | ||||||
|  | // different meaning for fcntl(2). | ||||||
|  | // Read ahead | ||||||
|  |  | ||||||
|  | // Magic value that specify the use of the current working directory | ||||||
|  | // to determine the target of relative file paths in the openat() and | ||||||
|  | // similar syscalls. | ||||||
|  |  | ||||||
|  | // Miscellaneous flags for the *at() syscalls. | ||||||
|  | /* #define AT_UNUSED1		0x1000 */ // Was AT_BENEATH | ||||||
|  |  | ||||||
|  | // Constants used for fcntl(2) | ||||||
|  |  | ||||||
|  | // command values | ||||||
|  |  | ||||||
|  | // Seals (F_ADD_SEALS, F_GET_SEALS). | ||||||
|  |  | ||||||
|  | // file descriptor flags (F_GETFD, F_SETFD) | ||||||
|  |  | ||||||
|  | // record locking flags (F_GETLK, F_SETLK, F_SETLKW) | ||||||
|  |  | ||||||
|  | // Advisory file segment locking data type - | ||||||
|  | // information passed to system by user | ||||||
|  | type Flock = struct { | ||||||
|  | 	Fl_start     Off_t | ||||||
|  | 	Fl_len       Off_t | ||||||
|  | 	Fl_pid       Pid_t | ||||||
|  | 	Fl_type      int16 | ||||||
|  | 	Fl_whence    int16 | ||||||
|  | 	Fl_sysid     int32 | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | } /* fcntl.h:306:1 */ | ||||||
|  |  | ||||||
|  | // Old advisory file segment locking data type, | ||||||
|  | // before adding l_sysid. | ||||||
|  | type X__oflock = struct { | ||||||
|  | 	Fl_start  Off_t | ||||||
|  | 	Fl_len    Off_t | ||||||
|  | 	Fl_pid    Pid_t | ||||||
|  | 	Fl_type   int16 | ||||||
|  | 	Fl_whence int16 | ||||||
|  | } /* fcntl.h:320:1 */ | ||||||
|  |  | ||||||
|  | var _ uint8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										775
									
								
								vendor/modernc.org/libc/fcntl/fcntl_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										775
									
								
								vendor/modernc.org/libc/fcntl/fcntl_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,775 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_freebsd_amd64.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	AT_EACCESS            = 0x0100     // fcntl.h:224:1: | ||||||
|  | 	AT_EMPTY_PATH         = 0x4000     // fcntl.h:234:1: | ||||||
|  | 	AT_FDCWD              = -100       // fcntl.h:219:1: | ||||||
|  | 	AT_REMOVEDIR          = 0x0800     // fcntl.h:228:1: | ||||||
|  | 	AT_RESOLVE_BENEATH    = 0x2000     // fcntl.h:232:1: | ||||||
|  | 	AT_SYMLINK_FOLLOW     = 0x0400     // fcntl.h:227:1: | ||||||
|  | 	AT_SYMLINK_NOFOLLOW   = 0x0200     // fcntl.h:226:1: | ||||||
|  | 	FAPPEND               = 8          // fcntl.h:193:1: | ||||||
|  | 	FASYNC                = 64         // fcntl.h:194:1: | ||||||
|  | 	FDSYNC                = 16777216   // fcntl.h:196:1: | ||||||
|  | 	FD_CLOEXEC            = 1          // fcntl.h:283:1: | ||||||
|  | 	FD_NONE               = -200       // fcntl.h:355:1: | ||||||
|  | 	FFSYNC                = 128        // fcntl.h:195:1: | ||||||
|  | 	FNDELAY               = 4          // fcntl.h:198:1: | ||||||
|  | 	FNONBLOCK             = 4          // fcntl.h:197:1: | ||||||
|  | 	FRDAHEAD              = 512        // fcntl.h:210:1: | ||||||
|  | 	FREAD                 = 0x0001     // fcntl.h:89:1: | ||||||
|  | 	FWRITE                = 0x0002     // fcntl.h:90:1: | ||||||
|  | 	F_ADD_SEALS           = 19         // fcntl.h:270:1: | ||||||
|  | 	F_CANCEL              = 5          // fcntl.h:291:1: | ||||||
|  | 	F_DUP2FD              = 10         // fcntl.h:255:1: | ||||||
|  | 	F_DUP2FD_CLOEXEC      = 18         // fcntl.h:269:1: | ||||||
|  | 	F_DUPFD               = 0          // fcntl.h:242:1: | ||||||
|  | 	F_DUPFD_CLOEXEC       = 17         // fcntl.h:266:1: | ||||||
|  | 	F_GETFD               = 1          // fcntl.h:243:1: | ||||||
|  | 	F_GETFL               = 3          // fcntl.h:245:1: | ||||||
|  | 	F_GETLK               = 11         // fcntl.h:257:1: | ||||||
|  | 	F_GETOWN              = 5          // fcntl.h:248:1: | ||||||
|  | 	F_GET_SEALS           = 20         // fcntl.h:271:1: | ||||||
|  | 	F_ISUNIONSTACK        = 21         // fcntl.h:272:1: | ||||||
|  | 	F_KINFO               = 22         // fcntl.h:273:1: | ||||||
|  | 	F_OGETLK              = 7          // fcntl.h:252:1: | ||||||
|  | 	F_OSETLK              = 8          // fcntl.h:253:1: | ||||||
|  | 	F_OSETLKW             = 9          // fcntl.h:254:1: | ||||||
|  | 	F_RDAHEAD             = 16         // fcntl.h:263:1: | ||||||
|  | 	F_RDLCK               = 1          // fcntl.h:286:1: | ||||||
|  | 	F_READAHEAD           = 15         // fcntl.h:262:1: | ||||||
|  | 	F_SEAL_GROW           = 0x0004     // fcntl.h:278:1: | ||||||
|  | 	F_SEAL_SEAL           = 0x0001     // fcntl.h:276:1: | ||||||
|  | 	F_SEAL_SHRINK         = 0x0002     // fcntl.h:277:1: | ||||||
|  | 	F_SEAL_WRITE          = 0x0008     // fcntl.h:279:1: | ||||||
|  | 	F_SETFD               = 2          // fcntl.h:244:1: | ||||||
|  | 	F_SETFL               = 4          // fcntl.h:246:1: | ||||||
|  | 	F_SETLK               = 12         // fcntl.h:258:1: | ||||||
|  | 	F_SETLKW              = 13         // fcntl.h:259:1: | ||||||
|  | 	F_SETLK_REMOTE        = 14         // fcntl.h:261:1: | ||||||
|  | 	F_SETOWN              = 6          // fcntl.h:249:1: | ||||||
|  | 	F_UNLCK               = 2          // fcntl.h:287:1: | ||||||
|  | 	F_UNLCKSYS            = 4          // fcntl.h:290:1: | ||||||
|  | 	F_WRLCK               = 3          // fcntl.h:288:1: | ||||||
|  | 	LOCK_EX               = 0x02       // fcntl.h:332:1: | ||||||
|  | 	LOCK_NB               = 0x04       // fcntl.h:333:1: | ||||||
|  | 	LOCK_SH               = 0x01       // fcntl.h:331:1: | ||||||
|  | 	LOCK_UN               = 0x08       // fcntl.h:334:1: | ||||||
|  | 	O_ACCMODE             = 0x0003     // fcntl.h:78:1: | ||||||
|  | 	O_APPEND              = 0x0008     // fcntl.h:93:1: | ||||||
|  | 	O_ASYNC               = 0x0040     // fcntl.h:97:1: | ||||||
|  | 	O_CLOEXEC             = 0x00100000 // fcntl.h:133:1: | ||||||
|  | 	O_CREAT               = 0x0200     // fcntl.h:104:1: | ||||||
|  | 	O_DIRECT              = 0x00010000 // fcntl.h:116:1: | ||||||
|  | 	O_DIRECTORY           = 0x00020000 // fcntl.h:120:1: | ||||||
|  | 	O_DSYNC               = 0x01000000 // fcntl.h:143:1: | ||||||
|  | 	O_EMPTY_PATH          = 0x02000000 // fcntl.h:145:1: | ||||||
|  | 	O_EXCL                = 0x0800     // fcntl.h:106:1: | ||||||
|  | 	O_EXEC                = 0x00040000 // fcntl.h:121:1: | ||||||
|  | 	O_EXLOCK              = 0x0020     // fcntl.h:96:1: | ||||||
|  | 	O_FSYNC               = 0x0080     // fcntl.h:98:1: | ||||||
|  | 	O_NDELAY              = 4          // fcntl.h:199:1: | ||||||
|  | 	O_NOCTTY              = 0x8000     // fcntl.h:112:1: | ||||||
|  | 	O_NOFOLLOW            = 0x0100     // fcntl.h:102:1: | ||||||
|  | 	O_NONBLOCK            = 0x0004     // fcntl.h:92:1: | ||||||
|  | 	O_PATH                = 0x00400000 // fcntl.h:138:1: | ||||||
|  | 	O_RDONLY              = 0x0000     // fcntl.h:75:1: | ||||||
|  | 	O_RDWR                = 0x0002     // fcntl.h:77:1: | ||||||
|  | 	O_RESOLVE_BENEATH     = 0x00800000 // fcntl.h:139:1: | ||||||
|  | 	O_SEARCH              = 262144     // fcntl.h:122:1: | ||||||
|  | 	O_SHLOCK              = 0x0010     // fcntl.h:95:1: | ||||||
|  | 	O_SYNC                = 0x0080     // fcntl.h:100:1: | ||||||
|  | 	O_TRUNC               = 0x0400     // fcntl.h:105:1: | ||||||
|  | 	O_TTY_INIT            = 0x00080000 // fcntl.h:131:1: | ||||||
|  | 	O_VERIFY              = 0x00200000 // fcntl.h:137:1: | ||||||
|  | 	O_WRONLY              = 0x0001     // fcntl.h:76:1: | ||||||
|  | 	POSIX_FADV_DONTNEED   = 4          // fcntl.h:345:1: | ||||||
|  | 	POSIX_FADV_NOREUSE    = 5          // fcntl.h:346:1: | ||||||
|  | 	POSIX_FADV_NORMAL     = 0          // fcntl.h:341:1: | ||||||
|  | 	POSIX_FADV_RANDOM     = 1          // fcntl.h:342:1: | ||||||
|  | 	POSIX_FADV_SEQUENTIAL = 2          // fcntl.h:343:1: | ||||||
|  | 	POSIX_FADV_WILLNEED   = 3          // fcntl.h:344:1: | ||||||
|  | 	X_FILE_OFFSET_BITS    = 64         // <builtin>:25:1: | ||||||
|  | 	X_LP64                = 1          // <predefined>:1:1: | ||||||
|  | 	X_MACHINE__LIMITS_H_  = 0          // _limits.h:36:1: | ||||||
|  | 	X_MACHINE__TYPES_H_   = 0          // _types.h:42:1: | ||||||
|  | 	X_MODE_T_DECLARED     = 0          // fcntl.h:54:1: | ||||||
|  | 	X_Nonnull             = 0          // cdefs.h:790:1: | ||||||
|  | 	X_Null_unspecified    = 0          // cdefs.h:792:1: | ||||||
|  | 	X_Nullable            = 0          // cdefs.h:791:1: | ||||||
|  | 	X_OFF_T_DECLARED      = 0          // fcntl.h:59:1: | ||||||
|  | 	X_PID_T_DECLARED      = 0          // fcntl.h:64:1: | ||||||
|  | 	X_SYS_CDEFS_H_        = 0          // cdefs.h:39:1: | ||||||
|  | 	X_SYS_FCNTL_H_        = 0          // fcntl.h:41:1: | ||||||
|  | 	X_SYS__TYPES_H_       = 0          // _types.h:32:1: | ||||||
|  | 	Unix                  = 1          // <predefined>:340:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1983, 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)fcntl.h	8.3 (Berkeley) 1/21/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // This file includes the definitions for open and fcntl | ||||||
|  | // described by POSIX for <fcntl.h>; it also includes | ||||||
|  | // related kernel definitions. | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // Testing against Clang-specific extensions. | ||||||
|  |  | ||||||
|  | // This code has been put in place to help reduce the addition of | ||||||
|  | // compiler specific defines in FreeBSD code.  It helps to aid in | ||||||
|  | // having a compiler-agnostic source tree. | ||||||
|  |  | ||||||
|  | // Compiler memory barriers, specific to gcc and clang. | ||||||
|  |  | ||||||
|  | // XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky to use if it must work in non-ANSI | ||||||
|  | // mode -- there must be no spaces between its arguments, and for nested | ||||||
|  | // __CONCAT's, all the __CONCAT's must be at the left.  __CONCAT can also | ||||||
|  | // concatenate double-quoted strings produced by the __STRING macro, but | ||||||
|  | // this only works with ANSI C. | ||||||
|  | // | ||||||
|  | // __XSTRING is like __STRING, but it expands any macros in its argument | ||||||
|  | // first.  It is only available with ANSI C. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to help declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions, and unused variables.  They are | ||||||
|  | // null except for versions of gcc that are known to support the features | ||||||
|  | // properly (old versions of gcc-2 supported the dead and pure features | ||||||
|  | // in a different (wrong) way).  If we do not provide an implementation | ||||||
|  | // for a given compiler, let the compile fail if it is told to use | ||||||
|  | // a feature that we cannot live without. | ||||||
|  |  | ||||||
|  | // Keywords added in C11. | ||||||
|  |  | ||||||
|  | // Emulation of C11 _Generic().  Unlike the previously defined C11 | ||||||
|  | // keywords, it is not possible to implement this using exactly the same | ||||||
|  | // syntax.  Therefore implement something similar under the name | ||||||
|  | // __generic().  Unlike _Generic(), this macro can only distinguish | ||||||
|  | // between a single type, so it requires nested invocations to | ||||||
|  | // distinguish multiple cases. | ||||||
|  |  | ||||||
|  | // C99 Static array indices in function parameter declarations.  Syntax such as: | ||||||
|  | // void bar(int myArray[static 10]); | ||||||
|  | // is allowed in C99 but not in C++.  Define __min_size appropriately so | ||||||
|  | // headers using it can be compiled in either language.  Use like this: | ||||||
|  | // void bar(int myArray[__min_size(10)]); | ||||||
|  |  | ||||||
|  | // XXX: should use `#if __STDC_VERSION__ < 199901'. | ||||||
|  |  | ||||||
|  | // C++11 exposes a load of C99 stuff | ||||||
|  |  | ||||||
|  | // GCC 2.95 provides `__restrict' as an extension to C90 to support the | ||||||
|  | // C99-specific `restrict' type qualifier.  We happen to use `__restrict' as | ||||||
|  | // a way to define the `restrict' type qualifier without disturbing older | ||||||
|  | // software that is unaware of C99 keywords. | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h> | ||||||
|  | // require it. | ||||||
|  |  | ||||||
|  | // Given the pointer x to the member m of the struct s, return | ||||||
|  | // a pointer to the containing structure.  When using GCC, we first | ||||||
|  | // assign pointer x to a local variable, to check that its type is | ||||||
|  | // compatible with member m. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to declare that functions take printf-like | ||||||
|  | // or scanf-like arguments.  They are null except for versions of gcc | ||||||
|  | // that are known to support the features properly (old versions of gcc-2 | ||||||
|  | // didn't permit keeping the keywords out of the application namespace). | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros that rely on FreeBSD-specific extensions. | ||||||
|  |  | ||||||
|  | // Embed the rcs id of a source file in the resulting library.  Note that in | ||||||
|  | // more recent ELF binutils, we use .ident allowing the ID to be stripped. | ||||||
|  | // Usage: | ||||||
|  | //	__FBSDID("$FreeBSD$"); | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // The following definitions are an extension of the behavior originally | ||||||
|  | // implemented in <sys/_posix.h>, but with a different level of granularity. | ||||||
|  | // POSIX.1 requires that the macros we test be defined before any standard | ||||||
|  | // header file is included. | ||||||
|  | // | ||||||
|  | // Here's a quick run-down of the versions: | ||||||
|  | //  defined(_POSIX_SOURCE)		1003.1-1988 | ||||||
|  | //  _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | //  _POSIX_C_SOURCE == 2		1003.2-1992 C Language Binding Option | ||||||
|  | //  _POSIX_C_SOURCE == 199309		1003.1b-1993 | ||||||
|  | //  _POSIX_C_SOURCE == 199506		1003.1c-1995, 1003.1i-1995, | ||||||
|  | //					and the omnibus ISO/IEC 9945-1: 1996 | ||||||
|  | //  _POSIX_C_SOURCE == 200112		1003.1-2001 | ||||||
|  | //  _POSIX_C_SOURCE == 200809		1003.1-2008 | ||||||
|  | // | ||||||
|  | // In addition, the X/Open Portability Guide, which is now the Single UNIX | ||||||
|  | // Specification, defines a feature-test macro which indicates the version of | ||||||
|  | // that specification, and which subsumes _POSIX_C_SOURCE. | ||||||
|  | // | ||||||
|  | // Our macros begin with two underscores to avoid namespace screwage. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2. | ||||||
|  |  | ||||||
|  | // Deal with various X/Open Portability Guides and Single UNIX Spec. | ||||||
|  |  | ||||||
|  | // Deal with all versions of POSIX.  The ordering relative to the tests above is | ||||||
|  | // important. | ||||||
|  | // - | ||||||
|  | // Deal with _ANSI_SOURCE: | ||||||
|  | // If it is defined, and no other compilation environment is explicitly | ||||||
|  | // requested, then define our internal feature-test macros to zero.  This | ||||||
|  | // makes no difference to the preprocessor (undefined symbols in preprocessing | ||||||
|  | // expressions are defined to have value zero), but makes it more convenient for | ||||||
|  | // a test program to print out the values. | ||||||
|  | // | ||||||
|  | // If a program mistakenly defines _ANSI_SOURCE and some other macro such as | ||||||
|  | // _POSIX_C_SOURCE, we will assume that it wants the broader compilation | ||||||
|  | // environment (and in fact we will never get here). | ||||||
|  |  | ||||||
|  | // User override __EXT1_VISIBLE | ||||||
|  |  | ||||||
|  | // Old versions of GCC use non-standard ARM arch symbols; acle-compat.h | ||||||
|  | // translates them to __ARM_ARCH and the modern feature symbols defined by ARM. | ||||||
|  |  | ||||||
|  | // Nullability qualifiers: currently only supported by Clang. | ||||||
|  |  | ||||||
|  | // Type Safety Checking | ||||||
|  | // | ||||||
|  | // Clang provides additional attributes to enable checking type safety | ||||||
|  | // properties that cannot be enforced by the C type system. | ||||||
|  |  | ||||||
|  | // Lock annotations. | ||||||
|  | // | ||||||
|  | // Clang provides support for doing basic thread-safety tests at | ||||||
|  | // compile-time, by marking which locks will/should be held when | ||||||
|  | // entering/leaving a functions. | ||||||
|  | // | ||||||
|  | // Furthermore, it is also possible to annotate variables and structure | ||||||
|  | // members to enforce that they are only accessed when certain locks are | ||||||
|  | // held. | ||||||
|  |  | ||||||
|  | // Structure implements a lock. | ||||||
|  |  | ||||||
|  | // Function acquires an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function attempts to acquire an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function releases a lock. | ||||||
|  |  | ||||||
|  | // Function asserts that an exclusive or shared lock is held. | ||||||
|  |  | ||||||
|  | // Function requires that an exclusive or shared lock is or is not held. | ||||||
|  |  | ||||||
|  | // Function should not be analyzed. | ||||||
|  |  | ||||||
|  | // Function or variable should not be sanitized, e.g., by AddressSanitizer. | ||||||
|  | // GCC has the nosanitize attribute, but as a function attribute only, and | ||||||
|  | // warns on use as a variable attribute. | ||||||
|  |  | ||||||
|  | // Guard variables and structure members by lock. | ||||||
|  |  | ||||||
|  | // Alignment builtins for better type checking and improved code generation. | ||||||
|  | // Provide fallback versions for other compilers (GCC/Clang < 10): | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-2-Clause-FreeBSD | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // This file is in the public domain. | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-4-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. All advertising materials mentioning features or use of this software | ||||||
|  | //    must display the following acknowledgement: | ||||||
|  | //	This product includes software developed by the University of | ||||||
|  | //	California, Berkeley and its contributors. | ||||||
|  | // 4. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	From: @(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  | //	From: @(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // This file is in the public domain. | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1988, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)limits.h	8.3 (Berkeley) 1/4/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // According to ANSI (section 2.2.4.2), the values below must be usable by | ||||||
|  | // #if preprocessing directives.  Additionally, the expression must have the | ||||||
|  | // same type as would an expression that is an object of the corresponding | ||||||
|  | // type converted according to the integral promotions.  The subtraction for | ||||||
|  | // INT_MIN, etc., is so the value is not unsigned; e.g., 0x80000000 is an | ||||||
|  | // unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2). | ||||||
|  |  | ||||||
|  | // max value for an unsigned long long | ||||||
|  |  | ||||||
|  | // Quads and longs are the same on the amd64.  Ensure they stay in sync. | ||||||
|  |  | ||||||
|  | // Minimum signal stack size. | ||||||
|  |  | ||||||
|  | // Basic types upon which most other types are built. | ||||||
|  | type X__int8_t = int8     /* _types.h:55:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:56:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:57:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:58:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:59:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:60:23 */ | ||||||
|  | type X__int64_t = int64   /* _types.h:62:16 */ | ||||||
|  | type X__uint64_t = uint64 /* _types.h:63:24 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__clock_t = X__int32_t         /* _types.h:75:19 */ // clock()... | ||||||
|  | type X__critical_t = X__int64_t      /* _types.h:76:19 */ | ||||||
|  | type X__double_t = float64           /* _types.h:78:17 */ | ||||||
|  | type X__float_t = float32            /* _types.h:79:16 */ | ||||||
|  | type X__intfptr_t = X__int64_t       /* _types.h:81:19 */ | ||||||
|  | type X__intptr_t = X__int64_t        /* _types.h:82:19 */ | ||||||
|  | type X__intmax_t = X__int64_t        /* _types.h:93:19 */ | ||||||
|  | type X__int_fast8_t = X__int32_t     /* _types.h:94:19 */ | ||||||
|  | type X__int_fast16_t = X__int32_t    /* _types.h:95:19 */ | ||||||
|  | type X__int_fast32_t = X__int32_t    /* _types.h:96:19 */ | ||||||
|  | type X__int_fast64_t = X__int64_t    /* _types.h:97:19 */ | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:98:18 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:99:19 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:100:19 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:101:19 */ | ||||||
|  | type X__ptrdiff_t = X__int64_t       /* _types.h:103:19 */ // ptr1 - ptr2 | ||||||
|  | type X__register_t = X__int64_t      /* _types.h:104:19 */ | ||||||
|  | type X__segsz_t = X__int64_t         /* _types.h:105:19 */ // segment size (in pages) | ||||||
|  | type X__size_t = X__uint64_t         /* _types.h:106:20 */ // sizeof() | ||||||
|  | type X__ssize_t = X__int64_t         /* _types.h:107:19 */ // byte count or error | ||||||
|  | type X__time_t = X__int64_t          /* _types.h:108:19 */ // time()... | ||||||
|  | type X__uintfptr_t = X__uint64_t     /* _types.h:109:20 */ | ||||||
|  | type X__uintptr_t = X__uint64_t      /* _types.h:110:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t      /* _types.h:121:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t   /* _types.h:122:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t  /* _types.h:123:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t  /* _types.h:124:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t  /* _types.h:125:20 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:126:19 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:127:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:128:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:129:20 */ | ||||||
|  | type X__u_register_t = X__uint64_t   /* _types.h:131:20 */ | ||||||
|  | type X__vm_offset_t = X__uint64_t    /* _types.h:132:20 */ | ||||||
|  | type X__vm_paddr_t = X__uint64_t     /* _types.h:133:20 */ | ||||||
|  | type X__vm_size_t = X__uint64_t      /* _types.h:134:20 */ | ||||||
|  | type X___wchar_t = int32             /* _types.h:141:14 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // file block size | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:41:19 */ // file block count | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // clock_gettime()... | ||||||
|  | type X__fflags_t = X__uint32_t   /* _types.h:43:20 */ // file flags | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */ | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */ | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:46:20 */ | ||||||
|  | type X__id_t = X__int64_t        /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:48:20 */ // inode number | ||||||
|  | type X__key_t = int64            /* _types.h:49:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__lwpid_t = X__int32_t     /* _types.h:50:19 */ // Thread ID (a.k.a. LWP) | ||||||
|  | type X__mode_t = X__uint16_t     /* _types.h:51:20 */ // permissions | ||||||
|  | type X__accmode_t = int32        /* _types.h:52:14 */ // access permissions | ||||||
|  | type X__nl_item = int32          /* _types.h:53:14 */ | ||||||
|  | type X__nlink_t = X__uint64_t    /* _types.h:54:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:55:19 */ // file offset | ||||||
|  | type X__off64_t = X__int64_t     /* _types.h:56:19 */ // file offset (alias) | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process [group] | ||||||
|  | type X__rlim_t = X__int64_t      /* _types.h:58:19 */ // resource limit - intentionally | ||||||
|  | // signed, because of legacy code | ||||||
|  | // that uses -1 for RLIM_INFINITY | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:61:19 */ | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:62:20 */ | ||||||
|  | type X__suseconds_t = int64      /* _types.h:63:15 */ // microseconds (signed) | ||||||
|  | type X__timer_t = uintptr        /* _types.h:64:24 */ // timer_gettime()... | ||||||
|  | type X__mqd_t = uintptr          /* _types.h:65:21 */ // mq_open()... | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:66:20 */ | ||||||
|  | type X__useconds_t = uint32      /* _types.h:67:22 */ // microseconds (unsigned) | ||||||
|  | type X__cpuwhich_t = int32       /* _types.h:68:14 */ // which parameter for cpuset. | ||||||
|  | type X__cpulevel_t = int32       /* _types.h:69:14 */ // level parameter for cpuset. | ||||||
|  | type X__cpusetid_t = int32       /* _types.h:70:14 */ // cpuset identifier. | ||||||
|  | type X__daddr_t = X__int64_t     /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc | ||||||
|  |  | ||||||
|  | // Unusual type definitions. | ||||||
|  | // rune_t is declared to be an “int” instead of the more natural | ||||||
|  | // “unsigned long” or “long”.  Two things are happening here.  It is not | ||||||
|  | // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also, | ||||||
|  | // it looks like 10646 will be a 31 bit standard.  This means that if your | ||||||
|  | // ints cannot hold 32 bits, you will be in trouble.  The reason an int was | ||||||
|  | // chosen over a long is that the is*() and to*() routines take ints (says | ||||||
|  | // ANSI C), but they use __ct_rune_t instead of int. | ||||||
|  | // | ||||||
|  | // NOTE: rune_t is not covered by ANSI nor other standards, and should not | ||||||
|  | // be instantiated outside of lib/libc/locale.  Use wchar_t.  wint_t and | ||||||
|  | // rune_t must be the same type.  Also, wint_t should be able to hold all | ||||||
|  | // members of the largest character set plus one extra value (WEOF), and | ||||||
|  | // must be at least 16 bits. | ||||||
|  | type X__ct_rune_t = int32     /* _types.h:91:14 */ // arg type for ctype funcs | ||||||
|  | type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above) | ||||||
|  | type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above) | ||||||
|  |  | ||||||
|  | // Clang already provides these types as built-ins, but only in C++ mode. | ||||||
|  | type X__char16_t = X__uint_least16_t /* _types.h:97:26 */ | ||||||
|  | type X__char32_t = X__uint_least32_t /* _types.h:98:26 */ | ||||||
|  | // In C++11, char16_t and char32_t are built-in types. | ||||||
|  |  | ||||||
|  | type X__max_align_t = struct { | ||||||
|  | 	F__max_align1 int64 | ||||||
|  | 	F__max_align2 float64 | ||||||
|  | } /* _types.h:111:3 */ | ||||||
|  |  | ||||||
|  | type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number | ||||||
|  |  | ||||||
|  | type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state during multibyte | ||||||
|  | // stream conversions. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint64 | ||||||
|  | 	F__mbstate8  [128]int8 | ||||||
|  | } /* _types.h:124:3 */ | ||||||
|  |  | ||||||
|  | type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */ | ||||||
|  |  | ||||||
|  | // Types for varargs. These are all provided by builtin types these | ||||||
|  | // days, so centralize their definition. | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc | ||||||
|  | type X__gnuc_va_list = X__va_list    /* _types.h:140:20 */ // compatibility w/GNU headers | ||||||
|  |  | ||||||
|  | // When the following macro is defined, the system uses 64-bit inode numbers. | ||||||
|  | // Programs can use this to avoid including <sys/param.h>, with its associated | ||||||
|  | // namespace pollution. | ||||||
|  |  | ||||||
|  | type Mode_t = X__mode_t /* fcntl.h:53:18 */ | ||||||
|  |  | ||||||
|  | type Off_t = X__off_t /* fcntl.h:58:18 */ | ||||||
|  |  | ||||||
|  | type Pid_t = X__pid_t /* fcntl.h:63:18 */ | ||||||
|  |  | ||||||
|  | // File status flags: these are used by open(2), fcntl(2). | ||||||
|  | // They are also used (indirectly) in the kernel file structure f_flags, | ||||||
|  | // which is a superset of the open/fcntl flags.  Open flags and f_flags | ||||||
|  | // are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags). | ||||||
|  | // Open/fcntl flags begin with O_; kernel-internal flags begin with F. | ||||||
|  | // open-only flags | ||||||
|  |  | ||||||
|  | // Kernel encoding of open mode; separate read and write bits that are | ||||||
|  | // independently testable: 1 greater than the above. | ||||||
|  | // | ||||||
|  | // XXX | ||||||
|  | // FREAD and FWRITE are excluded from the #ifdef _KERNEL so that TIOCFLUSH, | ||||||
|  | // which was documented to use FREAD/FWRITE, continues to work. | ||||||
|  |  | ||||||
|  | // Defined by POSIX 1003.1; BSD default, but must be distinct from O_RDONLY. | ||||||
|  |  | ||||||
|  | // Attempt to bypass buffer cache | ||||||
|  |  | ||||||
|  | // Defined by POSIX 1003.1-2008; BSD default, but reserve for future use. | ||||||
|  |  | ||||||
|  | // XXX missing O_RSYNC. | ||||||
|  |  | ||||||
|  | // The O_* flags used to have only F* names, which were used in the kernel | ||||||
|  | // and by fcntl.  We retain the F* names for the kernel f_flag field | ||||||
|  | // and for backward compatibility for fcntl.  These flags are deprecated. | ||||||
|  |  | ||||||
|  | // Historically, we ran out of bits in f_flag (which was once a short). | ||||||
|  | // However, the flag bits not set in FMASK are only meaningful in the | ||||||
|  | // initial open syscall.  Those bits were thus given a | ||||||
|  | // different meaning for fcntl(2). | ||||||
|  | // Read ahead | ||||||
|  |  | ||||||
|  | // Magic value that specify the use of the current working directory | ||||||
|  | // to determine the target of relative file paths in the openat() and | ||||||
|  | // similar syscalls. | ||||||
|  |  | ||||||
|  | // Miscellaneous flags for the *at() syscalls. | ||||||
|  | /* #define AT_UNUSED1		0x1000 */ // Was AT_BENEATH | ||||||
|  |  | ||||||
|  | // Constants used for fcntl(2) | ||||||
|  |  | ||||||
|  | // command values | ||||||
|  |  | ||||||
|  | // Seals (F_ADD_SEALS, F_GET_SEALS). | ||||||
|  |  | ||||||
|  | // file descriptor flags (F_GETFD, F_SETFD) | ||||||
|  |  | ||||||
|  | // record locking flags (F_GETLK, F_SETLK, F_SETLKW) | ||||||
|  |  | ||||||
|  | // Advisory file segment locking data type - | ||||||
|  | // information passed to system by user | ||||||
|  | type Flock = struct { | ||||||
|  | 	Fl_start     Off_t | ||||||
|  | 	Fl_len       Off_t | ||||||
|  | 	Fl_pid       Pid_t | ||||||
|  | 	Fl_type      int16 | ||||||
|  | 	Fl_whence    int16 | ||||||
|  | 	Fl_sysid     int32 | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | } /* fcntl.h:306:1 */ | ||||||
|  |  | ||||||
|  | // Old advisory file segment locking data type, | ||||||
|  | // before adding l_sysid. | ||||||
|  | type X__oflock = struct { | ||||||
|  | 	Fl_start  Off_t | ||||||
|  | 	Fl_len    Off_t | ||||||
|  | 	Fl_pid    Pid_t | ||||||
|  | 	Fl_type   int16 | ||||||
|  | 	Fl_whence int16 | ||||||
|  | } /* fcntl.h:320:1 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										1107
									
								
								vendor/modernc.org/libc/fcntl/fcntl_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1107
									
								
								vendor/modernc.org/libc/fcntl/fcntl_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1350
									
								
								vendor/modernc.org/libc/fcntl/fcntl_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1350
									
								
								vendor/modernc.org/libc/fcntl/fcntl_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1455
									
								
								vendor/modernc.org/libc/fcntl/fcntl_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1455
									
								
								vendor/modernc.org/libc/fcntl/fcntl_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										816
									
								
								vendor/modernc.org/libc/fcntl/fcntl_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										816
									
								
								vendor/modernc.org/libc/fcntl/fcntl_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,816 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_openbsd_386.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	AT_EACCESS           = 0x01    // fcntl.h:200:1: | ||||||
|  | 	AT_FDCWD             = -100    // fcntl.h:198:1: | ||||||
|  | 	AT_REMOVEDIR         = 0x08    // fcntl.h:203:1: | ||||||
|  | 	AT_SYMLINK_FOLLOW    = 0x04    // fcntl.h:202:1: | ||||||
|  | 	AT_SYMLINK_NOFOLLOW  = 0x02    // fcntl.h:201:1: | ||||||
|  | 	BIG_ENDIAN           = 4321    // endian.h:45:1: | ||||||
|  | 	BYTE_ORDER           = 1234    // endian.h:47:1: | ||||||
|  | 	FAPPEND              = 8       // fcntl.h:130:1: | ||||||
|  | 	FASYNC               = 64      // fcntl.h:131:1: | ||||||
|  | 	FD_CLOEXEC           = 1       // fcntl.h:163:1: | ||||||
|  | 	FFSYNC               = 128     // fcntl.h:132:1: | ||||||
|  | 	FNDELAY              = 4       // fcntl.h:134:1: | ||||||
|  | 	FNONBLOCK            = 4       // fcntl.h:133:1: | ||||||
|  | 	FREAD                = 0x0001  // fcntl.h:76:1: | ||||||
|  | 	FWRITE               = 0x0002  // fcntl.h:77:1: | ||||||
|  | 	F_DUPFD              = 0       // fcntl.h:143:1: | ||||||
|  | 	F_DUPFD_CLOEXEC      = 10      // fcntl.h:156:1: | ||||||
|  | 	F_GETFD              = 1       // fcntl.h:144:1: | ||||||
|  | 	F_GETFL              = 3       // fcntl.h:146:1: | ||||||
|  | 	F_GETLK              = 7       // fcntl.h:152:1: | ||||||
|  | 	F_GETOWN             = 5       // fcntl.h:149:1: | ||||||
|  | 	F_ISATTY             = 11      // fcntl.h:159:1: | ||||||
|  | 	F_RDLCK              = 1       // fcntl.h:166:1: | ||||||
|  | 	F_SETFD              = 2       // fcntl.h:145:1: | ||||||
|  | 	F_SETFL              = 4       // fcntl.h:147:1: | ||||||
|  | 	F_SETLK              = 8       // fcntl.h:153:1: | ||||||
|  | 	F_SETLKW             = 9       // fcntl.h:154:1: | ||||||
|  | 	F_SETOWN             = 6       // fcntl.h:150:1: | ||||||
|  | 	F_UNLCK              = 2       // fcntl.h:167:1: | ||||||
|  | 	F_WRLCK              = 3       // fcntl.h:168:1: | ||||||
|  | 	LITTLE_ENDIAN        = 1234    // endian.h:44:1: | ||||||
|  | 	LOCK_EX              = 0x02    // fcntl.h:192:1: | ||||||
|  | 	LOCK_NB              = 0x04    // fcntl.h:193:1: | ||||||
|  | 	LOCK_SH              = 0x01    // fcntl.h:191:1: | ||||||
|  | 	LOCK_UN              = 0x08    // fcntl.h:194:1: | ||||||
|  | 	O_ACCMODE            = 0x0003  // fcntl.h:65:1: | ||||||
|  | 	O_APPEND             = 0x0008  // fcntl.h:80:1: | ||||||
|  | 	O_ASYNC              = 0x0040  // fcntl.h:84:1: | ||||||
|  | 	O_CLOEXEC            = 0x10000 // fcntl.h:107:1: | ||||||
|  | 	O_CREAT              = 0x0200  // fcntl.h:91:1: | ||||||
|  | 	O_DIRECTORY          = 0x20000 // fcntl.h:108:1: | ||||||
|  | 	O_DSYNC              = 128     // fcntl.h:100:1: | ||||||
|  | 	O_EXCL               = 0x0800  // fcntl.h:93:1: | ||||||
|  | 	O_EXLOCK             = 0x0020  // fcntl.h:83:1: | ||||||
|  | 	O_FSYNC              = 0x0080  // fcntl.h:85:1: | ||||||
|  | 	O_NDELAY             = 4       // fcntl.h:135:1: | ||||||
|  | 	O_NOCTTY             = 0x8000  // fcntl.h:104:1: | ||||||
|  | 	O_NOFOLLOW           = 0x0100  // fcntl.h:86:1: | ||||||
|  | 	O_NONBLOCK           = 0x0004  // fcntl.h:79:1: | ||||||
|  | 	O_RDONLY             = 0x0000  // fcntl.h:62:1: | ||||||
|  | 	O_RDWR               = 0x0002  // fcntl.h:64:1: | ||||||
|  | 	O_RSYNC              = 128     // fcntl.h:101:1: | ||||||
|  | 	O_SHLOCK             = 0x0010  // fcntl.h:82:1: | ||||||
|  | 	O_SYNC               = 0x0080  // fcntl.h:89:1: | ||||||
|  | 	O_TRUNC              = 0x0400  // fcntl.h:92:1: | ||||||
|  | 	O_WRONLY             = 0x0001  // fcntl.h:63:1: | ||||||
|  | 	PDP_ENDIAN           = 3412    // endian.h:46:1: | ||||||
|  | 	X_BIG_ENDIAN         = 4321    // _endian.h:43:1: | ||||||
|  | 	X_BYTE_ORDER         = 1234    // endian.h:58:1: | ||||||
|  | 	X_CLOCKID_T_DEFINED_ = 0       // types.h:162:1: | ||||||
|  | 	X_CLOCK_T_DEFINED_   = 0       // types.h:157:1: | ||||||
|  | 	X_FILE_OFFSET_BITS   = 64      // <builtin>:25:1: | ||||||
|  | 	X_ILP32              = 1       // <predefined>:1:1: | ||||||
|  | 	X_INT16_T_DEFINED_   = 0       // types.h:84:1: | ||||||
|  | 	X_INT32_T_DEFINED_   = 0       // types.h:94:1: | ||||||
|  | 	X_INT64_T_DEFINED_   = 0       // types.h:104:1: | ||||||
|  | 	X_INT8_T_DEFINED_    = 0       // types.h:74:1: | ||||||
|  | 	X_LITTLE_ENDIAN      = 1234    // _endian.h:42:1: | ||||||
|  | 	X_MACHINE_CDEFS_H_   = 0       // cdefs.h:9:1: | ||||||
|  | 	X_MACHINE_ENDIAN_H_  = 0       // endian.h:28:1: | ||||||
|  | 	X_MACHINE__TYPES_H_  = 0       // _types.h:36:1: | ||||||
|  | 	X_MAX_PAGE_SHIFT     = 12      // _types.h:52:1: | ||||||
|  | 	X_OFF_T_DEFINED_     = 0       // types.h:192:1: | ||||||
|  | 	X_PDP_ENDIAN         = 3412    // _endian.h:44:1: | ||||||
|  | 	X_PID_T_DEFINED_     = 0       // types.h:167:1: | ||||||
|  | 	X_QUAD_HIGHWORD      = 1       // _endian.h:95:1: | ||||||
|  | 	X_QUAD_LOWWORD       = 0       // _endian.h:96:1: | ||||||
|  | 	X_SIZE_T_DEFINED_    = 0       // types.h:172:1: | ||||||
|  | 	X_SSIZE_T_DEFINED_   = 0       // types.h:177:1: | ||||||
|  | 	X_STACKALIGNBYTES    = 15      // _types.h:49:1: | ||||||
|  | 	X_SYS_CDEFS_H_       = 0       // cdefs.h:39:1: | ||||||
|  | 	X_SYS_ENDIAN_H_      = 0       // endian.h:38:1: | ||||||
|  | 	X_SYS_FCNTL_H_       = 0       // fcntl.h:41:1: | ||||||
|  | 	X_SYS_TYPES_H_       = 0       // types.h:41:1: | ||||||
|  | 	X_SYS__ENDIAN_H_     = 0       // _endian.h:34:1: | ||||||
|  | 	X_SYS__TYPES_H_      = 0       // _types.h:35:1: | ||||||
|  | 	X_TIMER_T_DEFINED_   = 0       // types.h:187:1: | ||||||
|  | 	X_TIME_T_DEFINED_    = 0       // types.h:182:1: | ||||||
|  | 	X_UINT16_T_DEFINED_  = 0       // types.h:89:1: | ||||||
|  | 	X_UINT32_T_DEFINED_  = 0       // types.h:99:1: | ||||||
|  | 	X_UINT64_T_DEFINED_  = 0       // types.h:109:1: | ||||||
|  | 	X_UINT8_T_DEFINED_   = 0       // types.h:79:1: | ||||||
|  | 	I386                 = 1       // <predefined>:339:1: | ||||||
|  | 	Unix                 = 1       // <predefined>:340:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int32 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint32 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | //	$OpenBSD: fcntl.h,v 1.22 2019/01/21 18:09:21 anton Exp $ | ||||||
|  | //	$NetBSD: fcntl.h,v 1.8 1995/03/26 20:24:12 jtc Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1983, 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)fcntl.h	8.3 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | // This file includes the definitions for open and fcntl | ||||||
|  | // described by POSIX for <fcntl.h>; it also includes | ||||||
|  | // related kernel definitions. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.10 2013/03/28 17:30:45 martynas Exp $ | ||||||
|  |  | ||||||
|  | // Written by J.T. Conklin <jtc@wimsey.com> 01/17/95. | ||||||
|  | // Public domain. | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky -- make sure you don't put spaces | ||||||
|  | // in between its arguments.  Do not use __CONCAT on double-quoted strings, | ||||||
|  | // such as those from the __STRING macro: to concatenate strings just put | ||||||
|  | // them next to each other. | ||||||
|  |  | ||||||
|  | // GCC1 and some versions of GCC2 declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions using "volatile" and "const"; | ||||||
|  | // unfortunately, these then cause warnings under "-ansi -pedantic". | ||||||
|  | // GCC >= 2.5 uses the __attribute__((attrs)) style.  All of these | ||||||
|  | // work for GNU C++ (modulo a slight glitch in the C++ grammar in | ||||||
|  | // the distribution version of 2.5.5). | ||||||
|  |  | ||||||
|  | // __returns_twice makes the compiler not assume the function | ||||||
|  | // only returns once.  This affects registerisation of variables: | ||||||
|  | // even local variables need to be in memory across such a call. | ||||||
|  | // Example: setjmp() | ||||||
|  |  | ||||||
|  | // __only_inline makes the compiler only use this function definition | ||||||
|  | // for inlining; references that can't be inlined will be left as | ||||||
|  | // external references instead of generating a local copy.  The | ||||||
|  | // matching library should include a simple extern definition for | ||||||
|  | // the function to handle those references.  c.f. ctype.h | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // Delete pseudo-keywords wherever they are not available or needed. | ||||||
|  |  | ||||||
|  | // The __packed macro indicates that a variable or structure members | ||||||
|  | // should have the smallest possible alignment, despite any host CPU | ||||||
|  | // alignment requirements. | ||||||
|  | // | ||||||
|  | // The __aligned(x) macro specifies the minimum alignment of a | ||||||
|  | // variable or structure. | ||||||
|  | // | ||||||
|  | // These macros together are useful for describing the layout and | ||||||
|  | // alignment of messages exchanged with hardware or other systems. | ||||||
|  |  | ||||||
|  | // "The nice thing about standards is that there are so many to choose from." | ||||||
|  | // There are a number of "feature test macros" specified by (different) | ||||||
|  | // standards that determine which interfaces and types the header files | ||||||
|  | // should expose. | ||||||
|  | // | ||||||
|  | // Because of inconsistencies in these macros, we define our own | ||||||
|  | // set in the private name space that end in _VISIBLE.  These are | ||||||
|  | // always defined and so headers can test their values easily. | ||||||
|  | // Things can get tricky when multiple feature macros are defined. | ||||||
|  | // We try to take the union of all the features requested. | ||||||
|  | // | ||||||
|  | // The following macros are guaranteed to have a value after cdefs.h | ||||||
|  | // has been included: | ||||||
|  | //	__POSIX_VISIBLE | ||||||
|  | //	__XPG_VISIBLE | ||||||
|  | //	__ISO_C_VISIBLE | ||||||
|  | //	__BSD_VISIBLE | ||||||
|  |  | ||||||
|  | // X/Open Portability Guides and Single Unix Specifications. | ||||||
|  | // _XOPEN_SOURCE				XPG3 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_VERSION = 4		XPG4 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1	XPG4v2 | ||||||
|  | // _XOPEN_SOURCE == 500				XPG5 | ||||||
|  | // _XOPEN_SOURCE == 520				XPG5v2 | ||||||
|  | // _XOPEN_SOURCE == 600				POSIX 1003.1-2001 with XSI | ||||||
|  | // _XOPEN_SOURCE == 700				POSIX 1003.1-2008 with XSI | ||||||
|  | // | ||||||
|  | // The XPG spec implies a specific value for _POSIX_C_SOURCE. | ||||||
|  |  | ||||||
|  | // POSIX macros, these checks must follow the XOPEN ones above. | ||||||
|  | // | ||||||
|  | // _POSIX_SOURCE == 1		1003.1-1988 (superseded by _POSIX_C_SOURCE) | ||||||
|  | // _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | // _POSIX_C_SOURCE == 2		1003.2-1992 | ||||||
|  | // _POSIX_C_SOURCE == 199309L	1003.1b-1993 | ||||||
|  | // _POSIX_C_SOURCE == 199506L   1003.1c-1995, 1003.1i-1995, | ||||||
|  | //				and the omnibus ISO/IEC 9945-1:1996 | ||||||
|  | // _POSIX_C_SOURCE == 200112L   1003.1-2001 | ||||||
|  | // _POSIX_C_SOURCE == 200809L   1003.1-2008 | ||||||
|  | // | ||||||
|  | // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though | ||||||
|  | // this may be overridden by the _ISOC99_SOURCE macro later. | ||||||
|  |  | ||||||
|  | // _ANSI_SOURCE means to expose ANSI C89 interfaces only. | ||||||
|  | // If the user defines it in addition to one of the POSIX or XOPEN | ||||||
|  | // macros, assume the POSIX/XOPEN macro(s) should take precedence. | ||||||
|  |  | ||||||
|  | // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus | ||||||
|  | // override any of the other macros since they are non-exclusive. | ||||||
|  |  | ||||||
|  | // Finally deal with BSD-specific interfaces that are not covered | ||||||
|  | // by any standards.  We expose these when none of the POSIX or XPG | ||||||
|  | // macros is defined or if the user explicitly asks for them. | ||||||
|  |  | ||||||
|  | // Default values. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  | //	$NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1982, 1986, 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.4 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: endian.h,v 1.25 2014/12/21 04:49:00 guenther Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Public definitions for little- and big-endian systems. | ||||||
|  | // This file should be included as <endian.h> in userspace and as | ||||||
|  | // <sys/endian.h> in the kernel. | ||||||
|  | // | ||||||
|  | // System headers that need endian information but that can't or don't | ||||||
|  | // want to export the public names here should include <sys/_endian.h> | ||||||
|  | // and use the internal names: _BYTE_ORDER, _*_ENDIAN, etc. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _endian.h,v 1.8 2018/01/11 23:13:37 dlg Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Internal endianness macros.  This pulls in <machine/endian.h> to | ||||||
|  | // get the correct setting direction for the platform and sets internal | ||||||
|  | // ('__' prefix) macros appropriately. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _types.h,v 1.23 2018/03/05 01:15:25 deraadt Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | //	@(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  |  | ||||||
|  | // _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned | ||||||
|  | // value for all data types (int, long, ...).   The result is an | ||||||
|  | // unsigned long and must be cast to any desired pointer type. | ||||||
|  | // | ||||||
|  | // _ALIGNED_POINTER is a boolean macro that checks whether an address | ||||||
|  | // is valid to fetch data elements of type t from on this architecture. | ||||||
|  | // This does not reflect the optimal alignment, just the possibility | ||||||
|  | // (within reasonable limits). | ||||||
|  |  | ||||||
|  | // 7.18.1.1 Exact-width integer types | ||||||
|  | type X__int8_t = int8     /* _types.h:61:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:62:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:63:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:64:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:65:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:66:23 */ | ||||||
|  | type X__int64_t = int64   /* _types.h:67:20 */ | ||||||
|  | type X__uint64_t = uint64 /* _types.h:68:28 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.2 Minimum-width integer types | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:71:19 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:72:20 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:73:20 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:74:21 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:75:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:76:21 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:77:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:78:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.3 Fastest minimum-width integer types | ||||||
|  | type X__int_fast8_t = X__int32_t    /* _types.h:81:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t  /* _types.h:82:21 */ | ||||||
|  | type X__int_fast16_t = X__int32_t   /* _types.h:83:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t /* _types.h:84:21 */ | ||||||
|  | type X__int_fast32_t = X__int32_t   /* _types.h:85:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t /* _types.h:86:21 */ | ||||||
|  | type X__int_fast64_t = X__int64_t   /* _types.h:87:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t /* _types.h:88:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.4 Integer types capable of holding object pointers | ||||||
|  | type X__intptr_t = int32   /* _types.h:103:16 */ | ||||||
|  | type X__uintptr_t = uint32 /* _types.h:104:24 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.5 Greatest-width integer types | ||||||
|  | type X__intmax_t = X__int64_t   /* _types.h:107:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t /* _types.h:108:21 */ | ||||||
|  |  | ||||||
|  | // Register size | ||||||
|  | type X__register_t = int32 /* _types.h:111:16 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type X__vaddr_t = uint32 /* _types.h:114:24 */ | ||||||
|  | type X__paddr_t = uint32 /* _types.h:115:24 */ | ||||||
|  | type X__vsize_t = uint32 /* _types.h:116:24 */ | ||||||
|  | type X__psize_t = uint32 /* _types.h:117:24 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type X__double_t = float64           /* _types.h:120:22 */ | ||||||
|  | type X__float_t = float64            /* _types.h:121:22 */ | ||||||
|  | type X__ptrdiff_t = int32            /* _types.h:122:16 */ | ||||||
|  | type X__size_t = uint32              /* _types.h:123:24 */ | ||||||
|  | type X__ssize_t = int32              /* _types.h:124:16 */ | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:126:27 */ | ||||||
|  |  | ||||||
|  | // Wide character support types | ||||||
|  | type X__wchar_t = int32     /* _types.h:133:15 */ | ||||||
|  | type X__wint_t = int32      /* _types.h:135:15 */ | ||||||
|  | type X__rune_t = int32      /* _types.h:136:15 */ | ||||||
|  | type X__wctrans_t = uintptr /* _types.h:137:14 */ | ||||||
|  | type X__wctype_t = uintptr  /* _types.h:138:14 */ | ||||||
|  |  | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:39:19 */ // blocks allocated for file | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // optimal blocksize for I/O | ||||||
|  | type X__clock_t = X__int64_t     /* _types.h:41:19 */ // ticks in CLOCKS_PER_SEC | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // CLOCK_* identifiers | ||||||
|  | type X__cpuid_t = uint32         /* _types.h:43:23 */ // CPU id | ||||||
|  | type X__dev_t = X__int32_t       /* _types.h:44:19 */ // device number | ||||||
|  | type X__fixpt_t = X__uint32_t    /* _types.h:45:20 */ // fixed point number | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:46:20 */ // file system block count | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:47:20 */ // file system file count | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:48:20 */ // group id | ||||||
|  | type X__id_t = X__uint32_t       /* _types.h:49:20 */ // may contain pid, uid or gid | ||||||
|  | type X__in_addr_t = X__uint32_t  /* _types.h:50:20 */ // base type for internet address | ||||||
|  | type X__in_port_t = X__uint16_t  /* _types.h:51:20 */ // IP port type | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:52:20 */ // inode number | ||||||
|  | type X__key_t = int32            /* _types.h:53:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__mode_t = X__uint32_t     /* _types.h:54:20 */ // permissions | ||||||
|  | type X__nlink_t = X__uint32_t    /* _types.h:55:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:56:19 */ // file offset or size | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process id | ||||||
|  | type X__rlim_t = X__uint64_t     /* _types.h:58:20 */ // resource limit | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family type | ||||||
|  | type X__segsz_t = X__int32_t     /* _types.h:60:19 */ // segment size | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:61:20 */ // length type for network syscalls | ||||||
|  | type X__suseconds_t = int32      /* _types.h:62:15 */ // microseconds (signed) | ||||||
|  | type X__time_t = X__int64_t      /* _types.h:63:19 */ // epoch time | ||||||
|  | type X__timer_t = X__int32_t     /* _types.h:64:19 */ // POSIX timer identifiers | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:65:20 */ // user id | ||||||
|  | type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state, during multibyte | ||||||
|  | // stream conversions. The content must not be referenced by user programs. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint32 | ||||||
|  | 	F__mbstate8  [128]int8 | ||||||
|  | } /* _types.h:75:3 */ | ||||||
|  |  | ||||||
|  | // Tell sys/endian.h we have MD variants of the swap macros. | ||||||
|  |  | ||||||
|  | // Note that these macros evaluate their arguments several times. | ||||||
|  |  | ||||||
|  | // Public names | ||||||
|  |  | ||||||
|  | // These are specified to be function-like macros to match the spec | ||||||
|  |  | ||||||
|  | // POSIX names | ||||||
|  |  | ||||||
|  | // original BSD names | ||||||
|  |  | ||||||
|  | // these were exposed here before | ||||||
|  |  | ||||||
|  | // ancient stuff | ||||||
|  |  | ||||||
|  | type U_char = uint8   /* types.h:51:23 */ | ||||||
|  | type U_short = uint16 /* types.h:52:24 */ | ||||||
|  | type U_int = uint32   /* types.h:53:22 */ | ||||||
|  | type U_long = uint32  /* types.h:54:23 */ | ||||||
|  |  | ||||||
|  | type Unchar = uint8  /* types.h:56:23 */ // Sys V compatibility | ||||||
|  | type Ushort = uint16 /* types.h:57:24 */ // Sys V compatibility | ||||||
|  | type Uint = uint32   /* types.h:58:22 */ // Sys V compatibility | ||||||
|  | type Ulong = uint32  /* types.h:59:23 */ // Sys V compatibility | ||||||
|  |  | ||||||
|  | type Cpuid_t = X__cpuid_t       /* types.h:61:19 */ // CPU id | ||||||
|  | type Register_t = X__register_t /* types.h:62:22 */ // register-sized type | ||||||
|  |  | ||||||
|  | // XXX The exact-width bit types should only be exposed if __BSD_VISIBLE | ||||||
|  | //     but the rest of the includes are not ready for that yet. | ||||||
|  |  | ||||||
|  | type Int8_t = X__int8_t /* types.h:75:19 */ | ||||||
|  |  | ||||||
|  | type Uint8_t = X__uint8_t /* types.h:80:20 */ | ||||||
|  |  | ||||||
|  | type Int16_t = X__int16_t /* types.h:85:20 */ | ||||||
|  |  | ||||||
|  | type Uint16_t = X__uint16_t /* types.h:90:21 */ | ||||||
|  |  | ||||||
|  | type Int32_t = X__int32_t /* types.h:95:20 */ | ||||||
|  |  | ||||||
|  | type Uint32_t = X__uint32_t /* types.h:100:21 */ | ||||||
|  |  | ||||||
|  | type Int64_t = X__int64_t /* types.h:105:20 */ | ||||||
|  |  | ||||||
|  | type Uint64_t = X__uint64_t /* types.h:110:21 */ | ||||||
|  |  | ||||||
|  | // BSD-style unsigned bits types | ||||||
|  | type U_int8_t = X__uint8_t   /* types.h:114:19 */ | ||||||
|  | type U_int16_t = X__uint16_t /* types.h:115:20 */ | ||||||
|  | type U_int32_t = X__uint32_t /* types.h:116:20 */ | ||||||
|  | type U_int64_t = X__uint64_t /* types.h:117:20 */ | ||||||
|  |  | ||||||
|  | // quads, deprecated in favor of 64 bit int types | ||||||
|  | type Quad_t = X__int64_t    /* types.h:120:19 */ | ||||||
|  | type U_quad_t = X__uint64_t /* types.h:121:20 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type Vaddr_t = X__vaddr_t /* types.h:125:19 */ | ||||||
|  | type Paddr_t = X__paddr_t /* types.h:126:19 */ | ||||||
|  | type Vsize_t = X__vsize_t /* types.h:127:19 */ | ||||||
|  | type Psize_t = X__psize_t /* types.h:128:19 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type Blkcnt_t = X__blkcnt_t       /* types.h:132:20 */ // blocks allocated for file | ||||||
|  | type Blksize_t = X__blksize_t     /* types.h:133:21 */ // optimal blocksize for I/O | ||||||
|  | type Caddr_t = uintptr            /* types.h:134:14 */ // core address | ||||||
|  | type Daddr32_t = X__int32_t       /* types.h:135:19 */ // 32-bit disk address | ||||||
|  | type Daddr_t = X__int64_t         /* types.h:136:19 */ // 64-bit disk address | ||||||
|  | type Dev_t = X__dev_t             /* types.h:137:18 */ // device number | ||||||
|  | type Fixpt_t = X__fixpt_t         /* types.h:138:19 */ // fixed point number | ||||||
|  | type Gid_t = X__gid_t             /* types.h:139:18 */ // group id | ||||||
|  | type Id_t = X__id_t               /* types.h:140:17 */ // may contain pid, uid or gid | ||||||
|  | type Ino_t = X__ino_t             /* types.h:141:18 */ // inode number | ||||||
|  | type Key_t = X__key_t             /* types.h:142:18 */ // IPC key (for Sys V IPC) | ||||||
|  | type Mode_t = X__mode_t           /* types.h:143:18 */ // permissions | ||||||
|  | type Nlink_t = X__nlink_t         /* types.h:144:19 */ // link count | ||||||
|  | type Rlim_t = X__rlim_t           /* types.h:145:18 */ // resource limit | ||||||
|  | type Segsz_t = X__segsz_t         /* types.h:146:19 */ // segment size | ||||||
|  | type Uid_t = X__uid_t             /* types.h:147:18 */ // user id | ||||||
|  | type Useconds_t = X__useconds_t   /* types.h:148:22 */ // microseconds | ||||||
|  | type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed) | ||||||
|  | type Fsblkcnt_t = X__fsblkcnt_t   /* types.h:150:22 */ // file system block count | ||||||
|  | type Fsfilcnt_t = X__fsfilcnt_t   /* types.h:151:22 */ // file system file count | ||||||
|  |  | ||||||
|  | // The following types may be defined in multiple header files. | ||||||
|  | type Clock_t = X__clock_t /* types.h:158:19 */ | ||||||
|  |  | ||||||
|  | type Clockid_t = X__clockid_t /* types.h:163:21 */ | ||||||
|  |  | ||||||
|  | type Pid_t = X__pid_t /* types.h:168:18 */ | ||||||
|  |  | ||||||
|  | type Ssize_t = X__ssize_t /* types.h:178:19 */ | ||||||
|  |  | ||||||
|  | type Time_t = X__time_t /* types.h:183:18 */ | ||||||
|  |  | ||||||
|  | type Timer_t = X__timer_t /* types.h:188:19 */ | ||||||
|  |  | ||||||
|  | type Off_t = X__off_t /* types.h:193:18 */ | ||||||
|  |  | ||||||
|  | // Major, minor numbers, dev_t's. | ||||||
|  |  | ||||||
|  | // File status flags: these are used by open(2), fcntl(2). | ||||||
|  | // They are also used (indirectly) in the kernel file structure f_flags, | ||||||
|  | // which is a superset of the open/fcntl flags.  Open flags and f_flags | ||||||
|  | // are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags). | ||||||
|  | // Open/fcntl flags begin with O_; kernel-internal flags begin with F. | ||||||
|  | // open-only flags | ||||||
|  |  | ||||||
|  | // Kernel encoding of open mode; separate read and write bits that are | ||||||
|  | // independently testable: 1 greater than the above. | ||||||
|  | // | ||||||
|  | // XXX | ||||||
|  | // FREAD and FWRITE are excluded from the #ifdef _KERNEL so that TIOCFLUSH, | ||||||
|  | // which was documented to use FREAD/FWRITE, continues to work. | ||||||
|  |  | ||||||
|  | // POSIX 1003.1 specifies a higher granularity for synchronous operations | ||||||
|  | // than we support.  Since synchronicity is all or nothing in OpenBSD | ||||||
|  | // we just define these to be the same as O_SYNC. | ||||||
|  |  | ||||||
|  | // defined by POSIX 1003.1; BSD default, this bit is not required | ||||||
|  |  | ||||||
|  | // defined by POSIX Issue 7 | ||||||
|  |  | ||||||
|  | // The O_* flags used to have only F* names, which were used in the kernel | ||||||
|  | // and by fcntl.  We retain the F* names for the kernel f_flags field | ||||||
|  | // and for backward compatibility for fcntl. | ||||||
|  |  | ||||||
|  | // Constants used for fcntl(2) | ||||||
|  |  | ||||||
|  | // command values | ||||||
|  |  | ||||||
|  | // file descriptor flags (F_GETFD, F_SETFD) | ||||||
|  |  | ||||||
|  | // record locking flags (F_GETLK, F_SETLK, F_SETLKW) | ||||||
|  |  | ||||||
|  | // Advisory file segment locking data type - | ||||||
|  | // information passed to system by user | ||||||
|  | type Flock = struct { | ||||||
|  | 	Fl_start  Off_t | ||||||
|  | 	Fl_len    Off_t | ||||||
|  | 	Fl_pid    Pid_t | ||||||
|  | 	Fl_type   int16 | ||||||
|  | 	Fl_whence int16 | ||||||
|  | } /* fcntl.h:180:1 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										825
									
								
								vendor/modernc.org/libc/fcntl/fcntl_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										825
									
								
								vendor/modernc.org/libc/fcntl/fcntl_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,825 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_openbsd_amd64.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	AT_EACCESS           = 0x01    // fcntl.h:200:1: | ||||||
|  | 	AT_FDCWD             = -100    // fcntl.h:198:1: | ||||||
|  | 	AT_REMOVEDIR         = 0x08    // fcntl.h:203:1: | ||||||
|  | 	AT_SYMLINK_FOLLOW    = 0x04    // fcntl.h:202:1: | ||||||
|  | 	AT_SYMLINK_NOFOLLOW  = 0x02    // fcntl.h:201:1: | ||||||
|  | 	BIG_ENDIAN           = 4321    // endian.h:45:1: | ||||||
|  | 	BYTE_ORDER           = 1234    // endian.h:47:1: | ||||||
|  | 	FAPPEND              = 8       // fcntl.h:130:1: | ||||||
|  | 	FASYNC               = 64      // fcntl.h:131:1: | ||||||
|  | 	FD_CLOEXEC           = 1       // fcntl.h:163:1: | ||||||
|  | 	FFSYNC               = 128     // fcntl.h:132:1: | ||||||
|  | 	FNDELAY              = 4       // fcntl.h:134:1: | ||||||
|  | 	FNONBLOCK            = 4       // fcntl.h:133:1: | ||||||
|  | 	FREAD                = 0x0001  // fcntl.h:76:1: | ||||||
|  | 	FWRITE               = 0x0002  // fcntl.h:77:1: | ||||||
|  | 	F_DUPFD              = 0       // fcntl.h:143:1: | ||||||
|  | 	F_DUPFD_CLOEXEC      = 10      // fcntl.h:156:1: | ||||||
|  | 	F_GETFD              = 1       // fcntl.h:144:1: | ||||||
|  | 	F_GETFL              = 3       // fcntl.h:146:1: | ||||||
|  | 	F_GETLK              = 7       // fcntl.h:152:1: | ||||||
|  | 	F_GETOWN             = 5       // fcntl.h:149:1: | ||||||
|  | 	F_ISATTY             = 11      // fcntl.h:159:1: | ||||||
|  | 	F_RDLCK              = 1       // fcntl.h:166:1: | ||||||
|  | 	F_SETFD              = 2       // fcntl.h:145:1: | ||||||
|  | 	F_SETFL              = 4       // fcntl.h:147:1: | ||||||
|  | 	F_SETLK              = 8       // fcntl.h:153:1: | ||||||
|  | 	F_SETLKW             = 9       // fcntl.h:154:1: | ||||||
|  | 	F_SETOWN             = 6       // fcntl.h:150:1: | ||||||
|  | 	F_UNLCK              = 2       // fcntl.h:167:1: | ||||||
|  | 	F_WRLCK              = 3       // fcntl.h:168:1: | ||||||
|  | 	LITTLE_ENDIAN        = 1234    // endian.h:44:1: | ||||||
|  | 	LOCK_EX              = 0x02    // fcntl.h:192:1: | ||||||
|  | 	LOCK_NB              = 0x04    // fcntl.h:193:1: | ||||||
|  | 	LOCK_SH              = 0x01    // fcntl.h:191:1: | ||||||
|  | 	LOCK_UN              = 0x08    // fcntl.h:194:1: | ||||||
|  | 	O_ACCMODE            = 0x0003  // fcntl.h:65:1: | ||||||
|  | 	O_APPEND             = 0x0008  // fcntl.h:80:1: | ||||||
|  | 	O_ASYNC              = 0x0040  // fcntl.h:84:1: | ||||||
|  | 	O_CLOEXEC            = 0x10000 // fcntl.h:107:1: | ||||||
|  | 	O_CREAT              = 0x0200  // fcntl.h:91:1: | ||||||
|  | 	O_DIRECTORY          = 0x20000 // fcntl.h:108:1: | ||||||
|  | 	O_DSYNC              = 128     // fcntl.h:100:1: | ||||||
|  | 	O_EXCL               = 0x0800  // fcntl.h:93:1: | ||||||
|  | 	O_EXLOCK             = 0x0020  // fcntl.h:83:1: | ||||||
|  | 	O_FSYNC              = 0x0080  // fcntl.h:85:1: | ||||||
|  | 	O_NDELAY             = 4       // fcntl.h:135:1: | ||||||
|  | 	O_NOCTTY             = 0x8000  // fcntl.h:104:1: | ||||||
|  | 	O_NOFOLLOW           = 0x0100  // fcntl.h:86:1: | ||||||
|  | 	O_NONBLOCK           = 0x0004  // fcntl.h:79:1: | ||||||
|  | 	O_RDONLY             = 0x0000  // fcntl.h:62:1: | ||||||
|  | 	O_RDWR               = 0x0002  // fcntl.h:64:1: | ||||||
|  | 	O_RSYNC              = 128     // fcntl.h:101:1: | ||||||
|  | 	O_SHLOCK             = 0x0010  // fcntl.h:82:1: | ||||||
|  | 	O_SYNC               = 0x0080  // fcntl.h:89:1: | ||||||
|  | 	O_TRUNC              = 0x0400  // fcntl.h:92:1: | ||||||
|  | 	O_WRONLY             = 0x0001  // fcntl.h:63:1: | ||||||
|  | 	PDP_ENDIAN           = 3412    // endian.h:46:1: | ||||||
|  | 	X_BIG_ENDIAN         = 4321    // _endian.h:43:1: | ||||||
|  | 	X_BYTE_ORDER         = 1234    // endian.h:58:1: | ||||||
|  | 	X_CLOCKID_T_DEFINED_ = 0       // types.h:162:1: | ||||||
|  | 	X_CLOCK_T_DEFINED_   = 0       // types.h:157:1: | ||||||
|  | 	X_FILE_OFFSET_BITS   = 64      // <builtin>:25:1: | ||||||
|  | 	X_INT16_T_DEFINED_   = 0       // types.h:84:1: | ||||||
|  | 	X_INT32_T_DEFINED_   = 0       // types.h:94:1: | ||||||
|  | 	X_INT64_T_DEFINED_   = 0       // types.h:104:1: | ||||||
|  | 	X_INT8_T_DEFINED_    = 0       // types.h:74:1: | ||||||
|  | 	X_LITTLE_ENDIAN      = 1234    // _endian.h:42:1: | ||||||
|  | 	X_LP64               = 1       // <predefined>:1:1: | ||||||
|  | 	X_MACHINE_CDEFS_H_   = 0       // cdefs.h:9:1: | ||||||
|  | 	X_MACHINE_ENDIAN_H_  = 0       // endian.h:28:1: | ||||||
|  | 	X_MACHINE__TYPES_H_  = 0       // _types.h:36:1: | ||||||
|  | 	X_MAX_PAGE_SHIFT     = 12      // _types.h:52:1: | ||||||
|  | 	X_OFF_T_DEFINED_     = 0       // types.h:192:1: | ||||||
|  | 	X_PDP_ENDIAN         = 3412    // _endian.h:44:1: | ||||||
|  | 	X_PID_T_DEFINED_     = 0       // types.h:167:1: | ||||||
|  | 	X_QUAD_HIGHWORD      = 1       // _endian.h:95:1: | ||||||
|  | 	X_QUAD_LOWWORD       = 0       // _endian.h:96:1: | ||||||
|  | 	X_RET_PROTECTOR      = 1       // <predefined>:2:1: | ||||||
|  | 	X_SIZE_T_DEFINED_    = 0       // types.h:172:1: | ||||||
|  | 	X_SSIZE_T_DEFINED_   = 0       // types.h:177:1: | ||||||
|  | 	X_STACKALIGNBYTES    = 15      // _types.h:49:1: | ||||||
|  | 	X_SYS_CDEFS_H_       = 0       // cdefs.h:39:1: | ||||||
|  | 	X_SYS_ENDIAN_H_      = 0       // endian.h:38:1: | ||||||
|  | 	X_SYS_FCNTL_H_       = 0       // fcntl.h:41:1: | ||||||
|  | 	X_SYS_TYPES_H_       = 0       // types.h:41:1: | ||||||
|  | 	X_SYS__ENDIAN_H_     = 0       // _endian.h:34:1: | ||||||
|  | 	X_SYS__TYPES_H_      = 0       // _types.h:35:1: | ||||||
|  | 	X_TIMER_T_DEFINED_   = 0       // types.h:187:1: | ||||||
|  | 	X_TIME_T_DEFINED_    = 0       // types.h:182:1: | ||||||
|  | 	X_UINT16_T_DEFINED_  = 0       // types.h:89:1: | ||||||
|  | 	X_UINT32_T_DEFINED_  = 0       // types.h:99:1: | ||||||
|  | 	X_UINT64_T_DEFINED_  = 0       // types.h:109:1: | ||||||
|  | 	X_UINT8_T_DEFINED_   = 0       // types.h:79:1: | ||||||
|  | 	Unix                 = 1       // <predefined>:344:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | //	$OpenBSD: fcntl.h,v 1.22 2019/01/21 18:09:21 anton Exp $ | ||||||
|  | //	$NetBSD: fcntl.h,v 1.8 1995/03/26 20:24:12 jtc Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1983, 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)fcntl.h	8.3 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | // This file includes the definitions for open and fcntl | ||||||
|  | // described by POSIX for <fcntl.h>; it also includes | ||||||
|  | // related kernel definitions. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.3 2013/03/28 17:30:45 martynas Exp $ | ||||||
|  |  | ||||||
|  | // Written by J.T. Conklin <jtc@wimsey.com> 01/17/95. | ||||||
|  | // Public domain. | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky -- make sure you don't put spaces | ||||||
|  | // in between its arguments.  Do not use __CONCAT on double-quoted strings, | ||||||
|  | // such as those from the __STRING macro: to concatenate strings just put | ||||||
|  | // them next to each other. | ||||||
|  |  | ||||||
|  | // GCC1 and some versions of GCC2 declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions using "volatile" and "const"; | ||||||
|  | // unfortunately, these then cause warnings under "-ansi -pedantic". | ||||||
|  | // GCC >= 2.5 uses the __attribute__((attrs)) style.  All of these | ||||||
|  | // work for GNU C++ (modulo a slight glitch in the C++ grammar in | ||||||
|  | // the distribution version of 2.5.5). | ||||||
|  |  | ||||||
|  | // __returns_twice makes the compiler not assume the function | ||||||
|  | // only returns once.  This affects registerisation of variables: | ||||||
|  | // even local variables need to be in memory across such a call. | ||||||
|  | // Example: setjmp() | ||||||
|  |  | ||||||
|  | // __only_inline makes the compiler only use this function definition | ||||||
|  | // for inlining; references that can't be inlined will be left as | ||||||
|  | // external references instead of generating a local copy.  The | ||||||
|  | // matching library should include a simple extern definition for | ||||||
|  | // the function to handle those references.  c.f. ctype.h | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // Delete pseudo-keywords wherever they are not available or needed. | ||||||
|  |  | ||||||
|  | // The __packed macro indicates that a variable or structure members | ||||||
|  | // should have the smallest possible alignment, despite any host CPU | ||||||
|  | // alignment requirements. | ||||||
|  | // | ||||||
|  | // The __aligned(x) macro specifies the minimum alignment of a | ||||||
|  | // variable or structure. | ||||||
|  | // | ||||||
|  | // These macros together are useful for describing the layout and | ||||||
|  | // alignment of messages exchanged with hardware or other systems. | ||||||
|  |  | ||||||
|  | // "The nice thing about standards is that there are so many to choose from." | ||||||
|  | // There are a number of "feature test macros" specified by (different) | ||||||
|  | // standards that determine which interfaces and types the header files | ||||||
|  | // should expose. | ||||||
|  | // | ||||||
|  | // Because of inconsistencies in these macros, we define our own | ||||||
|  | // set in the private name space that end in _VISIBLE.  These are | ||||||
|  | // always defined and so headers can test their values easily. | ||||||
|  | // Things can get tricky when multiple feature macros are defined. | ||||||
|  | // We try to take the union of all the features requested. | ||||||
|  | // | ||||||
|  | // The following macros are guaranteed to have a value after cdefs.h | ||||||
|  | // has been included: | ||||||
|  | //	__POSIX_VISIBLE | ||||||
|  | //	__XPG_VISIBLE | ||||||
|  | //	__ISO_C_VISIBLE | ||||||
|  | //	__BSD_VISIBLE | ||||||
|  |  | ||||||
|  | // X/Open Portability Guides and Single Unix Specifications. | ||||||
|  | // _XOPEN_SOURCE				XPG3 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_VERSION = 4		XPG4 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1	XPG4v2 | ||||||
|  | // _XOPEN_SOURCE == 500				XPG5 | ||||||
|  | // _XOPEN_SOURCE == 520				XPG5v2 | ||||||
|  | // _XOPEN_SOURCE == 600				POSIX 1003.1-2001 with XSI | ||||||
|  | // _XOPEN_SOURCE == 700				POSIX 1003.1-2008 with XSI | ||||||
|  | // | ||||||
|  | // The XPG spec implies a specific value for _POSIX_C_SOURCE. | ||||||
|  |  | ||||||
|  | // POSIX macros, these checks must follow the XOPEN ones above. | ||||||
|  | // | ||||||
|  | // _POSIX_SOURCE == 1		1003.1-1988 (superseded by _POSIX_C_SOURCE) | ||||||
|  | // _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | // _POSIX_C_SOURCE == 2		1003.2-1992 | ||||||
|  | // _POSIX_C_SOURCE == 199309L	1003.1b-1993 | ||||||
|  | // _POSIX_C_SOURCE == 199506L   1003.1c-1995, 1003.1i-1995, | ||||||
|  | //				and the omnibus ISO/IEC 9945-1:1996 | ||||||
|  | // _POSIX_C_SOURCE == 200112L   1003.1-2001 | ||||||
|  | // _POSIX_C_SOURCE == 200809L   1003.1-2008 | ||||||
|  | // | ||||||
|  | // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though | ||||||
|  | // this may be overridden by the _ISOC99_SOURCE macro later. | ||||||
|  |  | ||||||
|  | // _ANSI_SOURCE means to expose ANSI C89 interfaces only. | ||||||
|  | // If the user defines it in addition to one of the POSIX or XOPEN | ||||||
|  | // macros, assume the POSIX/XOPEN macro(s) should take precedence. | ||||||
|  |  | ||||||
|  | // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus | ||||||
|  | // override any of the other macros since they are non-exclusive. | ||||||
|  |  | ||||||
|  | // Finally deal with BSD-specific interfaces that are not covered | ||||||
|  | // by any standards.  We expose these when none of the POSIX or XPG | ||||||
|  | // macros is defined or if the user explicitly asks for them. | ||||||
|  |  | ||||||
|  | // Default values. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  | //	$NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1982, 1986, 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.4 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: endian.h,v 1.25 2014/12/21 04:49:00 guenther Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Public definitions for little- and big-endian systems. | ||||||
|  | // This file should be included as <endian.h> in userspace and as | ||||||
|  | // <sys/endian.h> in the kernel. | ||||||
|  | // | ||||||
|  | // System headers that need endian information but that can't or don't | ||||||
|  | // want to export the public names here should include <sys/_endian.h> | ||||||
|  | // and use the internal names: _BYTE_ORDER, _*_ENDIAN, etc. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _endian.h,v 1.8 2018/01/11 23:13:37 dlg Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Internal endianness macros.  This pulls in <machine/endian.h> to | ||||||
|  | // get the correct setting direction for the platform and sets internal | ||||||
|  | // ('__' prefix) macros appropriately. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _types.h,v 1.17 2018/03/05 01:15:25 deraadt Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | //	@(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  |  | ||||||
|  | // _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned | ||||||
|  | // value for all data types (int, long, ...).   The result is an | ||||||
|  | // unsigned long and must be cast to any desired pointer type. | ||||||
|  | // | ||||||
|  | // _ALIGNED_POINTER is a boolean macro that checks whether an address | ||||||
|  | // is valid to fetch data elements of type t from on this architecture. | ||||||
|  | // This does not reflect the optimal alignment, just the possibility | ||||||
|  | // (within reasonable limits). | ||||||
|  |  | ||||||
|  | // 7.18.1.1 Exact-width integer types | ||||||
|  | type X__int8_t = int8     /* _types.h:61:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:62:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:63:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:64:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:65:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:66:23 */ | ||||||
|  | type X__int64_t = int64   /* _types.h:67:20 */ | ||||||
|  | type X__uint64_t = uint64 /* _types.h:68:28 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.2 Minimum-width integer types | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:71:19 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:72:20 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:73:20 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:74:21 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:75:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:76:21 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:77:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:78:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.3 Fastest minimum-width integer types | ||||||
|  | type X__int_fast8_t = X__int32_t    /* _types.h:81:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t  /* _types.h:82:21 */ | ||||||
|  | type X__int_fast16_t = X__int32_t   /* _types.h:83:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t /* _types.h:84:21 */ | ||||||
|  | type X__int_fast32_t = X__int32_t   /* _types.h:85:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t /* _types.h:86:21 */ | ||||||
|  | type X__int_fast64_t = X__int64_t   /* _types.h:87:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t /* _types.h:88:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.4 Integer types capable of holding object pointers | ||||||
|  | type X__intptr_t = int64   /* _types.h:103:16 */ | ||||||
|  | type X__uintptr_t = uint64 /* _types.h:104:24 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.5 Greatest-width integer types | ||||||
|  | type X__intmax_t = X__int64_t   /* _types.h:107:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t /* _types.h:108:21 */ | ||||||
|  |  | ||||||
|  | // Register size | ||||||
|  | type X__register_t = int64 /* _types.h:111:16 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type X__vaddr_t = uint64 /* _types.h:114:24 */ | ||||||
|  | type X__paddr_t = uint64 /* _types.h:115:24 */ | ||||||
|  | type X__vsize_t = uint64 /* _types.h:116:24 */ | ||||||
|  | type X__psize_t = uint64 /* _types.h:117:24 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type X__double_t = float64           /* _types.h:120:18 */ | ||||||
|  | type X__float_t = float32            /* _types.h:121:17 */ | ||||||
|  | type X__ptrdiff_t = int64            /* _types.h:122:16 */ | ||||||
|  | type X__size_t = uint64              /* _types.h:123:24 */ | ||||||
|  | type X__ssize_t = int64              /* _types.h:124:16 */ | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:126:27 */ | ||||||
|  |  | ||||||
|  | // Wide character support types | ||||||
|  | type X__wchar_t = int32     /* _types.h:133:15 */ | ||||||
|  | type X__wint_t = int32      /* _types.h:135:15 */ | ||||||
|  | type X__rune_t = int32      /* _types.h:136:15 */ | ||||||
|  | type X__wctrans_t = uintptr /* _types.h:137:14 */ | ||||||
|  | type X__wctype_t = uintptr  /* _types.h:138:14 */ | ||||||
|  |  | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:39:19 */ // blocks allocated for file | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // optimal blocksize for I/O | ||||||
|  | type X__clock_t = X__int64_t     /* _types.h:41:19 */ // ticks in CLOCKS_PER_SEC | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // CLOCK_* identifiers | ||||||
|  | type X__cpuid_t = uint64         /* _types.h:43:23 */ // CPU id | ||||||
|  | type X__dev_t = X__int32_t       /* _types.h:44:19 */ // device number | ||||||
|  | type X__fixpt_t = X__uint32_t    /* _types.h:45:20 */ // fixed point number | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:46:20 */ // file system block count | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:47:20 */ // file system file count | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:48:20 */ // group id | ||||||
|  | type X__id_t = X__uint32_t       /* _types.h:49:20 */ // may contain pid, uid or gid | ||||||
|  | type X__in_addr_t = X__uint32_t  /* _types.h:50:20 */ // base type for internet address | ||||||
|  | type X__in_port_t = X__uint16_t  /* _types.h:51:20 */ // IP port type | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:52:20 */ // inode number | ||||||
|  | type X__key_t = int64            /* _types.h:53:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__mode_t = X__uint32_t     /* _types.h:54:20 */ // permissions | ||||||
|  | type X__nlink_t = X__uint32_t    /* _types.h:55:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:56:19 */ // file offset or size | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process id | ||||||
|  | type X__rlim_t = X__uint64_t     /* _types.h:58:20 */ // resource limit | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family type | ||||||
|  | type X__segsz_t = X__int32_t     /* _types.h:60:19 */ // segment size | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:61:20 */ // length type for network syscalls | ||||||
|  | type X__suseconds_t = int64      /* _types.h:62:15 */ // microseconds (signed) | ||||||
|  | type X__time_t = X__int64_t      /* _types.h:63:19 */ // epoch time | ||||||
|  | type X__timer_t = X__int32_t     /* _types.h:64:19 */ // POSIX timer identifiers | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:65:20 */ // user id | ||||||
|  | type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state, during multibyte | ||||||
|  | // stream conversions. The content must not be referenced by user programs. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint64 | ||||||
|  | 	F__mbstate8  [128]int8 | ||||||
|  | } /* _types.h:75:3 */ | ||||||
|  |  | ||||||
|  | // Tell sys/endian.h we have MD variants of the swap macros. | ||||||
|  |  | ||||||
|  | // Note that these macros evaluate their arguments several times. | ||||||
|  |  | ||||||
|  | // Public names | ||||||
|  |  | ||||||
|  | // These are specified to be function-like macros to match the spec | ||||||
|  |  | ||||||
|  | // POSIX names | ||||||
|  |  | ||||||
|  | // original BSD names | ||||||
|  |  | ||||||
|  | // these were exposed here before | ||||||
|  |  | ||||||
|  | // ancient stuff | ||||||
|  |  | ||||||
|  | type U_char = uint8   /* types.h:51:23 */ | ||||||
|  | type U_short = uint16 /* types.h:52:24 */ | ||||||
|  | type U_int = uint32   /* types.h:53:22 */ | ||||||
|  | type U_long = uint64  /* types.h:54:23 */ | ||||||
|  |  | ||||||
|  | type Unchar = uint8  /* types.h:56:23 */ // Sys V compatibility | ||||||
|  | type Ushort = uint16 /* types.h:57:24 */ // Sys V compatibility | ||||||
|  | type Uint = uint32   /* types.h:58:22 */ // Sys V compatibility | ||||||
|  | type Ulong = uint64  /* types.h:59:23 */ // Sys V compatibility | ||||||
|  |  | ||||||
|  | type Cpuid_t = X__cpuid_t       /* types.h:61:19 */ // CPU id | ||||||
|  | type Register_t = X__register_t /* types.h:62:22 */ // register-sized type | ||||||
|  |  | ||||||
|  | // XXX The exact-width bit types should only be exposed if __BSD_VISIBLE | ||||||
|  | //     but the rest of the includes are not ready for that yet. | ||||||
|  |  | ||||||
|  | type Int8_t = X__int8_t /* types.h:75:19 */ | ||||||
|  |  | ||||||
|  | type Uint8_t = X__uint8_t /* types.h:80:20 */ | ||||||
|  |  | ||||||
|  | type Int16_t = X__int16_t /* types.h:85:20 */ | ||||||
|  |  | ||||||
|  | type Uint16_t = X__uint16_t /* types.h:90:21 */ | ||||||
|  |  | ||||||
|  | type Int32_t = X__int32_t /* types.h:95:20 */ | ||||||
|  |  | ||||||
|  | type Uint32_t = X__uint32_t /* types.h:100:21 */ | ||||||
|  |  | ||||||
|  | type Int64_t = X__int64_t /* types.h:105:20 */ | ||||||
|  |  | ||||||
|  | type Uint64_t = X__uint64_t /* types.h:110:21 */ | ||||||
|  |  | ||||||
|  | // BSD-style unsigned bits types | ||||||
|  | type U_int8_t = X__uint8_t   /* types.h:114:19 */ | ||||||
|  | type U_int16_t = X__uint16_t /* types.h:115:20 */ | ||||||
|  | type U_int32_t = X__uint32_t /* types.h:116:20 */ | ||||||
|  | type U_int64_t = X__uint64_t /* types.h:117:20 */ | ||||||
|  |  | ||||||
|  | // quads, deprecated in favor of 64 bit int types | ||||||
|  | type Quad_t = X__int64_t    /* types.h:120:19 */ | ||||||
|  | type U_quad_t = X__uint64_t /* types.h:121:20 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type Vaddr_t = X__vaddr_t /* types.h:125:19 */ | ||||||
|  | type Paddr_t = X__paddr_t /* types.h:126:19 */ | ||||||
|  | type Vsize_t = X__vsize_t /* types.h:127:19 */ | ||||||
|  | type Psize_t = X__psize_t /* types.h:128:19 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type Blkcnt_t = X__blkcnt_t       /* types.h:132:20 */ // blocks allocated for file | ||||||
|  | type Blksize_t = X__blksize_t     /* types.h:133:21 */ // optimal blocksize for I/O | ||||||
|  | type Caddr_t = uintptr            /* types.h:134:14 */ // core address | ||||||
|  | type Daddr32_t = X__int32_t       /* types.h:135:19 */ // 32-bit disk address | ||||||
|  | type Daddr_t = X__int64_t         /* types.h:136:19 */ // 64-bit disk address | ||||||
|  | type Dev_t = X__dev_t             /* types.h:137:18 */ // device number | ||||||
|  | type Fixpt_t = X__fixpt_t         /* types.h:138:19 */ // fixed point number | ||||||
|  | type Gid_t = X__gid_t             /* types.h:139:18 */ // group id | ||||||
|  | type Id_t = X__id_t               /* types.h:140:17 */ // may contain pid, uid or gid | ||||||
|  | type Ino_t = X__ino_t             /* types.h:141:18 */ // inode number | ||||||
|  | type Key_t = X__key_t             /* types.h:142:18 */ // IPC key (for Sys V IPC) | ||||||
|  | type Mode_t = X__mode_t           /* types.h:143:18 */ // permissions | ||||||
|  | type Nlink_t = X__nlink_t         /* types.h:144:19 */ // link count | ||||||
|  | type Rlim_t = X__rlim_t           /* types.h:145:18 */ // resource limit | ||||||
|  | type Segsz_t = X__segsz_t         /* types.h:146:19 */ // segment size | ||||||
|  | type Uid_t = X__uid_t             /* types.h:147:18 */ // user id | ||||||
|  | type Useconds_t = X__useconds_t   /* types.h:148:22 */ // microseconds | ||||||
|  | type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed) | ||||||
|  | type Fsblkcnt_t = X__fsblkcnt_t   /* types.h:150:22 */ // file system block count | ||||||
|  | type Fsfilcnt_t = X__fsfilcnt_t   /* types.h:151:22 */ // file system file count | ||||||
|  |  | ||||||
|  | // The following types may be defined in multiple header files. | ||||||
|  | type Clock_t = X__clock_t /* types.h:158:19 */ | ||||||
|  |  | ||||||
|  | type Clockid_t = X__clockid_t /* types.h:163:21 */ | ||||||
|  |  | ||||||
|  | type Pid_t = X__pid_t /* types.h:168:18 */ | ||||||
|  |  | ||||||
|  | type Ssize_t = X__ssize_t /* types.h:178:19 */ | ||||||
|  |  | ||||||
|  | type Time_t = X__time_t /* types.h:183:18 */ | ||||||
|  |  | ||||||
|  | type Timer_t = X__timer_t /* types.h:188:19 */ | ||||||
|  |  | ||||||
|  | type Off_t = X__off_t /* types.h:193:18 */ | ||||||
|  |  | ||||||
|  | // Major, minor numbers, dev_t's. | ||||||
|  |  | ||||||
|  | // File status flags: these are used by open(2), fcntl(2). | ||||||
|  | // They are also used (indirectly) in the kernel file structure f_flags, | ||||||
|  | // which is a superset of the open/fcntl flags.  Open flags and f_flags | ||||||
|  | // are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags). | ||||||
|  | // Open/fcntl flags begin with O_; kernel-internal flags begin with F. | ||||||
|  | // open-only flags | ||||||
|  |  | ||||||
|  | // Kernel encoding of open mode; separate read and write bits that are | ||||||
|  | // independently testable: 1 greater than the above. | ||||||
|  | // | ||||||
|  | // XXX | ||||||
|  | // FREAD and FWRITE are excluded from the #ifdef _KERNEL so that TIOCFLUSH, | ||||||
|  | // which was documented to use FREAD/FWRITE, continues to work. | ||||||
|  |  | ||||||
|  | // POSIX 1003.1 specifies a higher granularity for synchronous operations | ||||||
|  | // than we support.  Since synchronicity is all or nothing in OpenBSD | ||||||
|  | // we just define these to be the same as O_SYNC. | ||||||
|  |  | ||||||
|  | // defined by POSIX 1003.1; BSD default, this bit is not required | ||||||
|  |  | ||||||
|  | // defined by POSIX Issue 7 | ||||||
|  |  | ||||||
|  | // The O_* flags used to have only F* names, which were used in the kernel | ||||||
|  | // and by fcntl.  We retain the F* names for the kernel f_flags field | ||||||
|  | // and for backward compatibility for fcntl. | ||||||
|  |  | ||||||
|  | // Constants used for fcntl(2) | ||||||
|  |  | ||||||
|  | // command values | ||||||
|  |  | ||||||
|  | // file descriptor flags (F_GETFD, F_SETFD) | ||||||
|  |  | ||||||
|  | // record locking flags (F_GETLK, F_SETLK, F_SETLKW) | ||||||
|  |  | ||||||
|  | // Advisory file segment locking data type - | ||||||
|  | // information passed to system by user | ||||||
|  | type Flock = struct { | ||||||
|  | 	Fl_start  Off_t | ||||||
|  | 	Fl_len    Off_t | ||||||
|  | 	Fl_pid    Pid_t | ||||||
|  | 	Fl_type   int16 | ||||||
|  | 	Fl_whence int16 | ||||||
|  | } /* fcntl.h:180:1 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										823
									
								
								vendor/modernc.org/libc/fcntl/fcntl_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										823
									
								
								vendor/modernc.org/libc/fcntl/fcntl_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,823 @@ | |||||||
|  | // Code generated by 'ccgo fcntl/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fcntl/fcntl_openbsd_arm64.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	AT_EACCESS           = 0x01    // fcntl.h:200:1: | ||||||
|  | 	AT_FDCWD             = -100    // fcntl.h:198:1: | ||||||
|  | 	AT_REMOVEDIR         = 0x08    // fcntl.h:203:1: | ||||||
|  | 	AT_SYMLINK_FOLLOW    = 0x04    // fcntl.h:202:1: | ||||||
|  | 	AT_SYMLINK_NOFOLLOW  = 0x02    // fcntl.h:201:1: | ||||||
|  | 	BIG_ENDIAN           = 4321    // endian.h:45:1: | ||||||
|  | 	BYTE_ORDER           = 1234    // endian.h:47:1: | ||||||
|  | 	FAPPEND              = 8       // fcntl.h:130:1: | ||||||
|  | 	FASYNC               = 64      // fcntl.h:131:1: | ||||||
|  | 	FD_CLOEXEC           = 1       // fcntl.h:163:1: | ||||||
|  | 	FFSYNC               = 128     // fcntl.h:132:1: | ||||||
|  | 	FNDELAY              = 4       // fcntl.h:134:1: | ||||||
|  | 	FNONBLOCK            = 4       // fcntl.h:133:1: | ||||||
|  | 	FREAD                = 0x0001  // fcntl.h:76:1: | ||||||
|  | 	FWRITE               = 0x0002  // fcntl.h:77:1: | ||||||
|  | 	F_DUPFD              = 0       // fcntl.h:143:1: | ||||||
|  | 	F_DUPFD_CLOEXEC      = 10      // fcntl.h:156:1: | ||||||
|  | 	F_GETFD              = 1       // fcntl.h:144:1: | ||||||
|  | 	F_GETFL              = 3       // fcntl.h:146:1: | ||||||
|  | 	F_GETLK              = 7       // fcntl.h:152:1: | ||||||
|  | 	F_GETOWN             = 5       // fcntl.h:149:1: | ||||||
|  | 	F_ISATTY             = 11      // fcntl.h:159:1: | ||||||
|  | 	F_RDLCK              = 1       // fcntl.h:166:1: | ||||||
|  | 	F_SETFD              = 2       // fcntl.h:145:1: | ||||||
|  | 	F_SETFL              = 4       // fcntl.h:147:1: | ||||||
|  | 	F_SETLK              = 8       // fcntl.h:153:1: | ||||||
|  | 	F_SETLKW             = 9       // fcntl.h:154:1: | ||||||
|  | 	F_SETOWN             = 6       // fcntl.h:150:1: | ||||||
|  | 	F_UNLCK              = 2       // fcntl.h:167:1: | ||||||
|  | 	F_WRLCK              = 3       // fcntl.h:168:1: | ||||||
|  | 	LITTLE_ENDIAN        = 1234    // endian.h:44:1: | ||||||
|  | 	LOCK_EX              = 0x02    // fcntl.h:192:1: | ||||||
|  | 	LOCK_NB              = 0x04    // fcntl.h:193:1: | ||||||
|  | 	LOCK_SH              = 0x01    // fcntl.h:191:1: | ||||||
|  | 	LOCK_UN              = 0x08    // fcntl.h:194:1: | ||||||
|  | 	O_ACCMODE            = 0x0003  // fcntl.h:65:1: | ||||||
|  | 	O_APPEND             = 0x0008  // fcntl.h:80:1: | ||||||
|  | 	O_ASYNC              = 0x0040  // fcntl.h:84:1: | ||||||
|  | 	O_CLOEXEC            = 0x10000 // fcntl.h:107:1: | ||||||
|  | 	O_CREAT              = 0x0200  // fcntl.h:91:1: | ||||||
|  | 	O_DIRECTORY          = 0x20000 // fcntl.h:108:1: | ||||||
|  | 	O_DSYNC              = 128     // fcntl.h:100:1: | ||||||
|  | 	O_EXCL               = 0x0800  // fcntl.h:93:1: | ||||||
|  | 	O_EXLOCK             = 0x0020  // fcntl.h:83:1: | ||||||
|  | 	O_FSYNC              = 0x0080  // fcntl.h:85:1: | ||||||
|  | 	O_NDELAY             = 4       // fcntl.h:135:1: | ||||||
|  | 	O_NOCTTY             = 0x8000  // fcntl.h:104:1: | ||||||
|  | 	O_NOFOLLOW           = 0x0100  // fcntl.h:86:1: | ||||||
|  | 	O_NONBLOCK           = 0x0004  // fcntl.h:79:1: | ||||||
|  | 	O_RDONLY             = 0x0000  // fcntl.h:62:1: | ||||||
|  | 	O_RDWR               = 0x0002  // fcntl.h:64:1: | ||||||
|  | 	O_RSYNC              = 128     // fcntl.h:101:1: | ||||||
|  | 	O_SHLOCK             = 0x0010  // fcntl.h:82:1: | ||||||
|  | 	O_SYNC               = 0x0080  // fcntl.h:89:1: | ||||||
|  | 	O_TRUNC              = 0x0400  // fcntl.h:92:1: | ||||||
|  | 	O_WRONLY             = 0x0001  // fcntl.h:63:1: | ||||||
|  | 	PDP_ENDIAN           = 3412    // endian.h:46:1: | ||||||
|  | 	X_BIG_ENDIAN         = 4321    // _endian.h:43:1: | ||||||
|  | 	X_BYTE_ORDER         = 1234    // endian.h:60:1: | ||||||
|  | 	X_CLOCKID_T_DEFINED_ = 0       // types.h:162:1: | ||||||
|  | 	X_CLOCK_T_DEFINED_   = 0       // types.h:157:1: | ||||||
|  | 	X_FILE_OFFSET_BITS   = 64      // <builtin>:25:1: | ||||||
|  | 	X_INT16_T_DEFINED_   = 0       // types.h:84:1: | ||||||
|  | 	X_INT32_T_DEFINED_   = 0       // types.h:94:1: | ||||||
|  | 	X_INT64_T_DEFINED_   = 0       // types.h:104:1: | ||||||
|  | 	X_INT8_T_DEFINED_    = 0       // types.h:74:1: | ||||||
|  | 	X_LITTLE_ENDIAN      = 1234    // _endian.h:42:1: | ||||||
|  | 	X_LP64               = 1       // <predefined>:1:1: | ||||||
|  | 	X_MACHINE_CDEFS_H_   = 0       // cdefs.h:4:1: | ||||||
|  | 	X_MACHINE_ENDIAN_H_  = 0       // endian.h:20:1: | ||||||
|  | 	X_MACHINE__TYPES_H_  = 0       // _types.h:35:1: | ||||||
|  | 	X_MAX_PAGE_SHIFT     = 12      // _types.h:57:1: | ||||||
|  | 	X_OFF_T_DEFINED_     = 0       // types.h:192:1: | ||||||
|  | 	X_PDP_ENDIAN         = 3412    // _endian.h:44:1: | ||||||
|  | 	X_PID_T_DEFINED_     = 0       // types.h:167:1: | ||||||
|  | 	X_QUAD_HIGHWORD      = 1       // _endian.h:95:1: | ||||||
|  | 	X_QUAD_LOWWORD       = 0       // _endian.h:96:1: | ||||||
|  | 	X_RET_PROTECTOR      = 1       // <predefined>:2:1: | ||||||
|  | 	X_SIZE_T_DEFINED_    = 0       // types.h:172:1: | ||||||
|  | 	X_SSIZE_T_DEFINED_   = 0       // types.h:177:1: | ||||||
|  | 	X_STACKALIGNBYTES    = 15      // _types.h:54:1: | ||||||
|  | 	X_SYS_CDEFS_H_       = 0       // cdefs.h:39:1: | ||||||
|  | 	X_SYS_ENDIAN_H_      = 0       // endian.h:38:1: | ||||||
|  | 	X_SYS_FCNTL_H_       = 0       // fcntl.h:41:1: | ||||||
|  | 	X_SYS_TYPES_H_       = 0       // types.h:41:1: | ||||||
|  | 	X_SYS__ENDIAN_H_     = 0       // _endian.h:34:1: | ||||||
|  | 	X_SYS__TYPES_H_      = 0       // _types.h:35:1: | ||||||
|  | 	X_TIMER_T_DEFINED_   = 0       // types.h:187:1: | ||||||
|  | 	X_TIME_T_DEFINED_    = 0       // types.h:182:1: | ||||||
|  | 	X_UINT16_T_DEFINED_  = 0       // types.h:89:1: | ||||||
|  | 	X_UINT32_T_DEFINED_  = 0       // types.h:99:1: | ||||||
|  | 	X_UINT64_T_DEFINED_  = 0       // types.h:109:1: | ||||||
|  | 	X_UINT8_T_DEFINED_   = 0       // types.h:79:1: | ||||||
|  | 	Unix                 = 1       // <predefined>:360:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | //	$OpenBSD: fcntl.h,v 1.22 2019/01/21 18:09:21 anton Exp $ | ||||||
|  | //	$NetBSD: fcntl.h,v 1.8 1995/03/26 20:24:12 jtc Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1983, 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)fcntl.h	8.3 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | // This file includes the definitions for open and fcntl | ||||||
|  | // described by POSIX for <fcntl.h>; it also includes | ||||||
|  | // related kernel definitions. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.1 2016/12/17 23:38:33 patrick Exp $ | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky -- make sure you don't put spaces | ||||||
|  | // in between its arguments.  Do not use __CONCAT on double-quoted strings, | ||||||
|  | // such as those from the __STRING macro: to concatenate strings just put | ||||||
|  | // them next to each other. | ||||||
|  |  | ||||||
|  | // GCC1 and some versions of GCC2 declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions using "volatile" and "const"; | ||||||
|  | // unfortunately, these then cause warnings under "-ansi -pedantic". | ||||||
|  | // GCC >= 2.5 uses the __attribute__((attrs)) style.  All of these | ||||||
|  | // work for GNU C++ (modulo a slight glitch in the C++ grammar in | ||||||
|  | // the distribution version of 2.5.5). | ||||||
|  |  | ||||||
|  | // __returns_twice makes the compiler not assume the function | ||||||
|  | // only returns once.  This affects registerisation of variables: | ||||||
|  | // even local variables need to be in memory across such a call. | ||||||
|  | // Example: setjmp() | ||||||
|  |  | ||||||
|  | // __only_inline makes the compiler only use this function definition | ||||||
|  | // for inlining; references that can't be inlined will be left as | ||||||
|  | // external references instead of generating a local copy.  The | ||||||
|  | // matching library should include a simple extern definition for | ||||||
|  | // the function to handle those references.  c.f. ctype.h | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // Delete pseudo-keywords wherever they are not available or needed. | ||||||
|  |  | ||||||
|  | // The __packed macro indicates that a variable or structure members | ||||||
|  | // should have the smallest possible alignment, despite any host CPU | ||||||
|  | // alignment requirements. | ||||||
|  | // | ||||||
|  | // The __aligned(x) macro specifies the minimum alignment of a | ||||||
|  | // variable or structure. | ||||||
|  | // | ||||||
|  | // These macros together are useful for describing the layout and | ||||||
|  | // alignment of messages exchanged with hardware or other systems. | ||||||
|  |  | ||||||
|  | // "The nice thing about standards is that there are so many to choose from." | ||||||
|  | // There are a number of "feature test macros" specified by (different) | ||||||
|  | // standards that determine which interfaces and types the header files | ||||||
|  | // should expose. | ||||||
|  | // | ||||||
|  | // Because of inconsistencies in these macros, we define our own | ||||||
|  | // set in the private name space that end in _VISIBLE.  These are | ||||||
|  | // always defined and so headers can test their values easily. | ||||||
|  | // Things can get tricky when multiple feature macros are defined. | ||||||
|  | // We try to take the union of all the features requested. | ||||||
|  | // | ||||||
|  | // The following macros are guaranteed to have a value after cdefs.h | ||||||
|  | // has been included: | ||||||
|  | //	__POSIX_VISIBLE | ||||||
|  | //	__XPG_VISIBLE | ||||||
|  | //	__ISO_C_VISIBLE | ||||||
|  | //	__BSD_VISIBLE | ||||||
|  |  | ||||||
|  | // X/Open Portability Guides and Single Unix Specifications. | ||||||
|  | // _XOPEN_SOURCE				XPG3 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_VERSION = 4		XPG4 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1	XPG4v2 | ||||||
|  | // _XOPEN_SOURCE == 500				XPG5 | ||||||
|  | // _XOPEN_SOURCE == 520				XPG5v2 | ||||||
|  | // _XOPEN_SOURCE == 600				POSIX 1003.1-2001 with XSI | ||||||
|  | // _XOPEN_SOURCE == 700				POSIX 1003.1-2008 with XSI | ||||||
|  | // | ||||||
|  | // The XPG spec implies a specific value for _POSIX_C_SOURCE. | ||||||
|  |  | ||||||
|  | // POSIX macros, these checks must follow the XOPEN ones above. | ||||||
|  | // | ||||||
|  | // _POSIX_SOURCE == 1		1003.1-1988 (superseded by _POSIX_C_SOURCE) | ||||||
|  | // _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | // _POSIX_C_SOURCE == 2		1003.2-1992 | ||||||
|  | // _POSIX_C_SOURCE == 199309L	1003.1b-1993 | ||||||
|  | // _POSIX_C_SOURCE == 199506L   1003.1c-1995, 1003.1i-1995, | ||||||
|  | //				and the omnibus ISO/IEC 9945-1:1996 | ||||||
|  | // _POSIX_C_SOURCE == 200112L   1003.1-2001 | ||||||
|  | // _POSIX_C_SOURCE == 200809L   1003.1-2008 | ||||||
|  | // | ||||||
|  | // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though | ||||||
|  | // this may be overridden by the _ISOC99_SOURCE macro later. | ||||||
|  |  | ||||||
|  | // _ANSI_SOURCE means to expose ANSI C89 interfaces only. | ||||||
|  | // If the user defines it in addition to one of the POSIX or XOPEN | ||||||
|  | // macros, assume the POSIX/XOPEN macro(s) should take precedence. | ||||||
|  |  | ||||||
|  | // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus | ||||||
|  | // override any of the other macros since they are non-exclusive. | ||||||
|  |  | ||||||
|  | // Finally deal with BSD-specific interfaces that are not covered | ||||||
|  | // by any standards.  We expose these when none of the POSIX or XPG | ||||||
|  | // macros is defined or if the user explicitly asks for them. | ||||||
|  |  | ||||||
|  | // Default values. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  | //	$NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1982, 1986, 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.4 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: endian.h,v 1.25 2014/12/21 04:49:00 guenther Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Public definitions for little- and big-endian systems. | ||||||
|  | // This file should be included as <endian.h> in userspace and as | ||||||
|  | // <sys/endian.h> in the kernel. | ||||||
|  | // | ||||||
|  | // System headers that need endian information but that can't or don't | ||||||
|  | // want to export the public names here should include <sys/_endian.h> | ||||||
|  | // and use the internal names: _BYTE_ORDER, _*_ENDIAN, etc. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _endian.h,v 1.8 2018/01/11 23:13:37 dlg Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Internal endianness macros.  This pulls in <machine/endian.h> to | ||||||
|  | // get the correct setting direction for the platform and sets internal | ||||||
|  | // ('__' prefix) macros appropriately. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  |  | ||||||
|  | // $OpenBSD: _types.h,v 1.4 2018/03/05 01:15:25 deraadt Exp $ | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | //	@(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  |  | ||||||
|  | // _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned | ||||||
|  | // value for all data types (int, long, ...).   The result is an | ||||||
|  | // unsigned long and must be cast to any desired pointer type. | ||||||
|  | // | ||||||
|  | // _ALIGNED_POINTER is a boolean macro that checks whether an address | ||||||
|  | // is valid to fetch data elements of type t from on this architecture. | ||||||
|  | // This does not reflect the optimal alignment, just the possibility | ||||||
|  | // (within reasonable limits). | ||||||
|  |  | ||||||
|  | // 7.18.1.1 Exact-width integer types | ||||||
|  | type X__int8_t = int8     /* _types.h:60:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:61:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:62:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:63:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:64:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:65:23 */ | ||||||
|  | // LONGLONG | ||||||
|  | type X__int64_t = int64 /* _types.h:67:20 */ | ||||||
|  | // LONGLONG | ||||||
|  | type X__uint64_t = uint64 /* _types.h:69:28 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.2 Minimum-width integer types | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:72:19 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:73:20 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:74:20 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:75:21 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:76:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:77:21 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:78:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:79:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.3 Fastest minimum-width integer types | ||||||
|  | type X__int_fast8_t = X__int32_t    /* _types.h:82:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t  /* _types.h:83:21 */ | ||||||
|  | type X__int_fast16_t = X__int32_t   /* _types.h:84:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t /* _types.h:85:21 */ | ||||||
|  | type X__int_fast32_t = X__int32_t   /* _types.h:86:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t /* _types.h:87:21 */ | ||||||
|  | type X__int_fast64_t = X__int64_t   /* _types.h:88:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t /* _types.h:89:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.4 Integer types capable of holding object pointers | ||||||
|  | type X__intptr_t = int64   /* _types.h:104:16 */ | ||||||
|  | type X__uintptr_t = uint64 /* _types.h:105:24 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.5 Greatest-width integer types | ||||||
|  | type X__intmax_t = X__int64_t   /* _types.h:108:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t /* _types.h:109:21 */ | ||||||
|  |  | ||||||
|  | // Register size | ||||||
|  | type X__register_t = int64 /* _types.h:112:16 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type X__vaddr_t = uint64 /* _types.h:115:24 */ | ||||||
|  | type X__paddr_t = uint64 /* _types.h:116:24 */ | ||||||
|  | type X__vsize_t = uint64 /* _types.h:117:24 */ | ||||||
|  | type X__psize_t = uint64 /* _types.h:118:24 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type X__double_t = float64           /* _types.h:121:18 */ | ||||||
|  | type X__float_t = float32            /* _types.h:122:17 */ | ||||||
|  | type X__ptrdiff_t = int64            /* _types.h:123:16 */ | ||||||
|  | type X__size_t = uint64              /* _types.h:124:24 */ | ||||||
|  | type X__ssize_t = int64              /* _types.h:125:16 */ | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:127:27 */ | ||||||
|  |  | ||||||
|  | // Wide character support types | ||||||
|  | type X__wchar_t = int32     /* _types.h:137:15 */ | ||||||
|  | type X__wint_t = int32      /* _types.h:140:15 */ | ||||||
|  | type X__rune_t = int32      /* _types.h:141:15 */ | ||||||
|  | type X__wctrans_t = uintptr /* _types.h:142:14 */ | ||||||
|  | type X__wctype_t = uintptr  /* _types.h:143:14 */ | ||||||
|  |  | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:39:19 */ // blocks allocated for file | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // optimal blocksize for I/O | ||||||
|  | type X__clock_t = X__int64_t     /* _types.h:41:19 */ // ticks in CLOCKS_PER_SEC | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // CLOCK_* identifiers | ||||||
|  | type X__cpuid_t = uint64         /* _types.h:43:23 */ // CPU id | ||||||
|  | type X__dev_t = X__int32_t       /* _types.h:44:19 */ // device number | ||||||
|  | type X__fixpt_t = X__uint32_t    /* _types.h:45:20 */ // fixed point number | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:46:20 */ // file system block count | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:47:20 */ // file system file count | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:48:20 */ // group id | ||||||
|  | type X__id_t = X__uint32_t       /* _types.h:49:20 */ // may contain pid, uid or gid | ||||||
|  | type X__in_addr_t = X__uint32_t  /* _types.h:50:20 */ // base type for internet address | ||||||
|  | type X__in_port_t = X__uint16_t  /* _types.h:51:20 */ // IP port type | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:52:20 */ // inode number | ||||||
|  | type X__key_t = int64            /* _types.h:53:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__mode_t = X__uint32_t     /* _types.h:54:20 */ // permissions | ||||||
|  | type X__nlink_t = X__uint32_t    /* _types.h:55:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:56:19 */ // file offset or size | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process id | ||||||
|  | type X__rlim_t = X__uint64_t     /* _types.h:58:20 */ // resource limit | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family type | ||||||
|  | type X__segsz_t = X__int32_t     /* _types.h:60:19 */ // segment size | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:61:20 */ // length type for network syscalls | ||||||
|  | type X__suseconds_t = int64      /* _types.h:62:15 */ // microseconds (signed) | ||||||
|  | type X__time_t = X__int64_t      /* _types.h:63:19 */ // epoch time | ||||||
|  | type X__timer_t = X__int32_t     /* _types.h:64:19 */ // POSIX timer identifiers | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:65:20 */ // user id | ||||||
|  | type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state, during multibyte | ||||||
|  | // stream conversions. The content must not be referenced by user programs. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint64 | ||||||
|  | 	F__mbstate8  [128]int8 | ||||||
|  | } /* _types.h:75:3 */ | ||||||
|  |  | ||||||
|  | // Tell sys/endian.h we have MD variants of the swap macros. | ||||||
|  |  | ||||||
|  | // Note that these macros evaluate their arguments several times. | ||||||
|  |  | ||||||
|  | // Public names | ||||||
|  |  | ||||||
|  | // These are specified to be function-like macros to match the spec | ||||||
|  |  | ||||||
|  | // POSIX names | ||||||
|  |  | ||||||
|  | // original BSD names | ||||||
|  |  | ||||||
|  | // these were exposed here before | ||||||
|  |  | ||||||
|  | // ancient stuff | ||||||
|  |  | ||||||
|  | type U_char = uint8   /* types.h:51:23 */ | ||||||
|  | type U_short = uint16 /* types.h:52:24 */ | ||||||
|  | type U_int = uint32   /* types.h:53:22 */ | ||||||
|  | type U_long = uint64  /* types.h:54:23 */ | ||||||
|  |  | ||||||
|  | type Unchar = uint8  /* types.h:56:23 */ // Sys V compatibility | ||||||
|  | type Ushort = uint16 /* types.h:57:24 */ // Sys V compatibility | ||||||
|  | type Uint = uint32   /* types.h:58:22 */ // Sys V compatibility | ||||||
|  | type Ulong = uint64  /* types.h:59:23 */ // Sys V compatibility | ||||||
|  |  | ||||||
|  | type Cpuid_t = X__cpuid_t       /* types.h:61:19 */ // CPU id | ||||||
|  | type Register_t = X__register_t /* types.h:62:22 */ // register-sized type | ||||||
|  |  | ||||||
|  | // XXX The exact-width bit types should only be exposed if __BSD_VISIBLE | ||||||
|  | //     but the rest of the includes are not ready for that yet. | ||||||
|  |  | ||||||
|  | type Int8_t = X__int8_t /* types.h:75:19 */ | ||||||
|  |  | ||||||
|  | type Uint8_t = X__uint8_t /* types.h:80:20 */ | ||||||
|  |  | ||||||
|  | type Int16_t = X__int16_t /* types.h:85:20 */ | ||||||
|  |  | ||||||
|  | type Uint16_t = X__uint16_t /* types.h:90:21 */ | ||||||
|  |  | ||||||
|  | type Int32_t = X__int32_t /* types.h:95:20 */ | ||||||
|  |  | ||||||
|  | type Uint32_t = X__uint32_t /* types.h:100:21 */ | ||||||
|  |  | ||||||
|  | type Int64_t = X__int64_t /* types.h:105:20 */ | ||||||
|  |  | ||||||
|  | type Uint64_t = X__uint64_t /* types.h:110:21 */ | ||||||
|  |  | ||||||
|  | // BSD-style unsigned bits types | ||||||
|  | type U_int8_t = X__uint8_t   /* types.h:114:19 */ | ||||||
|  | type U_int16_t = X__uint16_t /* types.h:115:20 */ | ||||||
|  | type U_int32_t = X__uint32_t /* types.h:116:20 */ | ||||||
|  | type U_int64_t = X__uint64_t /* types.h:117:20 */ | ||||||
|  |  | ||||||
|  | // quads, deprecated in favor of 64 bit int types | ||||||
|  | type Quad_t = X__int64_t    /* types.h:120:19 */ | ||||||
|  | type U_quad_t = X__uint64_t /* types.h:121:20 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type Vaddr_t = X__vaddr_t /* types.h:125:19 */ | ||||||
|  | type Paddr_t = X__paddr_t /* types.h:126:19 */ | ||||||
|  | type Vsize_t = X__vsize_t /* types.h:127:19 */ | ||||||
|  | type Psize_t = X__psize_t /* types.h:128:19 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type Blkcnt_t = X__blkcnt_t       /* types.h:132:20 */ // blocks allocated for file | ||||||
|  | type Blksize_t = X__blksize_t     /* types.h:133:21 */ // optimal blocksize for I/O | ||||||
|  | type Caddr_t = uintptr            /* types.h:134:14 */ // core address | ||||||
|  | type Daddr32_t = X__int32_t       /* types.h:135:19 */ // 32-bit disk address | ||||||
|  | type Daddr_t = X__int64_t         /* types.h:136:19 */ // 64-bit disk address | ||||||
|  | type Dev_t = X__dev_t             /* types.h:137:18 */ // device number | ||||||
|  | type Fixpt_t = X__fixpt_t         /* types.h:138:19 */ // fixed point number | ||||||
|  | type Gid_t = X__gid_t             /* types.h:139:18 */ // group id | ||||||
|  | type Id_t = X__id_t               /* types.h:140:17 */ // may contain pid, uid or gid | ||||||
|  | type Ino_t = X__ino_t             /* types.h:141:18 */ // inode number | ||||||
|  | type Key_t = X__key_t             /* types.h:142:18 */ // IPC key (for Sys V IPC) | ||||||
|  | type Mode_t = X__mode_t           /* types.h:143:18 */ // permissions | ||||||
|  | type Nlink_t = X__nlink_t         /* types.h:144:19 */ // link count | ||||||
|  | type Rlim_t = X__rlim_t           /* types.h:145:18 */ // resource limit | ||||||
|  | type Segsz_t = X__segsz_t         /* types.h:146:19 */ // segment size | ||||||
|  | type Uid_t = X__uid_t             /* types.h:147:18 */ // user id | ||||||
|  | type Useconds_t = X__useconds_t   /* types.h:148:22 */ // microseconds | ||||||
|  | type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed) | ||||||
|  | type Fsblkcnt_t = X__fsblkcnt_t   /* types.h:150:22 */ // file system block count | ||||||
|  | type Fsfilcnt_t = X__fsfilcnt_t   /* types.h:151:22 */ // file system file count | ||||||
|  |  | ||||||
|  | // The following types may be defined in multiple header files. | ||||||
|  | type Clock_t = X__clock_t /* types.h:158:19 */ | ||||||
|  |  | ||||||
|  | type Clockid_t = X__clockid_t /* types.h:163:21 */ | ||||||
|  |  | ||||||
|  | type Pid_t = X__pid_t /* types.h:168:18 */ | ||||||
|  |  | ||||||
|  | type Ssize_t = X__ssize_t /* types.h:178:19 */ | ||||||
|  |  | ||||||
|  | type Time_t = X__time_t /* types.h:183:18 */ | ||||||
|  |  | ||||||
|  | type Timer_t = X__timer_t /* types.h:188:19 */ | ||||||
|  |  | ||||||
|  | type Off_t = X__off_t /* types.h:193:18 */ | ||||||
|  |  | ||||||
|  | // Major, minor numbers, dev_t's. | ||||||
|  |  | ||||||
|  | // File status flags: these are used by open(2), fcntl(2). | ||||||
|  | // They are also used (indirectly) in the kernel file structure f_flags, | ||||||
|  | // which is a superset of the open/fcntl flags.  Open flags and f_flags | ||||||
|  | // are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags). | ||||||
|  | // Open/fcntl flags begin with O_; kernel-internal flags begin with F. | ||||||
|  | // open-only flags | ||||||
|  |  | ||||||
|  | // Kernel encoding of open mode; separate read and write bits that are | ||||||
|  | // independently testable: 1 greater than the above. | ||||||
|  | // | ||||||
|  | // XXX | ||||||
|  | // FREAD and FWRITE are excluded from the #ifdef _KERNEL so that TIOCFLUSH, | ||||||
|  | // which was documented to use FREAD/FWRITE, continues to work. | ||||||
|  |  | ||||||
|  | // POSIX 1003.1 specifies a higher granularity for synchronous operations | ||||||
|  | // than we support.  Since synchronicity is all or nothing in OpenBSD | ||||||
|  | // we just define these to be the same as O_SYNC. | ||||||
|  |  | ||||||
|  | // defined by POSIX 1003.1; BSD default, this bit is not required | ||||||
|  |  | ||||||
|  | // defined by POSIX Issue 7 | ||||||
|  |  | ||||||
|  | // The O_* flags used to have only F* names, which were used in the kernel | ||||||
|  | // and by fcntl.  We retain the F* names for the kernel f_flags field | ||||||
|  | // and for backward compatibility for fcntl. | ||||||
|  |  | ||||||
|  | // Constants used for fcntl(2) | ||||||
|  |  | ||||||
|  | // command values | ||||||
|  |  | ||||||
|  | // file descriptor flags (F_GETFD, F_SETFD) | ||||||
|  |  | ||||||
|  | // record locking flags (F_GETLK, F_SETLK, F_SETLKW) | ||||||
|  |  | ||||||
|  | // Advisory file segment locking data type - | ||||||
|  | // information passed to system by user | ||||||
|  | type Flock = struct { | ||||||
|  | 	Fl_start  Off_t | ||||||
|  | 	Fl_len    Off_t | ||||||
|  | 	Fl_pid    Pid_t | ||||||
|  | 	Fl_type   int16 | ||||||
|  | 	Fl_whence int16 | ||||||
|  | } /* fcntl.h:180:1 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										424
									
								
								vendor/modernc.org/libc/fcntl/fcntl_windows_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										424
									
								
								vendor/modernc.org/libc/fcntl/fcntl_windows_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,424 @@ | |||||||
|  | // Code generated by 'ccgo fcntl\gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fcntl\fcntl_windows_arm64.go -pkgname fcntl', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fcntl | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	DUMMYSTRUCTNAME                                 = 0 | ||||||
|  | 	DUMMYSTRUCTNAME1                                = 0 | ||||||
|  | 	DUMMYSTRUCTNAME2                                = 0 | ||||||
|  | 	DUMMYSTRUCTNAME3                                = 0 | ||||||
|  | 	DUMMYSTRUCTNAME4                                = 0 | ||||||
|  | 	DUMMYSTRUCTNAME5                                = 0 | ||||||
|  | 	DUMMYUNIONNAME                                  = 0 | ||||||
|  | 	DUMMYUNIONNAME1                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME2                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME3                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME4                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME5                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME6                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME7                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME8                                 = 0 | ||||||
|  | 	DUMMYUNIONNAME9                                 = 0 | ||||||
|  | 	F_OK                                            = 0 | ||||||
|  | 	MINGW_DDK_H                                     = 0 | ||||||
|  | 	MINGW_HAS_DDK_H                                 = 1 | ||||||
|  | 	MINGW_HAS_SECURE_API                            = 1 | ||||||
|  | 	MINGW_SDK_INIT                                  = 0 | ||||||
|  | 	O_ACCMODE                                       = 3 | ||||||
|  | 	O_APPEND                                        = 8 | ||||||
|  | 	O_BINARY                                        = 32768 | ||||||
|  | 	O_CREAT                                         = 256 | ||||||
|  | 	O_EXCL                                          = 1024 | ||||||
|  | 	O_NOINHERIT                                     = 128 | ||||||
|  | 	O_RANDOM                                        = 16 | ||||||
|  | 	O_RAW                                           = 32768 | ||||||
|  | 	O_RDONLY                                        = 0 | ||||||
|  | 	O_RDWR                                          = 2 | ||||||
|  | 	O_SEQUENTIAL                                    = 32 | ||||||
|  | 	O_TEMPORARY                                     = 64 | ||||||
|  | 	O_TEXT                                          = 16384 | ||||||
|  | 	O_TRUNC                                         = 512 | ||||||
|  | 	O_WRONLY                                        = 1 | ||||||
|  | 	R_OK                                            = 4 | ||||||
|  | 	UNALIGNED                                       = 0 | ||||||
|  | 	USE___UUIDOF                                    = 0 | ||||||
|  | 	WIN32                                           = 1 | ||||||
|  | 	WIN64                                           = 1 | ||||||
|  | 	WINNT                                           = 1 | ||||||
|  | 	W_OK                                            = 2 | ||||||
|  | 	X_OK                                            = 1 | ||||||
|  | 	X_AGLOBAL                                       = 0 | ||||||
|  | 	X_ANONYMOUS_STRUCT                              = 0 | ||||||
|  | 	X_ANONYMOUS_UNION                               = 0 | ||||||
|  | 	X_ARGMAX                                        = 100 | ||||||
|  | 	X_ARM64_                                        = 1 | ||||||
|  | 	X_A_ARCH                                        = 0x20 | ||||||
|  | 	X_A_HIDDEN                                      = 0x02 | ||||||
|  | 	X_A_NORMAL                                      = 0x00 | ||||||
|  | 	X_A_RDONLY                                      = 0x01 | ||||||
|  | 	X_A_SUBDIR                                      = 0x10 | ||||||
|  | 	X_A_SYSTEM                                      = 0x04 | ||||||
|  | 	X_CONST_RETURN                                  = 0 | ||||||
|  | 	X_CRTNOALIAS                                    = 0 | ||||||
|  | 	X_CRTRESTRICT                                   = 0 | ||||||
|  | 	X_CRT_ALTERNATIVE_IMPORTED                      = 0 | ||||||
|  | 	X_CRT_DIRECTORY_DEFINED                         = 0 | ||||||
|  | 	X_CRT_MANAGED_HEAP_DEPRECATE                    = 0 | ||||||
|  | 	X_CRT_MEMORY_DEFINED                            = 0 | ||||||
|  | 	X_CRT_PACKING                                   = 8 | ||||||
|  | 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES          = 0 | ||||||
|  | 	X_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY   = 0 | ||||||
|  | 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES        = 0 | ||||||
|  | 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT  = 0 | ||||||
|  | 	X_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0 | ||||||
|  | 	X_CRT_USE_WINAPI_FAMILY_DESKTOP_APP             = 0 | ||||||
|  | 	X_DLL                                           = 0 | ||||||
|  | 	X_ERRCODE_DEFINED                               = 0 | ||||||
|  | 	X_FILE_OFFSET_BITS                              = 64 | ||||||
|  | 	X_FILE_OFFSET_BITS_SET_LSEEK                    = 0 | ||||||
|  | 	X_FILE_OFFSET_BITS_SET_OFFT                     = 0 | ||||||
|  | 	X_FINDDATA_T_DEFINED                            = 0 | ||||||
|  | 	X_FSIZE_T_DEFINED                               = 0 | ||||||
|  | 	X_INC_CORECRT                                   = 0 | ||||||
|  | 	X_INC_CRTDEFS                                   = 0 | ||||||
|  | 	X_INC_CRTDEFS_MACRO                             = 0 | ||||||
|  | 	X_INC_FCNTL                                     = 0 | ||||||
|  | 	X_INC_MINGW_SECAPI                              = 0 | ||||||
|  | 	X_INC_STRING                                    = 0 | ||||||
|  | 	X_INC_STRING_S                                  = 0 | ||||||
|  | 	X_INC_VADEFS                                    = 0 | ||||||
|  | 	X_INC__MINGW_H                                  = 0 | ||||||
|  | 	X_INT128_DEFINED                                = 0 | ||||||
|  | 	X_INTPTR_T_DEFINED                              = 0 | ||||||
|  | 	X_IO_H_                                         = 0 | ||||||
|  | 	X_MT                                            = 0 | ||||||
|  | 	X_M_ARM64                                       = 1 | ||||||
|  | 	X_NLSCMPERROR                                   = 2147483647 | ||||||
|  | 	X_NLSCMP_DEFINED                                = 0 | ||||||
|  | 	X_OFF64_T_DEFINED                               = 0 | ||||||
|  | 	X_OFF_T_                                        = 0 | ||||||
|  | 	X_OFF_T_DEFINED                                 = 0 | ||||||
|  | 	X_O_ACCMODE                                     = 3 | ||||||
|  | 	X_O_APPEND                                      = 0x0008 | ||||||
|  | 	X_O_BINARY                                      = 0x8000 | ||||||
|  | 	X_O_CREAT                                       = 0x0100 | ||||||
|  | 	X_O_EXCL                                        = 0x0400 | ||||||
|  | 	X_O_NOINHERIT                                   = 0x0080 | ||||||
|  | 	X_O_RANDOM                                      = 0x0010 | ||||||
|  | 	X_O_RAW                                         = 32768 | ||||||
|  | 	X_O_RDONLY                                      = 0x0000 | ||||||
|  | 	X_O_RDWR                                        = 0x0002 | ||||||
|  | 	X_O_SEQUENTIAL                                  = 0x0020 | ||||||
|  | 	X_O_SHORT_LIVED                                 = 0x1000 | ||||||
|  | 	X_O_TEMPORARY                                   = 0x0040 | ||||||
|  | 	X_O_TEXT                                        = 0x4000 | ||||||
|  | 	X_O_TRUNC                                       = 0x0200 | ||||||
|  | 	X_O_U16TEXT                                     = 0x20000 | ||||||
|  | 	X_O_U8TEXT                                      = 0x40000 | ||||||
|  | 	X_O_WRONLY                                      = 0x0001 | ||||||
|  | 	X_O_WTEXT                                       = 0x10000 | ||||||
|  | 	X_PGLOBAL                                       = 0 | ||||||
|  | 	X_PTRDIFF_T_                                    = 0 | ||||||
|  | 	X_PTRDIFF_T_DEFINED                             = 0 | ||||||
|  | 	X_RSIZE_T_DEFINED                               = 0 | ||||||
|  | 	X_SECURECRT_FILL_BUFFER_PATTERN                 = 0xFD | ||||||
|  | 	X_SIZE_T_DEFINED                                = 0 | ||||||
|  | 	X_SSIZE_T_DEFINED                               = 0 | ||||||
|  | 	X_TAGLC_ID_DEFINED                              = 0 | ||||||
|  | 	X_THREADLOCALEINFO                              = 0 | ||||||
|  | 	X_TIME32_T_DEFINED                              = 0 | ||||||
|  | 	X_TIME64_T_DEFINED                              = 0 | ||||||
|  | 	X_TIME_T_DEFINED                                = 0 | ||||||
|  | 	X_UCRT                                          = 0 | ||||||
|  | 	X_UINTPTR_T_DEFINED                             = 0 | ||||||
|  | 	X_VA_LIST_DEFINED                               = 0 | ||||||
|  | 	X_W64                                           = 0 | ||||||
|  | 	X_WCHAR_T_DEFINED                               = 0 | ||||||
|  | 	X_WCTYPE_T_DEFINED                              = 0 | ||||||
|  | 	X_WConst_return                                 = 0 | ||||||
|  | 	X_WFINDDATA_T_DEFINED                           = 0 | ||||||
|  | 	X_WIN32                                         = 1 | ||||||
|  | 	X_WIN32_WINNT                                   = 0x601 | ||||||
|  | 	X_WIN64                                         = 1 | ||||||
|  | 	X_WINT_T                                        = 0 | ||||||
|  | 	X_WIO_DEFINED                                   = 0 | ||||||
|  | 	X_WSTRING_DEFINED                               = 0 | ||||||
|  | 	X_WSTRING_S_DEFINED                             = 0 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = uint16 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | type Va_list = X__builtin_va_list /* <builtin>:50:27 */ | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // This macro holds an monotonic increasing value, which indicates | ||||||
|  | //    a specific fix/patch is present on trunk.  This value isn't related to | ||||||
|  | //    minor/major version-macros.  It is increased on demand, if a big | ||||||
|  | //    fix was applied to trunk.  This macro gets just increased on trunk.  For | ||||||
|  | //    other branches its value won't be modified. | ||||||
|  |  | ||||||
|  | // mingw.org's version macros: these make gcc to define | ||||||
|  | //    MINGW32_SUPPORTS_MT_EH and to use the _CRT_MT global | ||||||
|  | //    and the __mingwthr_key_dtor() function from the MinGW | ||||||
|  | //    CRT in its private gthr-win32.h header. | ||||||
|  |  | ||||||
|  | // Set VC specific compiler target macros. | ||||||
|  |  | ||||||
|  | // MS does not prefix symbols by underscores for 64-bit. | ||||||
|  | // As we have to support older gcc version, which are using underscores | ||||||
|  | //       as symbol prefix for x64, we have to check here for the user label | ||||||
|  | //       prefix defined by gcc. | ||||||
|  |  | ||||||
|  | // Special case nameless struct/union. | ||||||
|  |  | ||||||
|  | // MinGW-w64 has some additional C99 printf/scanf feature support. | ||||||
|  | //    So we add some helper macros to ease recognition of them. | ||||||
|  |  | ||||||
|  | // If _FORTIFY_SOURCE is enabled, some inline functions may use | ||||||
|  | //    __builtin_va_arg_pack().  GCC may report an error if the address | ||||||
|  | //    of such a function is used.  Set _FORTIFY_VA_ARG=0 in this case. | ||||||
|  |  | ||||||
|  | // Enable workaround for ABI incompatibility on affected platforms | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // http://msdn.microsoft.com/en-us/library/ms175759%28v=VS.100%29.aspx | ||||||
|  | // Templates won't work in C, will break if secure API is not enabled, disabled | ||||||
|  |  | ||||||
|  | // https://blogs.msdn.com/b/sdl/archive/2010/02/16/vc-2010-and-memcpy.aspx?Redirected=true | ||||||
|  | // fallback on default implementation if we can't know the size of the destination | ||||||
|  |  | ||||||
|  | // Include _cygwin.h if we're building a Cygwin application. | ||||||
|  |  | ||||||
|  | // Target specific macro replacement for type "long".  In the Windows API, | ||||||
|  | //    the type long is always 32 bit, even if the target is 64 bit (LLP64). | ||||||
|  | //    On 64 bit Cygwin, the type long is 64 bit (LP64).  So, to get the right | ||||||
|  | //    sized definitions and declarations, all usage of type long in the Windows | ||||||
|  | //    headers have to be replaced by the below defined macro __LONG32. | ||||||
|  |  | ||||||
|  | // C/C++ specific language defines. | ||||||
|  |  | ||||||
|  | // Note the extern. This is needed to work around GCC's | ||||||
|  | // limitations in handling dllimport attribute. | ||||||
|  |  | ||||||
|  | // Attribute `nonnull' was valid as of gcc 3.3.  We don't use GCC's | ||||||
|  | //    variadiac macro facility, because variadic macros cause syntax | ||||||
|  | //    errors with  --traditional-cpp. | ||||||
|  |  | ||||||
|  | //  High byte is the major version, low byte is the minor. | ||||||
|  |  | ||||||
|  | // Allow both 0x1400 and 0xE00 to identify UCRT | ||||||
|  |  | ||||||
|  | // ===-------- vadefs.h ---------------------------------------------------=== | ||||||
|  | // | ||||||
|  | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||||||
|  | // See https://llvm.org/LICENSE.txt for license information. | ||||||
|  | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||||||
|  | // | ||||||
|  | //===-----------------------------------------------------------------------=== | ||||||
|  |  | ||||||
|  | // Only include this if we are aiming for MSVC compatibility. | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // * | ||||||
|  | // This file has no copyright assigned and is placed in the Public Domain. | ||||||
|  | // This file is part of the mingw-w64 runtime package. | ||||||
|  | // No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||||||
|  |  | ||||||
|  | // for backward compatibility | ||||||
|  |  | ||||||
|  | type X__gnuc_va_list = X__builtin_va_list /* vadefs.h:24:29 */ | ||||||
|  |  | ||||||
|  | type Ssize_t = int64 /* corecrt.h:45:35 */ | ||||||
|  |  | ||||||
|  | type Rsize_t = Size_t /* corecrt.h:52:16 */ | ||||||
|  |  | ||||||
|  | type Intptr_t = int64 /* corecrt.h:62:35 */ | ||||||
|  |  | ||||||
|  | type Uintptr_t = uint64 /* corecrt.h:75:44 */ | ||||||
|  |  | ||||||
|  | type Wint_t = uint16   /* corecrt.h:106:24 */ | ||||||
|  | type Wctype_t = uint16 /* corecrt.h:107:24 */ | ||||||
|  |  | ||||||
|  | type Errno_t = int32 /* corecrt.h:113:13 */ | ||||||
|  |  | ||||||
|  | type X__time32_t = int32 /* corecrt.h:118:14 */ | ||||||
|  |  | ||||||
|  | type X__time64_t = int64 /* corecrt.h:123:35 */ | ||||||
|  |  | ||||||
|  | type Time_t = X__time64_t /* corecrt.h:138:20 */ | ||||||
|  |  | ||||||
|  | type Threadlocaleinfostruct = struct { | ||||||
|  | 	F_locale_pctype      uintptr | ||||||
|  | 	F_locale_mb_cur_max  int32 | ||||||
|  | 	F_locale_lc_codepage uint32 | ||||||
|  | } /* corecrt.h:430:1 */ | ||||||
|  |  | ||||||
|  | type Pthreadlocinfo = uintptr /* corecrt.h:432:39 */ | ||||||
|  | type Pthreadmbcinfo = uintptr /* corecrt.h:433:36 */ | ||||||
|  |  | ||||||
|  | type Localeinfo_struct = struct { | ||||||
|  | 	Flocinfo Pthreadlocinfo | ||||||
|  | 	Fmbcinfo Pthreadmbcinfo | ||||||
|  | } /* corecrt.h:436:9 */ | ||||||
|  |  | ||||||
|  | type X_locale_tstruct = Localeinfo_struct /* corecrt.h:439:3 */ | ||||||
|  | type X_locale_t = uintptr                 /* corecrt.h:439:19 */ | ||||||
|  |  | ||||||
|  | type TagLC_ID = struct { | ||||||
|  | 	FwLanguage uint16 | ||||||
|  | 	FwCountry  uint16 | ||||||
|  | 	FwCodePage uint16 | ||||||
|  | } /* corecrt.h:443:9 */ | ||||||
|  |  | ||||||
|  | type LC_ID = TagLC_ID  /* corecrt.h:447:3 */ | ||||||
|  | type LPLC_ID = uintptr /* corecrt.h:447:9 */ | ||||||
|  |  | ||||||
|  | type Threadlocinfo = Threadlocaleinfostruct /* corecrt.h:482:3 */ | ||||||
|  | type X_fsize_t = uint32                     /* io.h:29:25 */ | ||||||
|  |  | ||||||
|  | type X_finddata32_t = struct { | ||||||
|  | 	Fattrib      uint32 | ||||||
|  | 	Ftime_create X__time32_t | ||||||
|  | 	Ftime_access X__time32_t | ||||||
|  | 	Ftime_write  X__time32_t | ||||||
|  | 	Fsize        X_fsize_t | ||||||
|  | 	Fname        [260]int8 | ||||||
|  | } /* io.h:35:3 */ | ||||||
|  |  | ||||||
|  | type X_finddata32i64_t = struct { | ||||||
|  | 	Fattrib      uint32 | ||||||
|  | 	Ftime_create X__time32_t | ||||||
|  | 	Ftime_access X__time32_t | ||||||
|  | 	Ftime_write  X__time32_t | ||||||
|  | 	Fsize        int64 | ||||||
|  | 	Fname        [260]int8 | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | } /* io.h:44:3 */ | ||||||
|  |  | ||||||
|  | type X_finddata64i32_t = struct { | ||||||
|  | 	Fattrib      uint32 | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | 	Ftime_create X__time64_t | ||||||
|  | 	Ftime_access X__time64_t | ||||||
|  | 	Ftime_write  X__time64_t | ||||||
|  | 	Fsize        X_fsize_t | ||||||
|  | 	Fname        [260]int8 | ||||||
|  | } /* io.h:53:3 */ | ||||||
|  |  | ||||||
|  | type X__finddata64_t = struct { | ||||||
|  | 	Fattrib      uint32 | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | 	Ftime_create X__time64_t | ||||||
|  | 	Ftime_access X__time64_t | ||||||
|  | 	Ftime_write  X__time64_t | ||||||
|  | 	Fsize        int64 | ||||||
|  | 	Fname        [260]int8 | ||||||
|  | 	F__ccgo_pad2 [4]byte | ||||||
|  | } /* io.h:62:3 */ | ||||||
|  |  | ||||||
|  | type X_wfinddata32_t = struct { | ||||||
|  | 	Fattrib      uint32 | ||||||
|  | 	Ftime_create X__time32_t | ||||||
|  | 	Ftime_access X__time32_t | ||||||
|  | 	Ftime_write  X__time32_t | ||||||
|  | 	Fsize        X_fsize_t | ||||||
|  | 	Fname        [260]Wchar_t | ||||||
|  | } /* io.h:94:3 */ | ||||||
|  |  | ||||||
|  | type X_wfinddata32i64_t = struct { | ||||||
|  | 	Fattrib      uint32 | ||||||
|  | 	Ftime_create X__time32_t | ||||||
|  | 	Ftime_access X__time32_t | ||||||
|  | 	Ftime_write  X__time32_t | ||||||
|  | 	Fsize        int64 | ||||||
|  | 	Fname        [260]Wchar_t | ||||||
|  | } /* io.h:103:3 */ | ||||||
|  |  | ||||||
|  | type X_wfinddata64i32_t = struct { | ||||||
|  | 	Fattrib      uint32 | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | 	Ftime_create X__time64_t | ||||||
|  | 	Ftime_access X__time64_t | ||||||
|  | 	Ftime_write  X__time64_t | ||||||
|  | 	Fsize        X_fsize_t | ||||||
|  | 	Fname        [260]Wchar_t | ||||||
|  | 	F__ccgo_pad2 [4]byte | ||||||
|  | } /* io.h:112:3 */ | ||||||
|  |  | ||||||
|  | type X_wfinddata64_t = struct { | ||||||
|  | 	Fattrib      uint32 | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | 	Ftime_create X__time64_t | ||||||
|  | 	Ftime_access X__time64_t | ||||||
|  | 	Ftime_write  X__time64_t | ||||||
|  | 	Fsize        int64 | ||||||
|  | 	Fname        [260]Wchar_t | ||||||
|  | } /* io.h:121:3 */ | ||||||
|  |  | ||||||
|  | type X_off_t = int32 /* _mingw_off_t.h:5:16 */ | ||||||
|  | type Off32_t = int32 /* _mingw_off_t.h:7:16 */ | ||||||
|  |  | ||||||
|  | type X_off64_t = int64 /* _mingw_off_t.h:13:39 */ | ||||||
|  | type Off64_t = int64   /* _mingw_off_t.h:15:39 */ | ||||||
|  |  | ||||||
|  | type Off_t = Off64_t /* _mingw_off_t.h:24:17 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fts/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_freebsd_386.go -pkgname fts', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fts | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fts/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_freebsd_arm.go -pkgname fts', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fts | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fts/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_freebsd_amd64.go -pkgname fts', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fts | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fts/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_linux_ppc64le.go -pkgname fts', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fts | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fts/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o fts/fts_linux_riscv64.go -pkgname fts', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fts | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fts/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_netbsd_arm.go -pkgname fts', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fts | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fts/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_openbsd_386.go -pkgname fts', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fts | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fts/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_openbsd_amd64.go -pkgname fts', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fts | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/fts/capi_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo fts/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o fts/fts_openbsd_arm64.go -pkgname fts', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package fts | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										2358
									
								
								vendor/modernc.org/libc/fts/fts_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2358
									
								
								vendor/modernc.org/libc/fts/fts_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										2314
									
								
								vendor/modernc.org/libc/fts/fts_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2314
									
								
								vendor/modernc.org/libc/fts/fts_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										2367
									
								
								vendor/modernc.org/libc/fts/fts_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2367
									
								
								vendor/modernc.org/libc/fts/fts_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1920
									
								
								vendor/modernc.org/libc/fts/fts_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1920
									
								
								vendor/modernc.org/libc/fts/fts_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										2166
									
								
								vendor/modernc.org/libc/fts/fts_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2166
									
								
								vendor/modernc.org/libc/fts/fts_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										2605
									
								
								vendor/modernc.org/libc/fts/fts_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2605
									
								
								vendor/modernc.org/libc/fts/fts_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1254
									
								
								vendor/modernc.org/libc/fts/fts_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1254
									
								
								vendor/modernc.org/libc/fts/fts_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1270
									
								
								vendor/modernc.org/libc/fts/fts_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1270
									
								
								vendor/modernc.org/libc/fts/fts_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1268
									
								
								vendor/modernc.org/libc/fts/fts_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1268
									
								
								vendor/modernc.org/libc/fts/fts_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_freebsd_386.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_freebsd_arm.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_freebsd_amd64.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_linux_ppc64le.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o grp/grp_linux_riscv64.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_netbsd_arm.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_openbsd_386.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_openbsd_amd64.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/grp/capi_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_openbsd_arm64.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
							
								
								
									
										607
									
								
								vendor/modernc.org/libc/grp/grp_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										607
									
								
								vendor/modernc.org/libc/grp/grp_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,607 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_freebsd_386.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	X_FILE_OFFSET_BITS   = 64           // <builtin>:25:1: | ||||||
|  | 	X_GID_T_DECLARED     = 0            // grp.h:50:1: | ||||||
|  | 	X_GRP_H_             = 0            // grp.h:41:1: | ||||||
|  | 	X_ILP32              = 1            // <predefined>:1:1: | ||||||
|  | 	X_MACHINE__LIMITS_H_ = 0            // _limits.h:36:1: | ||||||
|  | 	X_MACHINE__TYPES_H_  = 0            // _types.h:42:1: | ||||||
|  | 	X_Nonnull            = 0            // cdefs.h:790:1: | ||||||
|  | 	X_Null_unspecified   = 0            // cdefs.h:792:1: | ||||||
|  | 	X_Nullable           = 0            // cdefs.h:791:1: | ||||||
|  | 	X_PATH_GROUP         = "/etc/group" // grp.h:46:1: | ||||||
|  | 	X_SIZE_T_DECLARED    = 0            // grp.h:55:1: | ||||||
|  | 	X_SYS_CDEFS_H_       = 0            // cdefs.h:39:1: | ||||||
|  | 	X_SYS__TYPES_H_      = 0            // _types.h:32:1: | ||||||
|  | 	I386                 = 1            // <predefined>:335:1: | ||||||
|  | 	Unix                 = 1            // <predefined>:336:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int32 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint32 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1989, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)grp.h	8.2 (Berkeley) 1/21/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // Testing against Clang-specific extensions. | ||||||
|  |  | ||||||
|  | // This code has been put in place to help reduce the addition of | ||||||
|  | // compiler specific defines in FreeBSD code.  It helps to aid in | ||||||
|  | // having a compiler-agnostic source tree. | ||||||
|  |  | ||||||
|  | // Compiler memory barriers, specific to gcc and clang. | ||||||
|  |  | ||||||
|  | // XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky to use if it must work in non-ANSI | ||||||
|  | // mode -- there must be no spaces between its arguments, and for nested | ||||||
|  | // __CONCAT's, all the __CONCAT's must be at the left.  __CONCAT can also | ||||||
|  | // concatenate double-quoted strings produced by the __STRING macro, but | ||||||
|  | // this only works with ANSI C. | ||||||
|  | // | ||||||
|  | // __XSTRING is like __STRING, but it expands any macros in its argument | ||||||
|  | // first.  It is only available with ANSI C. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to help declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions, and unused variables.  They are | ||||||
|  | // null except for versions of gcc that are known to support the features | ||||||
|  | // properly (old versions of gcc-2 supported the dead and pure features | ||||||
|  | // in a different (wrong) way).  If we do not provide an implementation | ||||||
|  | // for a given compiler, let the compile fail if it is told to use | ||||||
|  | // a feature that we cannot live without. | ||||||
|  |  | ||||||
|  | // Keywords added in C11. | ||||||
|  |  | ||||||
|  | // Emulation of C11 _Generic().  Unlike the previously defined C11 | ||||||
|  | // keywords, it is not possible to implement this using exactly the same | ||||||
|  | // syntax.  Therefore implement something similar under the name | ||||||
|  | // __generic().  Unlike _Generic(), this macro can only distinguish | ||||||
|  | // between a single type, so it requires nested invocations to | ||||||
|  | // distinguish multiple cases. | ||||||
|  |  | ||||||
|  | // C99 Static array indices in function parameter declarations.  Syntax such as: | ||||||
|  | // void bar(int myArray[static 10]); | ||||||
|  | // is allowed in C99 but not in C++.  Define __min_size appropriately so | ||||||
|  | // headers using it can be compiled in either language.  Use like this: | ||||||
|  | // void bar(int myArray[__min_size(10)]); | ||||||
|  |  | ||||||
|  | // XXX: should use `#if __STDC_VERSION__ < 199901'. | ||||||
|  |  | ||||||
|  | // C++11 exposes a load of C99 stuff | ||||||
|  |  | ||||||
|  | // GCC 2.95 provides `__restrict' as an extension to C90 to support the | ||||||
|  | // C99-specific `restrict' type qualifier.  We happen to use `__restrict' as | ||||||
|  | // a way to define the `restrict' type qualifier without disturbing older | ||||||
|  | // software that is unaware of C99 keywords. | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h> | ||||||
|  | // require it. | ||||||
|  |  | ||||||
|  | // Given the pointer x to the member m of the struct s, return | ||||||
|  | // a pointer to the containing structure.  When using GCC, we first | ||||||
|  | // assign pointer x to a local variable, to check that its type is | ||||||
|  | // compatible with member m. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to declare that functions take printf-like | ||||||
|  | // or scanf-like arguments.  They are null except for versions of gcc | ||||||
|  | // that are known to support the features properly (old versions of gcc-2 | ||||||
|  | // didn't permit keeping the keywords out of the application namespace). | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros that rely on FreeBSD-specific extensions. | ||||||
|  |  | ||||||
|  | // Embed the rcs id of a source file in the resulting library.  Note that in | ||||||
|  | // more recent ELF binutils, we use .ident allowing the ID to be stripped. | ||||||
|  | // Usage: | ||||||
|  | //	__FBSDID("$FreeBSD$"); | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // The following definitions are an extension of the behavior originally | ||||||
|  | // implemented in <sys/_posix.h>, but with a different level of granularity. | ||||||
|  | // POSIX.1 requires that the macros we test be defined before any standard | ||||||
|  | // header file is included. | ||||||
|  | // | ||||||
|  | // Here's a quick run-down of the versions: | ||||||
|  | //  defined(_POSIX_SOURCE)		1003.1-1988 | ||||||
|  | //  _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | //  _POSIX_C_SOURCE == 2		1003.2-1992 C Language Binding Option | ||||||
|  | //  _POSIX_C_SOURCE == 199309		1003.1b-1993 | ||||||
|  | //  _POSIX_C_SOURCE == 199506		1003.1c-1995, 1003.1i-1995, | ||||||
|  | //					and the omnibus ISO/IEC 9945-1: 1996 | ||||||
|  | //  _POSIX_C_SOURCE == 200112		1003.1-2001 | ||||||
|  | //  _POSIX_C_SOURCE == 200809		1003.1-2008 | ||||||
|  | // | ||||||
|  | // In addition, the X/Open Portability Guide, which is now the Single UNIX | ||||||
|  | // Specification, defines a feature-test macro which indicates the version of | ||||||
|  | // that specification, and which subsumes _POSIX_C_SOURCE. | ||||||
|  | // | ||||||
|  | // Our macros begin with two underscores to avoid namespace screwage. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2. | ||||||
|  |  | ||||||
|  | // Deal with various X/Open Portability Guides and Single UNIX Spec. | ||||||
|  |  | ||||||
|  | // Deal with all versions of POSIX.  The ordering relative to the tests above is | ||||||
|  | // important. | ||||||
|  | // - | ||||||
|  | // Deal with _ANSI_SOURCE: | ||||||
|  | // If it is defined, and no other compilation environment is explicitly | ||||||
|  | // requested, then define our internal feature-test macros to zero.  This | ||||||
|  | // makes no difference to the preprocessor (undefined symbols in preprocessing | ||||||
|  | // expressions are defined to have value zero), but makes it more convenient for | ||||||
|  | // a test program to print out the values. | ||||||
|  | // | ||||||
|  | // If a program mistakenly defines _ANSI_SOURCE and some other macro such as | ||||||
|  | // _POSIX_C_SOURCE, we will assume that it wants the broader compilation | ||||||
|  | // environment (and in fact we will never get here). | ||||||
|  |  | ||||||
|  | // User override __EXT1_VISIBLE | ||||||
|  |  | ||||||
|  | // Old versions of GCC use non-standard ARM arch symbols; acle-compat.h | ||||||
|  | // translates them to __ARM_ARCH and the modern feature symbols defined by ARM. | ||||||
|  |  | ||||||
|  | // Nullability qualifiers: currently only supported by Clang. | ||||||
|  |  | ||||||
|  | // Type Safety Checking | ||||||
|  | // | ||||||
|  | // Clang provides additional attributes to enable checking type safety | ||||||
|  | // properties that cannot be enforced by the C type system. | ||||||
|  |  | ||||||
|  | // Lock annotations. | ||||||
|  | // | ||||||
|  | // Clang provides support for doing basic thread-safety tests at | ||||||
|  | // compile-time, by marking which locks will/should be held when | ||||||
|  | // entering/leaving a functions. | ||||||
|  | // | ||||||
|  | // Furthermore, it is also possible to annotate variables and structure | ||||||
|  | // members to enforce that they are only accessed when certain locks are | ||||||
|  | // held. | ||||||
|  |  | ||||||
|  | // Structure implements a lock. | ||||||
|  |  | ||||||
|  | // Function acquires an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function attempts to acquire an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function releases a lock. | ||||||
|  |  | ||||||
|  | // Function asserts that an exclusive or shared lock is held. | ||||||
|  |  | ||||||
|  | // Function requires that an exclusive or shared lock is or is not held. | ||||||
|  |  | ||||||
|  | // Function should not be analyzed. | ||||||
|  |  | ||||||
|  | // Function or variable should not be sanitized, e.g., by AddressSanitizer. | ||||||
|  | // GCC has the nosanitize attribute, but as a function attribute only, and | ||||||
|  | // warns on use as a variable attribute. | ||||||
|  |  | ||||||
|  | // Guard variables and structure members by lock. | ||||||
|  |  | ||||||
|  | // Alignment builtins for better type checking and improved code generation. | ||||||
|  | // Provide fallback versions for other compilers (GCC/Clang < 10): | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-2-Clause-FreeBSD | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // This file is in the public domain. | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-4-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. All advertising materials mentioning features or use of this software | ||||||
|  | //    must display the following acknowledgement: | ||||||
|  | //	This product includes software developed by the University of | ||||||
|  | //	California, Berkeley and its contributors. | ||||||
|  | // 4. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	From: @(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  | //	From: @(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // This file is in the public domain. | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1988, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)limits.h	8.3 (Berkeley) 1/4/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // According to ANSI (section 2.2.4.2), the values below must be usable by | ||||||
|  | // #if preprocessing directives.  Additionally, the expression must have the | ||||||
|  | // same type as would an expression that is an object of the corresponding | ||||||
|  | // type converted according to the integral promotions.  The subtraction for | ||||||
|  | // INT_MIN, etc., is so the value is not unsigned; e.g., 0x80000000 is an | ||||||
|  | // unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2). | ||||||
|  |  | ||||||
|  | // max value for an unsigned long long | ||||||
|  |  | ||||||
|  | // Minimum signal stack size. | ||||||
|  |  | ||||||
|  | // Basic types upon which most other types are built. | ||||||
|  | type X__int8_t = int8     /* _types.h:55:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:56:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:57:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:58:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:59:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:60:23 */ | ||||||
|  |  | ||||||
|  | type X__int64_t = int64 /* _types.h:66:20 */ | ||||||
|  |  | ||||||
|  | type X__uint64_t = uint64 /* _types.h:68:28 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__clock_t = uint32             /* _types.h:84:23 */ | ||||||
|  | type X__critical_t = X__int32_t      /* _types.h:85:19 */ | ||||||
|  | type X__double_t = float64           /* _types.h:87:21 */ | ||||||
|  | type X__float_t = float64            /* _types.h:88:21 */ | ||||||
|  | type X__intfptr_t = X__int32_t       /* _types.h:90:19 */ | ||||||
|  | type X__intptr_t = X__int32_t        /* _types.h:91:19 */ | ||||||
|  | type X__intmax_t = X__int64_t        /* _types.h:93:19 */ | ||||||
|  | type X__int_fast8_t = X__int32_t     /* _types.h:94:19 */ | ||||||
|  | type X__int_fast16_t = X__int32_t    /* _types.h:95:19 */ | ||||||
|  | type X__int_fast32_t = X__int32_t    /* _types.h:96:19 */ | ||||||
|  | type X__int_fast64_t = X__int64_t    /* _types.h:97:19 */ | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:98:18 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:99:19 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:100:19 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:101:19 */ | ||||||
|  | type X__ptrdiff_t = X__int32_t       /* _types.h:112:19 */ | ||||||
|  | type X__register_t = X__int32_t      /* _types.h:113:19 */ | ||||||
|  | type X__segsz_t = X__int32_t         /* _types.h:114:19 */ | ||||||
|  | type X__size_t = X__uint32_t         /* _types.h:115:20 */ | ||||||
|  | type X__ssize_t = X__int32_t         /* _types.h:116:19 */ | ||||||
|  | type X__time_t = X__int32_t          /* _types.h:117:19 */ | ||||||
|  | type X__uintfptr_t = X__uint32_t     /* _types.h:118:20 */ | ||||||
|  | type X__uintptr_t = X__uint32_t      /* _types.h:119:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t      /* _types.h:121:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t   /* _types.h:122:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t  /* _types.h:123:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t  /* _types.h:124:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t  /* _types.h:125:20 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:126:19 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:127:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:128:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:129:20 */ | ||||||
|  | type X__u_register_t = X__uint32_t   /* _types.h:136:20 */ | ||||||
|  | type X__vm_offset_t = X__uint32_t    /* _types.h:137:20 */ | ||||||
|  | type X__vm_paddr_t = X__uint64_t     /* _types.h:138:20 */ | ||||||
|  | type X__vm_size_t = X__uint32_t      /* _types.h:139:20 */ | ||||||
|  | type X___wchar_t = int32             /* _types.h:141:14 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // file block size | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:41:19 */ // file block count | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // clock_gettime()... | ||||||
|  | type X__fflags_t = X__uint32_t   /* _types.h:43:20 */ // file flags | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */ | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */ | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:46:20 */ | ||||||
|  | type X__id_t = X__int64_t        /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:48:20 */ // inode number | ||||||
|  | type X__key_t = int32            /* _types.h:49:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__lwpid_t = X__int32_t     /* _types.h:50:19 */ // Thread ID (a.k.a. LWP) | ||||||
|  | type X__mode_t = X__uint16_t     /* _types.h:51:20 */ // permissions | ||||||
|  | type X__accmode_t = int32        /* _types.h:52:14 */ // access permissions | ||||||
|  | type X__nl_item = int32          /* _types.h:53:14 */ | ||||||
|  | type X__nlink_t = X__uint64_t    /* _types.h:54:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:55:19 */ // file offset | ||||||
|  | type X__off64_t = X__int64_t     /* _types.h:56:19 */ // file offset (alias) | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process [group] | ||||||
|  | type X__rlim_t = X__int64_t      /* _types.h:58:19 */ // resource limit - intentionally | ||||||
|  | // signed, because of legacy code | ||||||
|  | // that uses -1 for RLIM_INFINITY | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:61:19 */ | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:62:20 */ | ||||||
|  | type X__suseconds_t = int32      /* _types.h:63:15 */ // microseconds (signed) | ||||||
|  | type X__timer_t = uintptr        /* _types.h:64:24 */ // timer_gettime()... | ||||||
|  | type X__mqd_t = uintptr          /* _types.h:65:21 */ // mq_open()... | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:66:20 */ | ||||||
|  | type X__useconds_t = uint32      /* _types.h:67:22 */ // microseconds (unsigned) | ||||||
|  | type X__cpuwhich_t = int32       /* _types.h:68:14 */ // which parameter for cpuset. | ||||||
|  | type X__cpulevel_t = int32       /* _types.h:69:14 */ // level parameter for cpuset. | ||||||
|  | type X__cpusetid_t = int32       /* _types.h:70:14 */ // cpuset identifier. | ||||||
|  | type X__daddr_t = X__int64_t     /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc | ||||||
|  |  | ||||||
|  | // Unusual type definitions. | ||||||
|  | // rune_t is declared to be an “int” instead of the more natural | ||||||
|  | // “unsigned long” or “long”.  Two things are happening here.  It is not | ||||||
|  | // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also, | ||||||
|  | // it looks like 10646 will be a 31 bit standard.  This means that if your | ||||||
|  | // ints cannot hold 32 bits, you will be in trouble.  The reason an int was | ||||||
|  | // chosen over a long is that the is*() and to*() routines take ints (says | ||||||
|  | // ANSI C), but they use __ct_rune_t instead of int. | ||||||
|  | // | ||||||
|  | // NOTE: rune_t is not covered by ANSI nor other standards, and should not | ||||||
|  | // be instantiated outside of lib/libc/locale.  Use wchar_t.  wint_t and | ||||||
|  | // rune_t must be the same type.  Also, wint_t should be able to hold all | ||||||
|  | // members of the largest character set plus one extra value (WEOF), and | ||||||
|  | // must be at least 16 bits. | ||||||
|  | type X__ct_rune_t = int32     /* _types.h:91:14 */ // arg type for ctype funcs | ||||||
|  | type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above) | ||||||
|  | type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above) | ||||||
|  |  | ||||||
|  | // Clang already provides these types as built-ins, but only in C++ mode. | ||||||
|  | type X__char16_t = X__uint_least16_t /* _types.h:97:26 */ | ||||||
|  | type X__char32_t = X__uint_least32_t /* _types.h:98:26 */ | ||||||
|  | // In C++11, char16_t and char32_t are built-in types. | ||||||
|  |  | ||||||
|  | type X__max_align_t = struct { | ||||||
|  | 	F__max_align1 int64 | ||||||
|  | 	F__max_align2 float64 | ||||||
|  | } /* _types.h:111:3 */ | ||||||
|  |  | ||||||
|  | type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number | ||||||
|  |  | ||||||
|  | type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state during multibyte | ||||||
|  | // stream conversions. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint32 | ||||||
|  | 	F__mbstate8  [128]int8 | ||||||
|  | } /* _types.h:124:3 */ | ||||||
|  |  | ||||||
|  | type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */ | ||||||
|  |  | ||||||
|  | // Types for varargs. These are all provided by builtin types these | ||||||
|  | // days, so centralize their definition. | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc | ||||||
|  | type X__gnuc_va_list = X__va_list    /* _types.h:140:20 */ // compatibility w/GNU headers | ||||||
|  |  | ||||||
|  | // When the following macro is defined, the system uses 64-bit inode numbers. | ||||||
|  | // Programs can use this to avoid including <sys/param.h>, with its associated | ||||||
|  | // namespace pollution. | ||||||
|  |  | ||||||
|  | type Gid_t = X__gid_t /* grp.h:49:18 */ | ||||||
|  |  | ||||||
|  | type Group = struct { | ||||||
|  | 	Fgr_name   uintptr | ||||||
|  | 	Fgr_passwd uintptr | ||||||
|  | 	Fgr_gid    Gid_t | ||||||
|  | 	Fgr_mem    uintptr | ||||||
|  | } /* grp.h:58:1 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										556
									
								
								vendor/modernc.org/libc/grp/grp_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										556
									
								
								vendor/modernc.org/libc/grp/grp_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,556 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_freebsd_arm.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	X_FILE_OFFSET_BITS  = 64           // <builtin>:25:1: | ||||||
|  | 	X_GID_T_DECLARED    = 0            // grp.h:50:1: | ||||||
|  | 	X_GRP_H_            = 0            // grp.h:41:1: | ||||||
|  | 	X_ILP32             = 1            // <predefined>:1:1: | ||||||
|  | 	X_MACHINE__TYPES_H_ = 0            // _types.h:42:1: | ||||||
|  | 	X_Nonnull           = 0            // cdefs.h:790:1: | ||||||
|  | 	X_Null_unspecified  = 0            // cdefs.h:792:1: | ||||||
|  | 	X_Nullable          = 0            // cdefs.h:791:1: | ||||||
|  | 	X_PATH_GROUP        = "/etc/group" // grp.h:46:1: | ||||||
|  | 	X_SIZE_T_DECLARED   = 0            // grp.h:55:1: | ||||||
|  | 	X_SYS_CDEFS_H_      = 0            // cdefs.h:39:1: | ||||||
|  | 	X_SYS__TYPES_H_     = 0            // _types.h:32:1: | ||||||
|  | 	Unix                = 1            // <predefined>:367:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int32 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint32 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = uint32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1989, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)grp.h	8.2 (Berkeley) 1/21/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // Testing against Clang-specific extensions. | ||||||
|  |  | ||||||
|  | // This code has been put in place to help reduce the addition of | ||||||
|  | // compiler specific defines in FreeBSD code.  It helps to aid in | ||||||
|  | // having a compiler-agnostic source tree. | ||||||
|  |  | ||||||
|  | // Compiler memory barriers, specific to gcc and clang. | ||||||
|  |  | ||||||
|  | // XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky to use if it must work in non-ANSI | ||||||
|  | // mode -- there must be no spaces between its arguments, and for nested | ||||||
|  | // __CONCAT's, all the __CONCAT's must be at the left.  __CONCAT can also | ||||||
|  | // concatenate double-quoted strings produced by the __STRING macro, but | ||||||
|  | // this only works with ANSI C. | ||||||
|  | // | ||||||
|  | // __XSTRING is like __STRING, but it expands any macros in its argument | ||||||
|  | // first.  It is only available with ANSI C. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to help declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions, and unused variables.  They are | ||||||
|  | // null except for versions of gcc that are known to support the features | ||||||
|  | // properly (old versions of gcc-2 supported the dead and pure features | ||||||
|  | // in a different (wrong) way).  If we do not provide an implementation | ||||||
|  | // for a given compiler, let the compile fail if it is told to use | ||||||
|  | // a feature that we cannot live without. | ||||||
|  |  | ||||||
|  | // Keywords added in C11. | ||||||
|  |  | ||||||
|  | // Emulation of C11 _Generic().  Unlike the previously defined C11 | ||||||
|  | // keywords, it is not possible to implement this using exactly the same | ||||||
|  | // syntax.  Therefore implement something similar under the name | ||||||
|  | // __generic().  Unlike _Generic(), this macro can only distinguish | ||||||
|  | // between a single type, so it requires nested invocations to | ||||||
|  | // distinguish multiple cases. | ||||||
|  |  | ||||||
|  | // C99 Static array indices in function parameter declarations.  Syntax such as: | ||||||
|  | // void bar(int myArray[static 10]); | ||||||
|  | // is allowed in C99 but not in C++.  Define __min_size appropriately so | ||||||
|  | // headers using it can be compiled in either language.  Use like this: | ||||||
|  | // void bar(int myArray[__min_size(10)]); | ||||||
|  |  | ||||||
|  | // XXX: should use `#if __STDC_VERSION__ < 199901'. | ||||||
|  |  | ||||||
|  | // C++11 exposes a load of C99 stuff | ||||||
|  |  | ||||||
|  | // GCC 2.95 provides `__restrict' as an extension to C90 to support the | ||||||
|  | // C99-specific `restrict' type qualifier.  We happen to use `__restrict' as | ||||||
|  | // a way to define the `restrict' type qualifier without disturbing older | ||||||
|  | // software that is unaware of C99 keywords. | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h> | ||||||
|  | // require it. | ||||||
|  |  | ||||||
|  | // Given the pointer x to the member m of the struct s, return | ||||||
|  | // a pointer to the containing structure.  When using GCC, we first | ||||||
|  | // assign pointer x to a local variable, to check that its type is | ||||||
|  | // compatible with member m. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to declare that functions take printf-like | ||||||
|  | // or scanf-like arguments.  They are null except for versions of gcc | ||||||
|  | // that are known to support the features properly (old versions of gcc-2 | ||||||
|  | // didn't permit keeping the keywords out of the application namespace). | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros that rely on FreeBSD-specific extensions. | ||||||
|  |  | ||||||
|  | // Embed the rcs id of a source file in the resulting library.  Note that in | ||||||
|  | // more recent ELF binutils, we use .ident allowing the ID to be stripped. | ||||||
|  | // Usage: | ||||||
|  | //	__FBSDID("$FreeBSD$"); | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // The following definitions are an extension of the behavior originally | ||||||
|  | // implemented in <sys/_posix.h>, but with a different level of granularity. | ||||||
|  | // POSIX.1 requires that the macros we test be defined before any standard | ||||||
|  | // header file is included. | ||||||
|  | // | ||||||
|  | // Here's a quick run-down of the versions: | ||||||
|  | //  defined(_POSIX_SOURCE)		1003.1-1988 | ||||||
|  | //  _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | //  _POSIX_C_SOURCE == 2		1003.2-1992 C Language Binding Option | ||||||
|  | //  _POSIX_C_SOURCE == 199309		1003.1b-1993 | ||||||
|  | //  _POSIX_C_SOURCE == 199506		1003.1c-1995, 1003.1i-1995, | ||||||
|  | //					and the omnibus ISO/IEC 9945-1: 1996 | ||||||
|  | //  _POSIX_C_SOURCE == 200112		1003.1-2001 | ||||||
|  | //  _POSIX_C_SOURCE == 200809		1003.1-2008 | ||||||
|  | // | ||||||
|  | // In addition, the X/Open Portability Guide, which is now the Single UNIX | ||||||
|  | // Specification, defines a feature-test macro which indicates the version of | ||||||
|  | // that specification, and which subsumes _POSIX_C_SOURCE. | ||||||
|  | // | ||||||
|  | // Our macros begin with two underscores to avoid namespace screwage. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2. | ||||||
|  |  | ||||||
|  | // Deal with various X/Open Portability Guides and Single UNIX Spec. | ||||||
|  |  | ||||||
|  | // Deal with all versions of POSIX.  The ordering relative to the tests above is | ||||||
|  | // important. | ||||||
|  | // - | ||||||
|  | // Deal with _ANSI_SOURCE: | ||||||
|  | // If it is defined, and no other compilation environment is explicitly | ||||||
|  | // requested, then define our internal feature-test macros to zero.  This | ||||||
|  | // makes no difference to the preprocessor (undefined symbols in preprocessing | ||||||
|  | // expressions are defined to have value zero), but makes it more convenient for | ||||||
|  | // a test program to print out the values. | ||||||
|  | // | ||||||
|  | // If a program mistakenly defines _ANSI_SOURCE and some other macro such as | ||||||
|  | // _POSIX_C_SOURCE, we will assume that it wants the broader compilation | ||||||
|  | // environment (and in fact we will never get here). | ||||||
|  |  | ||||||
|  | // User override __EXT1_VISIBLE | ||||||
|  |  | ||||||
|  | // Old versions of GCC use non-standard ARM arch symbols; acle-compat.h | ||||||
|  | // translates them to __ARM_ARCH and the modern feature symbols defined by ARM. | ||||||
|  |  | ||||||
|  | // Nullability qualifiers: currently only supported by Clang. | ||||||
|  |  | ||||||
|  | // Type Safety Checking | ||||||
|  | // | ||||||
|  | // Clang provides additional attributes to enable checking type safety | ||||||
|  | // properties that cannot be enforced by the C type system. | ||||||
|  |  | ||||||
|  | // Lock annotations. | ||||||
|  | // | ||||||
|  | // Clang provides support for doing basic thread-safety tests at | ||||||
|  | // compile-time, by marking which locks will/should be held when | ||||||
|  | // entering/leaving a functions. | ||||||
|  | // | ||||||
|  | // Furthermore, it is also possible to annotate variables and structure | ||||||
|  | // members to enforce that they are only accessed when certain locks are | ||||||
|  | // held. | ||||||
|  |  | ||||||
|  | // Structure implements a lock. | ||||||
|  |  | ||||||
|  | // Function acquires an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function attempts to acquire an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function releases a lock. | ||||||
|  |  | ||||||
|  | // Function asserts that an exclusive or shared lock is held. | ||||||
|  |  | ||||||
|  | // Function requires that an exclusive or shared lock is or is not held. | ||||||
|  |  | ||||||
|  | // Function should not be analyzed. | ||||||
|  |  | ||||||
|  | // Function or variable should not be sanitized, e.g., by AddressSanitizer. | ||||||
|  | // GCC has the nosanitize attribute, but as a function attribute only, and | ||||||
|  | // warns on use as a variable attribute. | ||||||
|  |  | ||||||
|  | // Guard variables and structure members by lock. | ||||||
|  |  | ||||||
|  | // Alignment builtins for better type checking and improved code generation. | ||||||
|  | // Provide fallback versions for other compilers (GCC/Clang < 10): | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-2-Clause-FreeBSD | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-4-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. All advertising materials mentioning features or use of this software | ||||||
|  | //    must display the following acknowledgement: | ||||||
|  | //	This product includes software developed by the University of | ||||||
|  | //	California, Berkeley and its contributors. | ||||||
|  | // 4. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	From: @(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  | //	From: @(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // Basic types upon which most other types are built. | ||||||
|  | type X__int8_t = int8     /* _types.h:51:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:52:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:53:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:54:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:55:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:56:23 */ | ||||||
|  |  | ||||||
|  | // LONGLONG | ||||||
|  | type X__int64_t = int64 /* _types.h:61:20 */ | ||||||
|  |  | ||||||
|  | // LONGLONG | ||||||
|  | type X__uint64_t = uint64 /* _types.h:66:28 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__clock_t = X__uint32_t        /* _types.h:71:20 */ // clock()... | ||||||
|  | type X__critical_t = X__int32_t      /* _types.h:72:19 */ | ||||||
|  | type X__double_t = float64           /* _types.h:74:17 */ | ||||||
|  | type X__float_t = float32            /* _types.h:75:16 */ | ||||||
|  | type X__intfptr_t = X__int32_t       /* _types.h:77:19 */ | ||||||
|  | type X__intmax_t = X__int64_t        /* _types.h:78:19 */ | ||||||
|  | type X__intptr_t = X__int32_t        /* _types.h:79:19 */ | ||||||
|  | type X__int_fast8_t = X__int32_t     /* _types.h:80:19 */ | ||||||
|  | type X__int_fast16_t = X__int32_t    /* _types.h:81:19 */ | ||||||
|  | type X__int_fast32_t = X__int32_t    /* _types.h:82:19 */ | ||||||
|  | type X__int_fast64_t = X__int64_t    /* _types.h:83:19 */ | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:84:18 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:85:19 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:86:19 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:87:19 */ | ||||||
|  | type X__ptrdiff_t = X__int32_t       /* _types.h:88:19 */ // ptr1 - ptr2 | ||||||
|  | type X__register_t = X__int32_t      /* _types.h:89:19 */ | ||||||
|  | type X__segsz_t = X__int32_t         /* _types.h:90:19 */ // segment size (in pages) | ||||||
|  | type X__size_t = X__uint32_t         /* _types.h:91:20 */ // sizeof() | ||||||
|  | type X__ssize_t = X__int32_t         /* _types.h:92:19 */ // byte count or error | ||||||
|  | type X__time_t = X__int64_t          /* _types.h:93:19 */ // time()... | ||||||
|  | type X__uintfptr_t = X__uint32_t     /* _types.h:94:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t      /* _types.h:95:20 */ | ||||||
|  | type X__uintptr_t = X__uint32_t      /* _types.h:96:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t   /* _types.h:97:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t  /* _types.h:98:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t  /* _types.h:99:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t  /* _types.h:100:20 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:101:19 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:102:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:103:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:104:20 */ | ||||||
|  | type X__u_register_t = X__uint32_t   /* _types.h:105:20 */ | ||||||
|  | type X__vm_offset_t = X__uint32_t    /* _types.h:106:20 */ | ||||||
|  | type X__vm_paddr_t = X__uint32_t     /* _types.h:107:20 */ | ||||||
|  | type X__vm_size_t = X__uint32_t      /* _types.h:108:20 */ | ||||||
|  |  | ||||||
|  | type X___wchar_t = uint32 /* _types.h:110:22 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // file block size | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:41:19 */ // file block count | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // clock_gettime()... | ||||||
|  | type X__fflags_t = X__uint32_t   /* _types.h:43:20 */ // file flags | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */ | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */ | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:46:20 */ | ||||||
|  | type X__id_t = X__int64_t        /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:48:20 */ // inode number | ||||||
|  | type X__key_t = int32            /* _types.h:49:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__lwpid_t = X__int32_t     /* _types.h:50:19 */ // Thread ID (a.k.a. LWP) | ||||||
|  | type X__mode_t = X__uint16_t     /* _types.h:51:20 */ // permissions | ||||||
|  | type X__accmode_t = int32        /* _types.h:52:14 */ // access permissions | ||||||
|  | type X__nl_item = int32          /* _types.h:53:14 */ | ||||||
|  | type X__nlink_t = X__uint64_t    /* _types.h:54:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:55:19 */ // file offset | ||||||
|  | type X__off64_t = X__int64_t     /* _types.h:56:19 */ // file offset (alias) | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process [group] | ||||||
|  | type X__rlim_t = X__int64_t      /* _types.h:58:19 */ // resource limit - intentionally | ||||||
|  | // signed, because of legacy code | ||||||
|  | // that uses -1 for RLIM_INFINITY | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:61:19 */ | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:62:20 */ | ||||||
|  | type X__suseconds_t = int32      /* _types.h:63:15 */ // microseconds (signed) | ||||||
|  | type X__timer_t = uintptr        /* _types.h:64:24 */ // timer_gettime()... | ||||||
|  | type X__mqd_t = uintptr          /* _types.h:65:21 */ // mq_open()... | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:66:20 */ | ||||||
|  | type X__useconds_t = uint32      /* _types.h:67:22 */ // microseconds (unsigned) | ||||||
|  | type X__cpuwhich_t = int32       /* _types.h:68:14 */ // which parameter for cpuset. | ||||||
|  | type X__cpulevel_t = int32       /* _types.h:69:14 */ // level parameter for cpuset. | ||||||
|  | type X__cpusetid_t = int32       /* _types.h:70:14 */ // cpuset identifier. | ||||||
|  | type X__daddr_t = X__int64_t     /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc | ||||||
|  |  | ||||||
|  | // Unusual type definitions. | ||||||
|  | // rune_t is declared to be an “int” instead of the more natural | ||||||
|  | // “unsigned long” or “long”.  Two things are happening here.  It is not | ||||||
|  | // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also, | ||||||
|  | // it looks like 10646 will be a 31 bit standard.  This means that if your | ||||||
|  | // ints cannot hold 32 bits, you will be in trouble.  The reason an int was | ||||||
|  | // chosen over a long is that the is*() and to*() routines take ints (says | ||||||
|  | // ANSI C), but they use __ct_rune_t instead of int. | ||||||
|  | // | ||||||
|  | // NOTE: rune_t is not covered by ANSI nor other standards, and should not | ||||||
|  | // be instantiated outside of lib/libc/locale.  Use wchar_t.  wint_t and | ||||||
|  | // rune_t must be the same type.  Also, wint_t should be able to hold all | ||||||
|  | // members of the largest character set plus one extra value (WEOF), and | ||||||
|  | // must be at least 16 bits. | ||||||
|  | type X__ct_rune_t = int32     /* _types.h:91:14 */ // arg type for ctype funcs | ||||||
|  | type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above) | ||||||
|  | type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above) | ||||||
|  |  | ||||||
|  | // Clang already provides these types as built-ins, but only in C++ mode. | ||||||
|  | type X__char16_t = X__uint_least16_t /* _types.h:97:26 */ | ||||||
|  | type X__char32_t = X__uint_least32_t /* _types.h:98:26 */ | ||||||
|  | // In C++11, char16_t and char32_t are built-in types. | ||||||
|  |  | ||||||
|  | type X__max_align_t = struct { | ||||||
|  | 	F__max_align1 int64 | ||||||
|  | 	F__max_align2 float64 | ||||||
|  | } /* _types.h:111:3 */ | ||||||
|  |  | ||||||
|  | type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number | ||||||
|  |  | ||||||
|  | type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state during multibyte | ||||||
|  | // stream conversions. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint64 | ||||||
|  | 	F__mbstate8  [128]uint8 | ||||||
|  | } /* _types.h:124:3 */ | ||||||
|  |  | ||||||
|  | type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */ | ||||||
|  |  | ||||||
|  | // Types for varargs. These are all provided by builtin types these | ||||||
|  | // days, so centralize their definition. | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc | ||||||
|  | type X__gnuc_va_list = X__va_list    /* _types.h:140:20 */ // compatibility w/GNU headers | ||||||
|  |  | ||||||
|  | // When the following macro is defined, the system uses 64-bit inode numbers. | ||||||
|  | // Programs can use this to avoid including <sys/param.h>, with its associated | ||||||
|  | // namespace pollution. | ||||||
|  |  | ||||||
|  | type Gid_t = X__gid_t /* grp.h:49:18 */ | ||||||
|  |  | ||||||
|  | type Group = struct { | ||||||
|  | 	Fgr_name   uintptr | ||||||
|  | 	Fgr_passwd uintptr | ||||||
|  | 	Fgr_gid    Gid_t | ||||||
|  | 	Fgr_mem    uintptr | ||||||
|  | } /* grp.h:58:1 */ | ||||||
|  |  | ||||||
|  | var _ uint8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										616
									
								
								vendor/modernc.org/libc/grp/grp_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										616
									
								
								vendor/modernc.org/libc/grp/grp_freebsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,616 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_freebsd_amd64.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	X_FILE_OFFSET_BITS   = 64           // <builtin>:25:1: | ||||||
|  | 	X_GID_T_DECLARED     = 0            // grp.h:50:1: | ||||||
|  | 	X_GRP_H_             = 0            // grp.h:41:1: | ||||||
|  | 	X_LP64               = 1            // <predefined>:1:1: | ||||||
|  | 	X_MACHINE__LIMITS_H_ = 0            // _limits.h:36:1: | ||||||
|  | 	X_MACHINE__TYPES_H_  = 0            // _types.h:42:1: | ||||||
|  | 	X_Nonnull            = 0            // cdefs.h:790:1: | ||||||
|  | 	X_Null_unspecified   = 0            // cdefs.h:792:1: | ||||||
|  | 	X_Nullable           = 0            // cdefs.h:791:1: | ||||||
|  | 	X_PATH_GROUP         = "/etc/group" // grp.h:46:1: | ||||||
|  | 	X_SIZE_T_DECLARED    = 0            // grp.h:55:1: | ||||||
|  | 	X_SYS_CDEFS_H_       = 0            // cdefs.h:39:1: | ||||||
|  | 	X_SYS__TYPES_H_      = 0            // _types.h:32:1: | ||||||
|  | 	Unix                 = 1            // <predefined>:340:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1989, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)grp.h	8.2 (Berkeley) 1/21/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // Testing against Clang-specific extensions. | ||||||
|  |  | ||||||
|  | // This code has been put in place to help reduce the addition of | ||||||
|  | // compiler specific defines in FreeBSD code.  It helps to aid in | ||||||
|  | // having a compiler-agnostic source tree. | ||||||
|  |  | ||||||
|  | // Compiler memory barriers, specific to gcc and clang. | ||||||
|  |  | ||||||
|  | // XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky to use if it must work in non-ANSI | ||||||
|  | // mode -- there must be no spaces between its arguments, and for nested | ||||||
|  | // __CONCAT's, all the __CONCAT's must be at the left.  __CONCAT can also | ||||||
|  | // concatenate double-quoted strings produced by the __STRING macro, but | ||||||
|  | // this only works with ANSI C. | ||||||
|  | // | ||||||
|  | // __XSTRING is like __STRING, but it expands any macros in its argument | ||||||
|  | // first.  It is only available with ANSI C. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to help declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions, and unused variables.  They are | ||||||
|  | // null except for versions of gcc that are known to support the features | ||||||
|  | // properly (old versions of gcc-2 supported the dead and pure features | ||||||
|  | // in a different (wrong) way).  If we do not provide an implementation | ||||||
|  | // for a given compiler, let the compile fail if it is told to use | ||||||
|  | // a feature that we cannot live without. | ||||||
|  |  | ||||||
|  | // Keywords added in C11. | ||||||
|  |  | ||||||
|  | // Emulation of C11 _Generic().  Unlike the previously defined C11 | ||||||
|  | // keywords, it is not possible to implement this using exactly the same | ||||||
|  | // syntax.  Therefore implement something similar under the name | ||||||
|  | // __generic().  Unlike _Generic(), this macro can only distinguish | ||||||
|  | // between a single type, so it requires nested invocations to | ||||||
|  | // distinguish multiple cases. | ||||||
|  |  | ||||||
|  | // C99 Static array indices in function parameter declarations.  Syntax such as: | ||||||
|  | // void bar(int myArray[static 10]); | ||||||
|  | // is allowed in C99 but not in C++.  Define __min_size appropriately so | ||||||
|  | // headers using it can be compiled in either language.  Use like this: | ||||||
|  | // void bar(int myArray[__min_size(10)]); | ||||||
|  |  | ||||||
|  | // XXX: should use `#if __STDC_VERSION__ < 199901'. | ||||||
|  |  | ||||||
|  | // C++11 exposes a load of C99 stuff | ||||||
|  |  | ||||||
|  | // GCC 2.95 provides `__restrict' as an extension to C90 to support the | ||||||
|  | // C99-specific `restrict' type qualifier.  We happen to use `__restrict' as | ||||||
|  | // a way to define the `restrict' type qualifier without disturbing older | ||||||
|  | // software that is unaware of C99 keywords. | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // We define this here since <stddef.h>, <sys/queue.h>, and <sys/types.h> | ||||||
|  | // require it. | ||||||
|  |  | ||||||
|  | // Given the pointer x to the member m of the struct s, return | ||||||
|  | // a pointer to the containing structure.  When using GCC, we first | ||||||
|  | // assign pointer x to a local variable, to check that its type is | ||||||
|  | // compatible with member m. | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros to declare that functions take printf-like | ||||||
|  | // or scanf-like arguments.  They are null except for versions of gcc | ||||||
|  | // that are known to support the features properly (old versions of gcc-2 | ||||||
|  | // didn't permit keeping the keywords out of the application namespace). | ||||||
|  |  | ||||||
|  | // Compiler-dependent macros that rely on FreeBSD-specific extensions. | ||||||
|  |  | ||||||
|  | // Embed the rcs id of a source file in the resulting library.  Note that in | ||||||
|  | // more recent ELF binutils, we use .ident allowing the ID to be stripped. | ||||||
|  | // Usage: | ||||||
|  | //	__FBSDID("$FreeBSD$"); | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // The following definitions are an extension of the behavior originally | ||||||
|  | // implemented in <sys/_posix.h>, but with a different level of granularity. | ||||||
|  | // POSIX.1 requires that the macros we test be defined before any standard | ||||||
|  | // header file is included. | ||||||
|  | // | ||||||
|  | // Here's a quick run-down of the versions: | ||||||
|  | //  defined(_POSIX_SOURCE)		1003.1-1988 | ||||||
|  | //  _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | //  _POSIX_C_SOURCE == 2		1003.2-1992 C Language Binding Option | ||||||
|  | //  _POSIX_C_SOURCE == 199309		1003.1b-1993 | ||||||
|  | //  _POSIX_C_SOURCE == 199506		1003.1c-1995, 1003.1i-1995, | ||||||
|  | //					and the omnibus ISO/IEC 9945-1: 1996 | ||||||
|  | //  _POSIX_C_SOURCE == 200112		1003.1-2001 | ||||||
|  | //  _POSIX_C_SOURCE == 200809		1003.1-2008 | ||||||
|  | // | ||||||
|  | // In addition, the X/Open Portability Guide, which is now the Single UNIX | ||||||
|  | // Specification, defines a feature-test macro which indicates the version of | ||||||
|  | // that specification, and which subsumes _POSIX_C_SOURCE. | ||||||
|  | // | ||||||
|  | // Our macros begin with two underscores to avoid namespace screwage. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. | ||||||
|  |  | ||||||
|  | // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2. | ||||||
|  |  | ||||||
|  | // Deal with various X/Open Portability Guides and Single UNIX Spec. | ||||||
|  |  | ||||||
|  | // Deal with all versions of POSIX.  The ordering relative to the tests above is | ||||||
|  | // important. | ||||||
|  | // - | ||||||
|  | // Deal with _ANSI_SOURCE: | ||||||
|  | // If it is defined, and no other compilation environment is explicitly | ||||||
|  | // requested, then define our internal feature-test macros to zero.  This | ||||||
|  | // makes no difference to the preprocessor (undefined symbols in preprocessing | ||||||
|  | // expressions are defined to have value zero), but makes it more convenient for | ||||||
|  | // a test program to print out the values. | ||||||
|  | // | ||||||
|  | // If a program mistakenly defines _ANSI_SOURCE and some other macro such as | ||||||
|  | // _POSIX_C_SOURCE, we will assume that it wants the broader compilation | ||||||
|  | // environment (and in fact we will never get here). | ||||||
|  |  | ||||||
|  | // User override __EXT1_VISIBLE | ||||||
|  |  | ||||||
|  | // Old versions of GCC use non-standard ARM arch symbols; acle-compat.h | ||||||
|  | // translates them to __ARM_ARCH and the modern feature symbols defined by ARM. | ||||||
|  |  | ||||||
|  | // Nullability qualifiers: currently only supported by Clang. | ||||||
|  |  | ||||||
|  | // Type Safety Checking | ||||||
|  | // | ||||||
|  | // Clang provides additional attributes to enable checking type safety | ||||||
|  | // properties that cannot be enforced by the C type system. | ||||||
|  |  | ||||||
|  | // Lock annotations. | ||||||
|  | // | ||||||
|  | // Clang provides support for doing basic thread-safety tests at | ||||||
|  | // compile-time, by marking which locks will/should be held when | ||||||
|  | // entering/leaving a functions. | ||||||
|  | // | ||||||
|  | // Furthermore, it is also possible to annotate variables and structure | ||||||
|  | // members to enforce that they are only accessed when certain locks are | ||||||
|  | // held. | ||||||
|  |  | ||||||
|  | // Structure implements a lock. | ||||||
|  |  | ||||||
|  | // Function acquires an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function attempts to acquire an exclusive or shared lock. | ||||||
|  |  | ||||||
|  | // Function releases a lock. | ||||||
|  |  | ||||||
|  | // Function asserts that an exclusive or shared lock is held. | ||||||
|  |  | ||||||
|  | // Function requires that an exclusive or shared lock is or is not held. | ||||||
|  |  | ||||||
|  | // Function should not be analyzed. | ||||||
|  |  | ||||||
|  | // Function or variable should not be sanitized, e.g., by AddressSanitizer. | ||||||
|  | // GCC has the nosanitize attribute, but as a function attribute only, and | ||||||
|  | // warns on use as a variable attribute. | ||||||
|  |  | ||||||
|  | // Guard variables and structure members by lock. | ||||||
|  |  | ||||||
|  | // Alignment builtins for better type checking and improved code generation. | ||||||
|  | // Provide fallback versions for other compilers (GCC/Clang < 10): | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-2-Clause-FreeBSD | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // This file is in the public domain. | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-4-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. All advertising materials mentioning features or use of this software | ||||||
|  | //    must display the following acknowledgement: | ||||||
|  | //	This product includes software developed by the University of | ||||||
|  | //	California, Berkeley and its contributors. | ||||||
|  | // 4. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	From: @(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  | //	From: @(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // This file is in the public domain. | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // SPDX-License-Identifier: BSD-3-Clause | ||||||
|  | // | ||||||
|  | // Copyright (c) 1988, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)limits.h	8.3 (Berkeley) 1/4/94 | ||||||
|  | // $FreeBSD$ | ||||||
|  |  | ||||||
|  | // According to ANSI (section 2.2.4.2), the values below must be usable by | ||||||
|  | // #if preprocessing directives.  Additionally, the expression must have the | ||||||
|  | // same type as would an expression that is an object of the corresponding | ||||||
|  | // type converted according to the integral promotions.  The subtraction for | ||||||
|  | // INT_MIN, etc., is so the value is not unsigned; e.g., 0x80000000 is an | ||||||
|  | // unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2). | ||||||
|  |  | ||||||
|  | // max value for an unsigned long long | ||||||
|  |  | ||||||
|  | // Quads and longs are the same on the amd64.  Ensure they stay in sync. | ||||||
|  |  | ||||||
|  | // Minimum signal stack size. | ||||||
|  |  | ||||||
|  | // Basic types upon which most other types are built. | ||||||
|  | type X__int8_t = int8     /* _types.h:55:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:56:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:57:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:58:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:59:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:60:23 */ | ||||||
|  | type X__int64_t = int64   /* _types.h:62:16 */ | ||||||
|  | type X__uint64_t = uint64 /* _types.h:63:24 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__clock_t = X__int32_t         /* _types.h:75:19 */ // clock()... | ||||||
|  | type X__critical_t = X__int64_t      /* _types.h:76:19 */ | ||||||
|  | type X__double_t = float64           /* _types.h:78:17 */ | ||||||
|  | type X__float_t = float32            /* _types.h:79:16 */ | ||||||
|  | type X__intfptr_t = X__int64_t       /* _types.h:81:19 */ | ||||||
|  | type X__intptr_t = X__int64_t        /* _types.h:82:19 */ | ||||||
|  | type X__intmax_t = X__int64_t        /* _types.h:93:19 */ | ||||||
|  | type X__int_fast8_t = X__int32_t     /* _types.h:94:19 */ | ||||||
|  | type X__int_fast16_t = X__int32_t    /* _types.h:95:19 */ | ||||||
|  | type X__int_fast32_t = X__int32_t    /* _types.h:96:19 */ | ||||||
|  | type X__int_fast64_t = X__int64_t    /* _types.h:97:19 */ | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:98:18 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:99:19 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:100:19 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:101:19 */ | ||||||
|  | type X__ptrdiff_t = X__int64_t       /* _types.h:103:19 */ // ptr1 - ptr2 | ||||||
|  | type X__register_t = X__int64_t      /* _types.h:104:19 */ | ||||||
|  | type X__segsz_t = X__int64_t         /* _types.h:105:19 */ // segment size (in pages) | ||||||
|  | type X__size_t = X__uint64_t         /* _types.h:106:20 */ // sizeof() | ||||||
|  | type X__ssize_t = X__int64_t         /* _types.h:107:19 */ // byte count or error | ||||||
|  | type X__time_t = X__int64_t          /* _types.h:108:19 */ // time()... | ||||||
|  | type X__uintfptr_t = X__uint64_t     /* _types.h:109:20 */ | ||||||
|  | type X__uintptr_t = X__uint64_t      /* _types.h:110:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t      /* _types.h:121:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t   /* _types.h:122:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t  /* _types.h:123:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t  /* _types.h:124:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t  /* _types.h:125:20 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:126:19 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:127:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:128:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:129:20 */ | ||||||
|  | type X__u_register_t = X__uint64_t   /* _types.h:131:20 */ | ||||||
|  | type X__vm_offset_t = X__uint64_t    /* _types.h:132:20 */ | ||||||
|  | type X__vm_paddr_t = X__uint64_t     /* _types.h:133:20 */ | ||||||
|  | type X__vm_size_t = X__uint64_t      /* _types.h:134:20 */ | ||||||
|  | type X___wchar_t = int32             /* _types.h:141:14 */ | ||||||
|  |  | ||||||
|  | // Standard type definitions. | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // file block size | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:41:19 */ // file block count | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // clock_gettime()... | ||||||
|  | type X__fflags_t = X__uint32_t   /* _types.h:43:20 */ // file flags | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:44:20 */ | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:45:20 */ | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:46:20 */ | ||||||
|  | type X__id_t = X__int64_t        /* _types.h:47:19 */ // can hold a gid_t, pid_t, or uid_t | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:48:20 */ // inode number | ||||||
|  | type X__key_t = int64            /* _types.h:49:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__lwpid_t = X__int32_t     /* _types.h:50:19 */ // Thread ID (a.k.a. LWP) | ||||||
|  | type X__mode_t = X__uint16_t     /* _types.h:51:20 */ // permissions | ||||||
|  | type X__accmode_t = int32        /* _types.h:52:14 */ // access permissions | ||||||
|  | type X__nl_item = int32          /* _types.h:53:14 */ | ||||||
|  | type X__nlink_t = X__uint64_t    /* _types.h:54:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:55:19 */ // file offset | ||||||
|  | type X__off64_t = X__int64_t     /* _types.h:56:19 */ // file offset (alias) | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process [group] | ||||||
|  | type X__rlim_t = X__int64_t      /* _types.h:58:19 */ // resource limit - intentionally | ||||||
|  | // signed, because of legacy code | ||||||
|  | // that uses -1 for RLIM_INFINITY | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:61:19 */ | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:62:20 */ | ||||||
|  | type X__suseconds_t = int64      /* _types.h:63:15 */ // microseconds (signed) | ||||||
|  | type X__timer_t = uintptr        /* _types.h:64:24 */ // timer_gettime()... | ||||||
|  | type X__mqd_t = uintptr          /* _types.h:65:21 */ // mq_open()... | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:66:20 */ | ||||||
|  | type X__useconds_t = uint32      /* _types.h:67:22 */ // microseconds (unsigned) | ||||||
|  | type X__cpuwhich_t = int32       /* _types.h:68:14 */ // which parameter for cpuset. | ||||||
|  | type X__cpulevel_t = int32       /* _types.h:69:14 */ // level parameter for cpuset. | ||||||
|  | type X__cpusetid_t = int32       /* _types.h:70:14 */ // cpuset identifier. | ||||||
|  | type X__daddr_t = X__int64_t     /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc | ||||||
|  |  | ||||||
|  | // Unusual type definitions. | ||||||
|  | // rune_t is declared to be an “int” instead of the more natural | ||||||
|  | // “unsigned long” or “long”.  Two things are happening here.  It is not | ||||||
|  | // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also, | ||||||
|  | // it looks like 10646 will be a 31 bit standard.  This means that if your | ||||||
|  | // ints cannot hold 32 bits, you will be in trouble.  The reason an int was | ||||||
|  | // chosen over a long is that the is*() and to*() routines take ints (says | ||||||
|  | // ANSI C), but they use __ct_rune_t instead of int. | ||||||
|  | // | ||||||
|  | // NOTE: rune_t is not covered by ANSI nor other standards, and should not | ||||||
|  | // be instantiated outside of lib/libc/locale.  Use wchar_t.  wint_t and | ||||||
|  | // rune_t must be the same type.  Also, wint_t should be able to hold all | ||||||
|  | // members of the largest character set plus one extra value (WEOF), and | ||||||
|  | // must be at least 16 bits. | ||||||
|  | type X__ct_rune_t = int32     /* _types.h:91:14 */ // arg type for ctype funcs | ||||||
|  | type X__rune_t = X__ct_rune_t /* _types.h:92:21 */ // rune_t (see above) | ||||||
|  | type X__wint_t = X__ct_rune_t /* _types.h:93:21 */ // wint_t (see above) | ||||||
|  |  | ||||||
|  | // Clang already provides these types as built-ins, but only in C++ mode. | ||||||
|  | type X__char16_t = X__uint_least16_t /* _types.h:97:26 */ | ||||||
|  | type X__char32_t = X__uint_least32_t /* _types.h:98:26 */ | ||||||
|  | // In C++11, char16_t and char32_t are built-in types. | ||||||
|  |  | ||||||
|  | type X__max_align_t = struct { | ||||||
|  | 	F__max_align1 int64 | ||||||
|  | 	F__max_align2 float64 | ||||||
|  | } /* _types.h:111:3 */ | ||||||
|  |  | ||||||
|  | type X__dev_t = X__uint64_t /* _types.h:113:20 */ // device number | ||||||
|  |  | ||||||
|  | type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state during multibyte | ||||||
|  | // stream conversions. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint64 | ||||||
|  | 	F__mbstate8  [128]int8 | ||||||
|  | } /* _types.h:124:3 */ | ||||||
|  |  | ||||||
|  | type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */ | ||||||
|  |  | ||||||
|  | // Types for varargs. These are all provided by builtin types these | ||||||
|  | // days, so centralize their definition. | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:133:27 */ // internally known to gcc | ||||||
|  | type X__gnuc_va_list = X__va_list    /* _types.h:140:20 */ // compatibility w/GNU headers | ||||||
|  |  | ||||||
|  | // When the following macro is defined, the system uses 64-bit inode numbers. | ||||||
|  | // Programs can use this to avoid including <sys/param.h>, with its associated | ||||||
|  | // namespace pollution. | ||||||
|  |  | ||||||
|  | type Gid_t = X__gid_t /* grp.h:49:18 */ | ||||||
|  |  | ||||||
|  | type Group = struct { | ||||||
|  | 	Fgr_name     uintptr | ||||||
|  | 	Fgr_passwd   uintptr | ||||||
|  | 	Fgr_gid      Gid_t | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | 	Fgr_mem      uintptr | ||||||
|  | } /* grp.h:58:1 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										793
									
								
								vendor/modernc.org/libc/grp/grp_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										793
									
								
								vendor/modernc.org/libc/grp/grp_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,793 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_linux_ppc64le.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	NSS_BUFLEN_GROUP      = 1024   // grp.h:114:1: | ||||||
|  | 	X_ARCH_PPC            = 1      // <predefined>:198:1: | ||||||
|  | 	X_ARCH_PPC64          = 1      // <predefined>:402:1: | ||||||
|  | 	X_ARCH_PPCGR          = 1      // <predefined>:15:1: | ||||||
|  | 	X_ARCH_PPCSQ          = 1      // <predefined>:43:1: | ||||||
|  | 	X_ARCH_PWR4           = 1      // <predefined>:381:1: | ||||||
|  | 	X_ARCH_PWR5           = 1      // <predefined>:90:1: | ||||||
|  | 	X_ARCH_PWR5X          = 1      // <predefined>:137:1: | ||||||
|  | 	X_ARCH_PWR6           = 1      // <predefined>:91:1: | ||||||
|  | 	X_ARCH_PWR7           = 1      // <predefined>:92:1: | ||||||
|  | 	X_ARCH_PWR8           = 1      // <predefined>:93:1: | ||||||
|  | 	X_ATFILE_SOURCE       = 1      // features.h:342:1: | ||||||
|  | 	X_BITS_TIME64_H       = 1      // time64.h:24:1: | ||||||
|  | 	X_BITS_TYPESIZES_H    = 1      // typesizes.h:24:1: | ||||||
|  | 	X_BITS_TYPES_H        = 1      // types.h:24:1: | ||||||
|  | 	X_BSD_SIZE_T_         = 0      // stddef.h:189:1: | ||||||
|  | 	X_BSD_SIZE_T_DEFINED_ = 0      // stddef.h:192:1: | ||||||
|  | 	X_CALL_ELF            = 2      // <predefined>:415:1: | ||||||
|  | 	X_CALL_LINUX          = 1      // <predefined>:123:1: | ||||||
|  | 	X_DEFAULT_SOURCE      = 1      // features.h:227:1: | ||||||
|  | 	X_FEATURES_H          = 1      // features.h:19:1: | ||||||
|  | 	X_FILE_OFFSET_BITS    = 64     // <builtin>:25:1: | ||||||
|  | 	X_GCC_SIZE_T          = 0      // stddef.h:195:1: | ||||||
|  | 	X_GRP_H               = 1      // grp.h:23:1: | ||||||
|  | 	X_LITTLE_ENDIAN       = 1      // <predefined>:37:1: | ||||||
|  | 	X_LP64                = 1      // <predefined>:335:1: | ||||||
|  | 	X_POSIX_C_SOURCE      = 200809 // features.h:281:1: | ||||||
|  | 	X_POSIX_SOURCE        = 1      // features.h:279:1: | ||||||
|  | 	X_SIZET_              = 0      // stddef.h:196:1: | ||||||
|  | 	X_SIZE_T              = 0      // stddef.h:183:1: | ||||||
|  | 	X_SIZE_T_             = 0      // stddef.h:188:1: | ||||||
|  | 	X_SIZE_T_DECLARED     = 0      // stddef.h:193:1: | ||||||
|  | 	X_SIZE_T_DEFINED      = 0      // stddef.h:191:1: | ||||||
|  | 	X_SIZE_T_DEFINED_     = 0      // stddef.h:190:1: | ||||||
|  | 	X_STDC_PREDEF_H       = 1      // <predefined>:203:1: | ||||||
|  | 	X_SYS_CDEFS_H         = 1      // cdefs.h:19:1: | ||||||
|  | 	X_SYS_SIZE_T_H        = 0      // stddef.h:184:1: | ||||||
|  | 	X_T_SIZE              = 0      // stddef.h:186:1: | ||||||
|  | 	X_T_SIZE_             = 0      // stddef.h:185:1: | ||||||
|  | 	Linux                 = 1      // <predefined>:263:1: | ||||||
|  | 	Unix                  = 1      // <predefined>:222:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__ieee128 = float64         /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | // Copyright (C) 1991-2020 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | //	POSIX Standard: 9.2.1 Group Database Access	<grp.h> | ||||||
|  |  | ||||||
|  | // Copyright (C) 1991-2020 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // These are defined by the user (or the compiler) | ||||||
|  | //    to specify the desired environment: | ||||||
|  | // | ||||||
|  | //    __STRICT_ANSI__	ISO Standard C. | ||||||
|  | //    _ISOC99_SOURCE	Extensions to ISO C89 from ISO C99. | ||||||
|  | //    _ISOC11_SOURCE	Extensions to ISO C99 from ISO C11. | ||||||
|  | //    _ISOC2X_SOURCE	Extensions to ISO C99 from ISO C2X. | ||||||
|  | //    __STDC_WANT_LIB_EXT2__ | ||||||
|  | // 			Extensions to ISO C99 from TR 27431-2:2010. | ||||||
|  | //    __STDC_WANT_IEC_60559_BFP_EXT__ | ||||||
|  | // 			Extensions to ISO C11 from TS 18661-1:2014. | ||||||
|  | //    __STDC_WANT_IEC_60559_FUNCS_EXT__ | ||||||
|  | // 			Extensions to ISO C11 from TS 18661-4:2015. | ||||||
|  | //    __STDC_WANT_IEC_60559_TYPES_EXT__ | ||||||
|  | // 			Extensions to ISO C11 from TS 18661-3:2015. | ||||||
|  | // | ||||||
|  | //    _POSIX_SOURCE	IEEE Std 1003.1. | ||||||
|  | //    _POSIX_C_SOURCE	If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2; | ||||||
|  | // 			if >=199309L, add IEEE Std 1003.1b-1993; | ||||||
|  | // 			if >=199506L, add IEEE Std 1003.1c-1995; | ||||||
|  | // 			if >=200112L, all of IEEE 1003.1-2004 | ||||||
|  | // 			if >=200809L, all of IEEE 1003.1-2008 | ||||||
|  | //    _XOPEN_SOURCE	Includes POSIX and XPG things.  Set to 500 if | ||||||
|  | // 			Single Unix conformance is wanted, to 600 for the | ||||||
|  | // 			sixth revision, to 700 for the seventh revision. | ||||||
|  | //    _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions. | ||||||
|  | //    _LARGEFILE_SOURCE	Some more functions for correct standard I/O. | ||||||
|  | //    _LARGEFILE64_SOURCE	Additional functionality from LFS for large files. | ||||||
|  | //    _FILE_OFFSET_BITS=N	Select default filesystem interface. | ||||||
|  | //    _ATFILE_SOURCE	Additional *at interfaces. | ||||||
|  | //    _GNU_SOURCE		All of the above, plus GNU extensions. | ||||||
|  | //    _DEFAULT_SOURCE	The default set of features (taking precedence over | ||||||
|  | // 			__STRICT_ANSI__). | ||||||
|  | // | ||||||
|  | //    _FORTIFY_SOURCE	Add security hardening to many library functions. | ||||||
|  | // 			Set to 1 or 2; 2 performs stricter checks than 1. | ||||||
|  | // | ||||||
|  | //    _REENTRANT, _THREAD_SAFE | ||||||
|  | // 			Obsolete; equivalent to _POSIX_C_SOURCE=199506L. | ||||||
|  | // | ||||||
|  | //    The `-ansi' switch to the GNU C compiler, and standards conformance | ||||||
|  | //    options such as `-std=c99', define __STRICT_ANSI__.  If none of | ||||||
|  | //    these are defined, or if _DEFAULT_SOURCE is defined, the default is | ||||||
|  | //    to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to | ||||||
|  | //    200809L, as well as enabling miscellaneous functions from BSD and | ||||||
|  | //    SVID.  If more than one of these are defined, they accumulate.  For | ||||||
|  | //    example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together | ||||||
|  | //    give you ISO C, 1003.1, and 1003.2, but nothing else. | ||||||
|  | // | ||||||
|  | //    These are defined by this file and are used by the | ||||||
|  | //    header files to decide what to declare or define: | ||||||
|  | // | ||||||
|  | //    __GLIBC_USE (F)	Define things from feature set F.  This is defined | ||||||
|  | // 			to 1 or 0; the subsequent macros are either defined | ||||||
|  | // 			or undefined, and those tests should be moved to | ||||||
|  | // 			__GLIBC_USE. | ||||||
|  | //    __USE_ISOC11		Define ISO C11 things. | ||||||
|  | //    __USE_ISOC99		Define ISO C99 things. | ||||||
|  | //    __USE_ISOC95		Define ISO C90 AMD1 (C95) things. | ||||||
|  | //    __USE_ISOCXX11	Define ISO C++11 things. | ||||||
|  | //    __USE_POSIX		Define IEEE Std 1003.1 things. | ||||||
|  | //    __USE_POSIX2		Define IEEE Std 1003.2 things. | ||||||
|  | //    __USE_POSIX199309	Define IEEE Std 1003.1, and .1b things. | ||||||
|  | //    __USE_POSIX199506	Define IEEE Std 1003.1, .1b, .1c and .1i things. | ||||||
|  | //    __USE_XOPEN		Define XPG things. | ||||||
|  | //    __USE_XOPEN_EXTENDED	Define X/Open Unix things. | ||||||
|  | //    __USE_UNIX98		Define Single Unix V2 things. | ||||||
|  | //    __USE_XOPEN2K        Define XPG6 things. | ||||||
|  | //    __USE_XOPEN2KXSI     Define XPG6 XSI things. | ||||||
|  | //    __USE_XOPEN2K8       Define XPG7 things. | ||||||
|  | //    __USE_XOPEN2K8XSI    Define XPG7 XSI things. | ||||||
|  | //    __USE_LARGEFILE	Define correct standard I/O things. | ||||||
|  | //    __USE_LARGEFILE64	Define LFS things with separate names. | ||||||
|  | //    __USE_FILE_OFFSET64	Define 64bit interface as default. | ||||||
|  | //    __USE_MISC		Define things from 4.3BSD or System V Unix. | ||||||
|  | //    __USE_ATFILE		Define *at interfaces and AT_* constants for them. | ||||||
|  | //    __USE_GNU		Define GNU extensions. | ||||||
|  | //    __USE_FORTIFY_LEVEL	Additional security measures used, according to level. | ||||||
|  | // | ||||||
|  | //    The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are | ||||||
|  | //    defined by this file unconditionally.  `__GNU_LIBRARY__' is provided | ||||||
|  | //    only for compatibility.  All new code should use the other symbols | ||||||
|  | //    to test for features. | ||||||
|  | // | ||||||
|  | //    All macros listed above as possibly being defined by this file are | ||||||
|  | //    explicitly undefined if they are not explicitly defined. | ||||||
|  | //    Feature-test macros that are not defined by the user or compiler | ||||||
|  | //    but are implied by the other feature-test macros defined (or by the | ||||||
|  | //    lack of any definitions) are defined by the file. | ||||||
|  | // | ||||||
|  | //    ISO C feature test macros depend on the definition of the macro | ||||||
|  | //    when an affected header is included, not when the first system | ||||||
|  | //    header is included, and so they are handled in | ||||||
|  | //    <bits/libc-header-start.h>, which does not have a multiple include | ||||||
|  | //    guard.  Feature test macros that can be handled from the first | ||||||
|  | //    system header included are handled here. | ||||||
|  |  | ||||||
|  | // Undefine everything, so we get a clean slate. | ||||||
|  |  | ||||||
|  | // Suppress kernel-name space pollution unless user expressedly asks | ||||||
|  | //    for it. | ||||||
|  |  | ||||||
|  | // Convenience macro to test the version of gcc. | ||||||
|  | //    Use like this: | ||||||
|  | //    #if __GNUC_PREREQ (2,8) | ||||||
|  | //    ... code requiring gcc 2.8 or later ... | ||||||
|  | //    #endif | ||||||
|  | //    Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was | ||||||
|  | //    added in 2.0. | ||||||
|  |  | ||||||
|  | // Similarly for clang.  Features added to GCC after version 4.2 may | ||||||
|  | //    or may not also be available in clang, and clang's definitions of | ||||||
|  | //    __GNUC(_MINOR)__ are fixed at 4 and 2 respectively.  Not all such | ||||||
|  | //    features can be queried via __has_extension/__has_feature. | ||||||
|  |  | ||||||
|  | // Whether to use feature set F. | ||||||
|  |  | ||||||
|  | // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for | ||||||
|  | //    _DEFAULT_SOURCE.  If _DEFAULT_SOURCE is present we do not | ||||||
|  | //    issue a warning; the expectation is that the source is being | ||||||
|  | //    transitioned to use the new macro. | ||||||
|  |  | ||||||
|  | // If _GNU_SOURCE was defined by the user, turn on all the other features. | ||||||
|  |  | ||||||
|  | // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined, | ||||||
|  | //    define _DEFAULT_SOURCE. | ||||||
|  |  | ||||||
|  | // This is to enable the ISO C2X extension. | ||||||
|  |  | ||||||
|  | // This is to enable the ISO C11 extension. | ||||||
|  |  | ||||||
|  | // This is to enable the ISO C99 extension. | ||||||
|  |  | ||||||
|  | // This is to enable the ISO C90 Amendment 1:1995 extension. | ||||||
|  |  | ||||||
|  | // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE | ||||||
|  | //    is defined, use POSIX.1-2008 (or another version depending on | ||||||
|  | //    _XOPEN_SOURCE). | ||||||
|  |  | ||||||
|  | // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be | ||||||
|  | //    defined in all multithreaded code.  GNU libc has not required this | ||||||
|  | //    for many years.  We now treat them as compatibility synonyms for | ||||||
|  | //    _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with | ||||||
|  | //    comprehensive support for multithreaded code.  Using them never | ||||||
|  | //    lowers the selected level of POSIX conformance, only raises it. | ||||||
|  |  | ||||||
|  | // The function 'gets' existed in C89, but is impossible to use | ||||||
|  | //    safely.  It has been removed from ISO C11 and ISO C++14.  Note: for | ||||||
|  | //    compatibility with various implementations of <cstdio>, this test | ||||||
|  | //    must consider only the value of __cplusplus when compiling C++. | ||||||
|  |  | ||||||
|  | // GNU formerly extended the scanf functions with modified format | ||||||
|  | //    specifiers %as, %aS, and %a[...] that allocate a buffer for the | ||||||
|  | //    input using malloc.  This extension conflicts with ISO C99, which | ||||||
|  | //    defines %a as a standalone format specifier that reads a floating- | ||||||
|  | //    point number; moreover, POSIX.1-2008 provides the same feature | ||||||
|  | //    using the modifier letter 'm' instead (%ms, %mS, %m[...]). | ||||||
|  | // | ||||||
|  | //    We now follow C99 unless GNU extensions are active and the compiler | ||||||
|  | //    is specifically in C89 or C++98 mode (strict or not).  For | ||||||
|  | //    instance, with GCC, -std=gnu11 will have C99-compliant scanf with | ||||||
|  | //    or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the | ||||||
|  | //    old extension. | ||||||
|  |  | ||||||
|  | // Get definitions of __STDC_* predefined macros, if the compiler has | ||||||
|  | //    not preincluded this header automatically. | ||||||
|  | // Copyright (C) 1991-2020 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // This macro indicates that the installed library is the GNU C Library. | ||||||
|  | //    For historic reasons the value now is 6 and this will stay from now | ||||||
|  | //    on.  The use of this variable is deprecated.  Use __GLIBC__ and | ||||||
|  | //    __GLIBC_MINOR__ now (see below) when you want to test for a specific | ||||||
|  | //    GNU C library version and use the values in <gnu/lib-names.h> to get | ||||||
|  | //    the sonames of the shared libraries. | ||||||
|  |  | ||||||
|  | // Major and minor version number of the GNU C library package.  Use | ||||||
|  | //    these macros to test for features in specific releases. | ||||||
|  |  | ||||||
|  | // This is here only because every header file already includes this one. | ||||||
|  | // Copyright (C) 1992-2020 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // We are almost always included from features.h. | ||||||
|  |  | ||||||
|  | // The GNU libc does not support any K&R compilers or the traditional mode | ||||||
|  | //    of ISO C compilers anymore.  Check for some of the combinations not | ||||||
|  | //    anymore supported. | ||||||
|  |  | ||||||
|  | // Some user header file might have defined this before. | ||||||
|  |  | ||||||
|  | // All functions, except those with callbacks or those that | ||||||
|  | //    synchronize memory, are leaf functions. | ||||||
|  |  | ||||||
|  | // GCC can always grok prototypes.  For C++ programs we add throw() | ||||||
|  | //    to help it optimize the function calls.  But this works only with | ||||||
|  | //    gcc 2.8.x and egcs.  For gcc 3.2 and up we even mark C functions | ||||||
|  | //    as non-throwing using a function attribute since programs can use | ||||||
|  | //    the -fexceptions options for C code as well. | ||||||
|  |  | ||||||
|  | // Compilers that are not clang may object to | ||||||
|  | //        #if defined __clang__ && __has_extension(...) | ||||||
|  | //    even though they do not need to evaluate the right-hand side of the &&. | ||||||
|  |  | ||||||
|  | // These two macros are not used in glibc anymore.  They are kept here | ||||||
|  | //    only because some other projects expect the macros to be defined. | ||||||
|  |  | ||||||
|  | // For these things, GCC behaves the ANSI way normally, | ||||||
|  | //    and the non-ANSI way under -traditional. | ||||||
|  |  | ||||||
|  | // This is not a typedef so `const __ptr_t' does the right thing. | ||||||
|  |  | ||||||
|  | // C++ needs to know that types and declarations are C, not C++. | ||||||
|  |  | ||||||
|  | // Fortify support. | ||||||
|  |  | ||||||
|  | // Support for flexible arrays. | ||||||
|  | //    Headers that should use flexible arrays only if they're "real" | ||||||
|  | //    (e.g. only if they won't affect sizeof()) should test | ||||||
|  | //    #if __glibc_c99_flexarr_available. | ||||||
|  |  | ||||||
|  | // __asm__ ("xyz") is used throughout the headers to rename functions | ||||||
|  | //    at the assembly language level.  This is wrapped by the __REDIRECT | ||||||
|  | //    macro, in order to support compilers that can do this some other | ||||||
|  | //    way.  When compilers don't support asm-names at all, we have to do | ||||||
|  | //    preprocessor tricks instead (which don't have exactly the right | ||||||
|  | //    semantics, but it's the best we can do). | ||||||
|  | // | ||||||
|  | //    Example: | ||||||
|  | //    int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid); | ||||||
|  |  | ||||||
|  | // | ||||||
|  | // #elif __SOME_OTHER_COMPILER__ | ||||||
|  | // | ||||||
|  | // # define __REDIRECT(name, proto, alias) name proto; 	_Pragma("let " #name " = " #alias) | ||||||
|  |  | ||||||
|  | // GCC has various useful declarations that can be made with the | ||||||
|  | //    `__attribute__' syntax.  All of the ways we use this do fine if | ||||||
|  | //    they are omitted for compilers that don't understand it. | ||||||
|  |  | ||||||
|  | // At some point during the gcc 2.96 development the `malloc' attribute | ||||||
|  | //    for functions was introduced.  We don't want to use it unconditionally | ||||||
|  | //    (although this would be possible) since it generates warnings. | ||||||
|  |  | ||||||
|  | // Tell the compiler which arguments to an allocation function | ||||||
|  | //    indicate the size of the allocation. | ||||||
|  |  | ||||||
|  | // At some point during the gcc 2.96 development the `pure' attribute | ||||||
|  | //    for functions was introduced.  We don't want to use it unconditionally | ||||||
|  | //    (although this would be possible) since it generates warnings. | ||||||
|  |  | ||||||
|  | // This declaration tells the compiler that the value is constant. | ||||||
|  |  | ||||||
|  | // At some point during the gcc 3.1 development the `used' attribute | ||||||
|  | //    for functions was introduced.  We don't want to use it unconditionally | ||||||
|  | //    (although this would be possible) since it generates warnings. | ||||||
|  |  | ||||||
|  | // Since version 3.2, gcc allows marking deprecated functions. | ||||||
|  |  | ||||||
|  | // Since version 4.5, gcc also allows one to specify the message printed | ||||||
|  | //    when a deprecated function is used.  clang claims to be gcc 4.2, but | ||||||
|  | //    may also support this feature. | ||||||
|  |  | ||||||
|  | // At some point during the gcc 2.8 development the `format_arg' attribute | ||||||
|  | //    for functions was introduced.  We don't want to use it unconditionally | ||||||
|  | //    (although this would be possible) since it generates warnings. | ||||||
|  | //    If several `format_arg' attributes are given for the same function, in | ||||||
|  | //    gcc-3.0 and older, all but the last one are ignored.  In newer gccs, | ||||||
|  | //    all designated arguments are considered. | ||||||
|  |  | ||||||
|  | // At some point during the gcc 2.97 development the `strfmon' format | ||||||
|  | //    attribute for functions was introduced.  We don't want to use it | ||||||
|  | //    unconditionally (although this would be possible) since it | ||||||
|  | //    generates warnings. | ||||||
|  |  | ||||||
|  | // The nonull function attribute allows to mark pointer parameters which | ||||||
|  | //    must not be NULL. | ||||||
|  |  | ||||||
|  | // If fortification mode, we warn about unused results of certain | ||||||
|  | //    function calls which can lead to problems. | ||||||
|  |  | ||||||
|  | // Forces a function to be always inlined. | ||||||
|  | // The Linux kernel defines __always_inline in stddef.h (283d7573), and | ||||||
|  | //    it conflicts with this definition.  Therefore undefine it first to | ||||||
|  | //    allow either header to be included first. | ||||||
|  |  | ||||||
|  | // Associate error messages with the source location of the call site rather | ||||||
|  | //    than with the source location inside the function. | ||||||
|  |  | ||||||
|  | // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 | ||||||
|  | //    inline semantics, unless -fgnu89-inline is used.  Using __GNUC_STDC_INLINE__ | ||||||
|  | //    or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions | ||||||
|  | //    older than 4.3 may define these macros and still not guarantee GNU inlining | ||||||
|  | //    semantics. | ||||||
|  | // | ||||||
|  | //    clang++ identifies itself as gcc-4.2, but has support for GNU inlining | ||||||
|  | //    semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and | ||||||
|  | //    __GNUC_GNU_INLINE__ macro definitions. | ||||||
|  |  | ||||||
|  | // GCC 4.3 and above allow passing all anonymous arguments of an | ||||||
|  | //    __extern_always_inline function to some other vararg function. | ||||||
|  |  | ||||||
|  | // It is possible to compile containing GCC extensions even if GCC is | ||||||
|  | //    run in pedantic mode if the uses are carefully marked using the | ||||||
|  | //    `__extension__' keyword.  But this is not generally available before | ||||||
|  | //    version 2.8. | ||||||
|  |  | ||||||
|  | // __restrict is known in EGCS 1.2 and above. | ||||||
|  |  | ||||||
|  | // ISO C99 also allows to declare arrays as non-overlapping.  The syntax is | ||||||
|  | //      array_name[restrict] | ||||||
|  | //    GCC 3.1 supports this. | ||||||
|  |  | ||||||
|  | // Describes a char array whose address can safely be passed as the first | ||||||
|  | //    argument to strncpy and strncat, as the char array is not necessarily | ||||||
|  | //    a NUL-terminated string. | ||||||
|  |  | ||||||
|  | // Undefine (also defined in libc-symbols.h). | ||||||
|  | // Copies attributes from the declaration or type referenced by | ||||||
|  | //    the argument. | ||||||
|  |  | ||||||
|  | // Determine the wordsize from the preprocessor defines. | ||||||
|  |  | ||||||
|  | // Properties of long double type.  ldbl-opt version. | ||||||
|  | //    Copyright (C) 2016-2020 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License  published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // __glibc_macro_warning (MESSAGE) issues warning MESSAGE.  This is | ||||||
|  | //    intended for use in preprocessor macros. | ||||||
|  | // | ||||||
|  | //    Note: MESSAGE must be a _single_ string; concatenation of string | ||||||
|  | //    literals is not supported. | ||||||
|  |  | ||||||
|  | // Generic selection (ISO C11) is a C-only feature, available in GCC | ||||||
|  | //    since version 4.9.  Previous versions do not provide generic | ||||||
|  | //    selection, even though they might set __STDC_VERSION__ to 201112L, | ||||||
|  | //    when in -std=c11 mode.  Thus, we must check for !defined __GNUC__ | ||||||
|  | //    when testing __STDC_VERSION__ for generic selection support. | ||||||
|  | //    On the other hand, Clang also defines __GNUC__, so a clang-specific | ||||||
|  | //    check is required to enable the use of generic selection. | ||||||
|  |  | ||||||
|  | // If we don't have __REDIRECT, prototypes will be missing if | ||||||
|  | //    __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. | ||||||
|  |  | ||||||
|  | // Decide whether we can define 'extern inline' functions in headers. | ||||||
|  |  | ||||||
|  | // This is here only because every header file already includes this one. | ||||||
|  | //    Get the definitions of all the appropriate `__stub_FUNCTION' symbols. | ||||||
|  | //    <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub | ||||||
|  | //    that will always return failure (and set errno to ENOSYS). | ||||||
|  | // This file is automatically generated. | ||||||
|  | //    This file selects the right generated file of `__stub_FUNCTION' macros | ||||||
|  | //    based on the architecture being compiled for. | ||||||
|  |  | ||||||
|  | // Determine the wordsize from the preprocessor defines. | ||||||
|  |  | ||||||
|  | // This file is automatically generated. | ||||||
|  | //    It defines a symbol `__stub_FUNCTION' for each function | ||||||
|  | //    in the C library which is a stub, meaning it will fail | ||||||
|  | //    every time called, usually setting errno to ENOSYS. | ||||||
|  |  | ||||||
|  | // bits/types.h -- definitions of __*_t types underlying *_t types. | ||||||
|  | //    Copyright (C) 2002-2020 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Never include this file directly; use <sys/types.h> instead. | ||||||
|  |  | ||||||
|  | // Copyright (C) 1991-2020 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Determine the wordsize from the preprocessor defines. | ||||||
|  |  | ||||||
|  | // Bit size of the time_t type at glibc build time, general case. | ||||||
|  | //    Copyright (C) 2018-2020 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Determine the wordsize from the preprocessor defines. | ||||||
|  |  | ||||||
|  | // Size in bits of the 'time_t' type of the default ABI. | ||||||
|  |  | ||||||
|  | // Convenience types. | ||||||
|  | type X__u_char = uint8   /* types.h:31:23 */ | ||||||
|  | type X__u_short = uint16 /* types.h:32:28 */ | ||||||
|  | type X__u_int = uint32   /* types.h:33:22 */ | ||||||
|  | type X__u_long = uint64  /* types.h:34:27 */ | ||||||
|  |  | ||||||
|  | // Fixed-size types, underlying types depend on word size and compiler. | ||||||
|  | type X__int8_t = int8     /* types.h:37:21 */ | ||||||
|  | type X__uint8_t = uint8   /* types.h:38:23 */ | ||||||
|  | type X__int16_t = int16   /* types.h:39:26 */ | ||||||
|  | type X__uint16_t = uint16 /* types.h:40:28 */ | ||||||
|  | type X__int32_t = int32   /* types.h:41:20 */ | ||||||
|  | type X__uint32_t = uint32 /* types.h:42:22 */ | ||||||
|  | type X__int64_t = int64   /* types.h:44:25 */ | ||||||
|  | type X__uint64_t = uint64 /* types.h:45:27 */ | ||||||
|  |  | ||||||
|  | // Smallest types with at least a given width. | ||||||
|  | type X__int_least8_t = X__int8_t     /* types.h:52:18 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* types.h:53:19 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* types.h:54:19 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* types.h:55:20 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* types.h:56:19 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* types.h:57:20 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* types.h:58:19 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* types.h:59:20 */ | ||||||
|  |  | ||||||
|  | // quad_t is also 64 bits. | ||||||
|  | type X__quad_t = int64    /* types.h:63:18 */ | ||||||
|  | type X__u_quad_t = uint64 /* types.h:64:27 */ | ||||||
|  |  | ||||||
|  | // Largest integral types. | ||||||
|  | type X__intmax_t = int64   /* types.h:72:18 */ | ||||||
|  | type X__uintmax_t = uint64 /* types.h:73:27 */ | ||||||
|  |  | ||||||
|  | // The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE | ||||||
|  | //    macros for each of the OS types we define below.  The definitions | ||||||
|  | //    of those macros must use the following macros for underlying types. | ||||||
|  | //    We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned | ||||||
|  | //    variants of each of the following integer types on this machine. | ||||||
|  | // | ||||||
|  | // 	16		-- "natural" 16-bit type (always short) | ||||||
|  | // 	32		-- "natural" 32-bit type (always int) | ||||||
|  | // 	64		-- "natural" 64-bit type (long or long long) | ||||||
|  | // 	LONG32		-- 32-bit type, traditionally long | ||||||
|  | // 	QUAD		-- 64-bit type, traditionally long long | ||||||
|  | // 	WORD		-- natural type of __WORDSIZE bits (int or long) | ||||||
|  | // 	LONGWORD	-- type of __WORDSIZE bits, traditionally long | ||||||
|  | // | ||||||
|  | //    We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the | ||||||
|  | //    conventional uses of `long' or `long long' type modifiers match the | ||||||
|  | //    types we define, even when a less-adorned type would be the same size. | ||||||
|  | //    This matters for (somewhat) portably writing printf/scanf formats for | ||||||
|  | //    these types, where using the appropriate l or ll format modifiers can | ||||||
|  | //    make the typedefs and the formats match up across all GNU platforms.  If | ||||||
|  | //    we used `long' when it's 64 bits where `long long' is expected, then the | ||||||
|  | //    compiler would warn about the formats not matching the argument types, | ||||||
|  | //    and the programmer changing them to shut up the compiler would break the | ||||||
|  | //    program's portability. | ||||||
|  | // | ||||||
|  | //    Here we assume what is presently the case in all the GCC configurations | ||||||
|  | //    we support: long long is always 64 bits, long is always word/address size, | ||||||
|  | //    and int is always 32 bits. | ||||||
|  |  | ||||||
|  | // No need to mark the typedef with __extension__. | ||||||
|  | // bits/typesizes.h -- underlying types for *_t.  Generic version. | ||||||
|  | //    Copyright (C) 2002-2020 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // See <bits/types.h> for the meaning of these macros.  This file exists so | ||||||
|  | //    that <bits/types.h> need not vary across different GNU platforms. | ||||||
|  |  | ||||||
|  | // Tell the libc code that off_t and off64_t are actually the same type | ||||||
|  | //    for all ABI purposes, even if possibly expressed as different base types | ||||||
|  | //    for C type-checking purposes. | ||||||
|  |  | ||||||
|  | // Same for ino_t and ino64_t. | ||||||
|  |  | ||||||
|  | // And for rlim_t and rlim64_t. | ||||||
|  |  | ||||||
|  | // And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. | ||||||
|  |  | ||||||
|  | // Number of descriptors that can fit in an `fd_set'. | ||||||
|  |  | ||||||
|  | // bits/time64.h -- underlying types for __time64_t.  Generic version. | ||||||
|  | //    Copyright (C) 2018-2020 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Define __TIME64_T_TYPE so that it is always a 64-bit type. | ||||||
|  |  | ||||||
|  | // If we already have 64-bit time type then use it. | ||||||
|  |  | ||||||
|  | type X__dev_t = uint64                     /* types.h:145:25 */ // Type of device numbers. | ||||||
|  | type X__uid_t = uint32                     /* types.h:146:25 */ // Type of user identifications. | ||||||
|  | type X__gid_t = uint32                     /* types.h:147:25 */ // Type of group identifications. | ||||||
|  | type X__ino_t = uint64                     /* types.h:148:25 */ // Type of file serial numbers. | ||||||
|  | type X__ino64_t = uint64                   /* types.h:149:27 */ // Type of file serial numbers (LFS). | ||||||
|  | type X__mode_t = uint32                    /* types.h:150:26 */ // Type of file attribute bitmasks. | ||||||
|  | type X__nlink_t = uint64                   /* types.h:151:27 */ // Type of file link counts. | ||||||
|  | type X__off_t = int64                      /* types.h:152:25 */ // Type of file sizes and offsets. | ||||||
|  | type X__off64_t = int64                    /* types.h:153:27 */ // Type of file sizes and offsets (LFS). | ||||||
|  | type X__pid_t = int32                      /* types.h:154:25 */ // Type of process identifications. | ||||||
|  | type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs. | ||||||
|  | type X__clock_t = int64                    /* types.h:156:27 */ // Type of CPU usage counts. | ||||||
|  | type X__rlim_t = uint64                    /* types.h:157:26 */ // Type for resource measurement. | ||||||
|  | type X__rlim64_t = uint64                  /* types.h:158:28 */ // Type for resource measurement (LFS). | ||||||
|  | type X__id_t = uint32                      /* types.h:159:24 */ // General type for IDs. | ||||||
|  | type X__time_t = int64                     /* types.h:160:26 */ // Seconds since the Epoch. | ||||||
|  | type X__useconds_t = uint32                /* types.h:161:30 */ // Count of microseconds. | ||||||
|  | type X__suseconds_t = int64                /* types.h:162:31 */ // Signed count of microseconds. | ||||||
|  |  | ||||||
|  | type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address. | ||||||
|  | type X__key_t = int32   /* types.h:165:25 */ // Type of an IPC key. | ||||||
|  |  | ||||||
|  | // Clock ID used in clock and timer functions. | ||||||
|  | type X__clockid_t = int32 /* types.h:168:29 */ | ||||||
|  |  | ||||||
|  | // Timer ID returned by `timer_create'. | ||||||
|  | type X__timer_t = uintptr /* types.h:171:12 */ | ||||||
|  |  | ||||||
|  | // Type to represent block size. | ||||||
|  | type X__blksize_t = int64 /* types.h:174:29 */ | ||||||
|  |  | ||||||
|  | // Types from the Large File Support interface. | ||||||
|  |  | ||||||
|  | // Type to count number of disk blocks. | ||||||
|  | type X__blkcnt_t = int64   /* types.h:179:28 */ | ||||||
|  | type X__blkcnt64_t = int64 /* types.h:180:30 */ | ||||||
|  |  | ||||||
|  | // Type to count file system blocks. | ||||||
|  | type X__fsblkcnt_t = uint64   /* types.h:183:30 */ | ||||||
|  | type X__fsblkcnt64_t = uint64 /* types.h:184:32 */ | ||||||
|  |  | ||||||
|  | // Type to count file system nodes. | ||||||
|  | type X__fsfilcnt_t = uint64   /* types.h:187:30 */ | ||||||
|  | type X__fsfilcnt64_t = uint64 /* types.h:188:32 */ | ||||||
|  |  | ||||||
|  | // Type of miscellaneous file system fields. | ||||||
|  | type X__fsword_t = int64 /* types.h:191:28 */ | ||||||
|  |  | ||||||
|  | type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error. | ||||||
|  |  | ||||||
|  | // Signed long type used in system calls. | ||||||
|  | type X__syscall_slong_t = int64 /* types.h:196:33 */ | ||||||
|  | // Unsigned long type used in system calls. | ||||||
|  | type X__syscall_ulong_t = uint64 /* types.h:198:33 */ | ||||||
|  |  | ||||||
|  | // These few don't really vary by system, they always correspond | ||||||
|  | // | ||||||
|  | //	to one of the other defined types. | ||||||
|  | type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS). | ||||||
|  | type X__caddr_t = uintptr   /* types.h:203:14 */ | ||||||
|  |  | ||||||
|  | // Duplicates info from stdint.h but this is used in unistd.h. | ||||||
|  | type X__intptr_t = int64 /* types.h:206:25 */ | ||||||
|  |  | ||||||
|  | // Duplicate info from sys/socket.h. | ||||||
|  | type X__socklen_t = uint32 /* types.h:209:23 */ | ||||||
|  |  | ||||||
|  | // C99: An integer type that can be accessed as an atomic entity, | ||||||
|  | // | ||||||
|  | //	even in the presence of asynchronous interrupts. | ||||||
|  | //	It is not currently necessary for this to be machine-specific. | ||||||
|  | type X__sig_atomic_t = int32 /* types.h:214:13 */ | ||||||
|  |  | ||||||
|  | // Wide character type. | ||||||
|  | //    Locale-writers should change this as necessary to | ||||||
|  | //    be big enough to hold unique values not between 0 and 127, | ||||||
|  | //    and not (wchar_t) -1, for each defined multibyte character. | ||||||
|  |  | ||||||
|  | // Define this type if we are doing the whole job, | ||||||
|  | //    or if we want this type in particular. | ||||||
|  |  | ||||||
|  | // A null pointer constant. | ||||||
|  |  | ||||||
|  | // For the Single Unix specification we must define this type here. | ||||||
|  | type Gid_t = X__gid_t /* grp.h:37:17 */ | ||||||
|  |  | ||||||
|  | // The group structure. | ||||||
|  | type Group = struct { | ||||||
|  | 	Fgr_name     uintptr | ||||||
|  | 	Fgr_passwd   uintptr | ||||||
|  | 	Fgr_gid      X__gid_t | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | 	Fgr_mem      uintptr | ||||||
|  | } /* grp.h:42:1 */ | ||||||
|  |  | ||||||
|  | var _ uint8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										955
									
								
								vendor/modernc.org/libc/grp/grp_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										955
									
								
								vendor/modernc.org/libc/grp/grp_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,955 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o grp/grp_linux_riscv64.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	NSS_BUFLEN_GROUP      = 1024 | ||||||
|  | 	X_ATFILE_SOURCE       = 1 | ||||||
|  | 	X_BITS_TIME64_H       = 1 | ||||||
|  | 	X_BITS_TYPESIZES_H    = 1 | ||||||
|  | 	X_BITS_TYPES_H        = 1 | ||||||
|  | 	X_BSD_SIZE_T_         = 0 | ||||||
|  | 	X_BSD_SIZE_T_DEFINED_ = 0 | ||||||
|  | 	X_DEFAULT_SOURCE      = 1 | ||||||
|  | 	X_FEATURES_H          = 1 | ||||||
|  | 	X_FILE_OFFSET_BITS    = 64 | ||||||
|  | 	X_GCC_SIZE_T          = 0 | ||||||
|  | 	X_GRP_H               = 1 | ||||||
|  | 	X_LP64                = 1 | ||||||
|  | 	X_POSIX_C_SOURCE      = 200809 | ||||||
|  | 	X_POSIX_SOURCE        = 1 | ||||||
|  | 	X_SIZET_              = 0 | ||||||
|  | 	X_SIZE_T              = 0 | ||||||
|  | 	X_SIZE_T_             = 0 | ||||||
|  | 	X_SIZE_T_DECLARED     = 0 | ||||||
|  | 	X_SIZE_T_DEFINED      = 0 | ||||||
|  | 	X_SIZE_T_DEFINED_     = 0 | ||||||
|  | 	X_STDC_PREDEF_H       = 1 | ||||||
|  | 	X_SYS_CDEFS_H         = 1 | ||||||
|  | 	X_SYS_SIZE_T_H        = 0 | ||||||
|  | 	X_T_SIZE              = 0 | ||||||
|  | 	X_T_SIZE_             = 0 | ||||||
|  | 	Linux                 = 1 | ||||||
|  | 	Unix                  = 1 | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | // Copyright (C) 1991-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | //	POSIX Standard: 9.2.1 Group Database Access	<grp.h> | ||||||
|  |  | ||||||
|  | // Copyright (C) 1991-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // These are defined by the user (or the compiler) | ||||||
|  | //    to specify the desired environment: | ||||||
|  | // | ||||||
|  | //    __STRICT_ANSI__	ISO Standard C. | ||||||
|  | //    _ISOC99_SOURCE	Extensions to ISO C89 from ISO C99. | ||||||
|  | //    _ISOC11_SOURCE	Extensions to ISO C99 from ISO C11. | ||||||
|  | //    _ISOC2X_SOURCE	Extensions to ISO C99 from ISO C2X. | ||||||
|  | //    __STDC_WANT_LIB_EXT2__ | ||||||
|  | // 			Extensions to ISO C99 from TR 27431-2:2010. | ||||||
|  | //    __STDC_WANT_IEC_60559_BFP_EXT__ | ||||||
|  | // 			Extensions to ISO C11 from TS 18661-1:2014. | ||||||
|  | //    __STDC_WANT_IEC_60559_FUNCS_EXT__ | ||||||
|  | // 			Extensions to ISO C11 from TS 18661-4:2015. | ||||||
|  | //    __STDC_WANT_IEC_60559_TYPES_EXT__ | ||||||
|  | // 			Extensions to ISO C11 from TS 18661-3:2015. | ||||||
|  | //    __STDC_WANT_IEC_60559_EXT__ | ||||||
|  | // 			ISO C2X interfaces defined only in Annex F. | ||||||
|  | // | ||||||
|  | //    _POSIX_SOURCE	IEEE Std 1003.1. | ||||||
|  | //    _POSIX_C_SOURCE	If ==1, like _POSIX_SOURCE; if >=2 add IEEE Std 1003.2; | ||||||
|  | // 			if >=199309L, add IEEE Std 1003.1b-1993; | ||||||
|  | // 			if >=199506L, add IEEE Std 1003.1c-1995; | ||||||
|  | // 			if >=200112L, all of IEEE 1003.1-2004 | ||||||
|  | // 			if >=200809L, all of IEEE 1003.1-2008 | ||||||
|  | //    _XOPEN_SOURCE	Includes POSIX and XPG things.  Set to 500 if | ||||||
|  | // 			Single Unix conformance is wanted, to 600 for the | ||||||
|  | // 			sixth revision, to 700 for the seventh revision. | ||||||
|  | //    _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions. | ||||||
|  | //    _LARGEFILE_SOURCE	Some more functions for correct standard I/O. | ||||||
|  | //    _LARGEFILE64_SOURCE	Additional functionality from LFS for large files. | ||||||
|  | //    _FILE_OFFSET_BITS=N	Select default filesystem interface. | ||||||
|  | //    _ATFILE_SOURCE	Additional *at interfaces. | ||||||
|  | //    _DYNAMIC_STACK_SIZE_SOURCE Select correct (but non compile-time constant) | ||||||
|  | // 			MINSIGSTKSZ, SIGSTKSZ and PTHREAD_STACK_MIN. | ||||||
|  | //    _GNU_SOURCE		All of the above, plus GNU extensions. | ||||||
|  | //    _DEFAULT_SOURCE	The default set of features (taking precedence over | ||||||
|  | // 			__STRICT_ANSI__). | ||||||
|  | // | ||||||
|  | //    _FORTIFY_SOURCE	Add security hardening to many library functions. | ||||||
|  | // 			Set to 1 or 2; 2 performs stricter checks than 1. | ||||||
|  | // | ||||||
|  | //    _REENTRANT, _THREAD_SAFE | ||||||
|  | // 			Obsolete; equivalent to _POSIX_C_SOURCE=199506L. | ||||||
|  | // | ||||||
|  | //    The `-ansi' switch to the GNU C compiler, and standards conformance | ||||||
|  | //    options such as `-std=c99', define __STRICT_ANSI__.  If none of | ||||||
|  | //    these are defined, or if _DEFAULT_SOURCE is defined, the default is | ||||||
|  | //    to have _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to | ||||||
|  | //    200809L, as well as enabling miscellaneous functions from BSD and | ||||||
|  | //    SVID.  If more than one of these are defined, they accumulate.  For | ||||||
|  | //    example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together | ||||||
|  | //    give you ISO C, 1003.1, and 1003.2, but nothing else. | ||||||
|  | // | ||||||
|  | //    These are defined by this file and are used by the | ||||||
|  | //    header files to decide what to declare or define: | ||||||
|  | // | ||||||
|  | //    __GLIBC_USE (F)	Define things from feature set F.  This is defined | ||||||
|  | // 			to 1 or 0; the subsequent macros are either defined | ||||||
|  | // 			or undefined, and those tests should be moved to | ||||||
|  | // 			__GLIBC_USE. | ||||||
|  | //    __USE_ISOC11		Define ISO C11 things. | ||||||
|  | //    __USE_ISOC99		Define ISO C99 things. | ||||||
|  | //    __USE_ISOC95		Define ISO C90 AMD1 (C95) things. | ||||||
|  | //    __USE_ISOCXX11	Define ISO C++11 things. | ||||||
|  | //    __USE_POSIX		Define IEEE Std 1003.1 things. | ||||||
|  | //    __USE_POSIX2		Define IEEE Std 1003.2 things. | ||||||
|  | //    __USE_POSIX199309	Define IEEE Std 1003.1, and .1b things. | ||||||
|  | //    __USE_POSIX199506	Define IEEE Std 1003.1, .1b, .1c and .1i things. | ||||||
|  | //    __USE_XOPEN		Define XPG things. | ||||||
|  | //    __USE_XOPEN_EXTENDED	Define X/Open Unix things. | ||||||
|  | //    __USE_UNIX98		Define Single Unix V2 things. | ||||||
|  | //    __USE_XOPEN2K        Define XPG6 things. | ||||||
|  | //    __USE_XOPEN2KXSI     Define XPG6 XSI things. | ||||||
|  | //    __USE_XOPEN2K8       Define XPG7 things. | ||||||
|  | //    __USE_XOPEN2K8XSI    Define XPG7 XSI things. | ||||||
|  | //    __USE_LARGEFILE	Define correct standard I/O things. | ||||||
|  | //    __USE_LARGEFILE64	Define LFS things with separate names. | ||||||
|  | //    __USE_FILE_OFFSET64	Define 64bit interface as default. | ||||||
|  | //    __USE_MISC		Define things from 4.3BSD or System V Unix. | ||||||
|  | //    __USE_ATFILE		Define *at interfaces and AT_* constants for them. | ||||||
|  | //    __USE_DYNAMIC_STACK_SIZE Define correct (but non compile-time constant) | ||||||
|  | // 			MINSIGSTKSZ, SIGSTKSZ and PTHREAD_STACK_MIN. | ||||||
|  | //    __USE_GNU		Define GNU extensions. | ||||||
|  | //    __USE_FORTIFY_LEVEL	Additional security measures used, according to level. | ||||||
|  | // | ||||||
|  | //    The macros `__GNU_LIBRARY__', `__GLIBC__', and `__GLIBC_MINOR__' are | ||||||
|  | //    defined by this file unconditionally.  `__GNU_LIBRARY__' is provided | ||||||
|  | //    only for compatibility.  All new code should use the other symbols | ||||||
|  | //    to test for features. | ||||||
|  | // | ||||||
|  | //    All macros listed above as possibly being defined by this file are | ||||||
|  | //    explicitly undefined if they are not explicitly defined. | ||||||
|  | //    Feature-test macros that are not defined by the user or compiler | ||||||
|  | //    but are implied by the other feature-test macros defined (or by the | ||||||
|  | //    lack of any definitions) are defined by the file. | ||||||
|  | // | ||||||
|  | //    ISO C feature test macros depend on the definition of the macro | ||||||
|  | //    when an affected header is included, not when the first system | ||||||
|  | //    header is included, and so they are handled in | ||||||
|  | //    <bits/libc-header-start.h>, which does not have a multiple include | ||||||
|  | //    guard.  Feature test macros that can be handled from the first | ||||||
|  | //    system header included are handled here. | ||||||
|  |  | ||||||
|  | // Undefine everything, so we get a clean slate. | ||||||
|  |  | ||||||
|  | // Suppress kernel-name space pollution unless user expressedly asks | ||||||
|  | //    for it. | ||||||
|  |  | ||||||
|  | // Convenience macro to test the version of gcc. | ||||||
|  | //    Use like this: | ||||||
|  | //    #if __GNUC_PREREQ (2,8) | ||||||
|  | //    ... code requiring gcc 2.8 or later ... | ||||||
|  | //    #endif | ||||||
|  | //    Note: only works for GCC 2.0 and later, because __GNUC_MINOR__ was | ||||||
|  | //    added in 2.0. | ||||||
|  |  | ||||||
|  | // Similarly for clang.  Features added to GCC after version 4.2 may | ||||||
|  | //    or may not also be available in clang, and clang's definitions of | ||||||
|  | //    __GNUC(_MINOR)__ are fixed at 4 and 2 respectively.  Not all such | ||||||
|  | //    features can be queried via __has_extension/__has_feature. | ||||||
|  |  | ||||||
|  | // Whether to use feature set F. | ||||||
|  |  | ||||||
|  | // _BSD_SOURCE and _SVID_SOURCE are deprecated aliases for | ||||||
|  | //    _DEFAULT_SOURCE.  If _DEFAULT_SOURCE is present we do not | ||||||
|  | //    issue a warning; the expectation is that the source is being | ||||||
|  | //    transitioned to use the new macro. | ||||||
|  |  | ||||||
|  | // If _GNU_SOURCE was defined by the user, turn on all the other features. | ||||||
|  |  | ||||||
|  | // If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined, | ||||||
|  | //    define _DEFAULT_SOURCE. | ||||||
|  |  | ||||||
|  | // This is to enable the ISO C2X extension. | ||||||
|  |  | ||||||
|  | // This is to enable the ISO C11 extension. | ||||||
|  |  | ||||||
|  | // This is to enable the ISO C99 extension. | ||||||
|  |  | ||||||
|  | // This is to enable the ISO C90 Amendment 1:1995 extension. | ||||||
|  |  | ||||||
|  | // If none of the ANSI/POSIX macros are defined, or if _DEFAULT_SOURCE | ||||||
|  | //    is defined, use POSIX.1-2008 (or another version depending on | ||||||
|  | //    _XOPEN_SOURCE). | ||||||
|  |  | ||||||
|  | // Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be | ||||||
|  | //    defined in all multithreaded code.  GNU libc has not required this | ||||||
|  | //    for many years.  We now treat them as compatibility synonyms for | ||||||
|  | //    _POSIX_C_SOURCE=199506L, which is the earliest level of POSIX with | ||||||
|  | //    comprehensive support for multithreaded code.  Using them never | ||||||
|  | //    lowers the selected level of POSIX conformance, only raises it. | ||||||
|  |  | ||||||
|  | // Features part to handle 64-bit time_t support. | ||||||
|  | //    Copyright (C) 2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // We need to know the word size in order to check the time size. | ||||||
|  | // Determine the wordsize from the preprocessor defines.  RISC-V version. | ||||||
|  | //    Copyright (C) 2002-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library.  If not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Bit size of the time_t type at glibc build time, RISC-V case. | ||||||
|  | //    Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Determine the wordsize from the preprocessor defines.  RISC-V version. | ||||||
|  | //    Copyright (C) 2002-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library.  If not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // RV32 and RV64 both use 64-bit time_t | ||||||
|  |  | ||||||
|  | // The function 'gets' existed in C89, but is impossible to use | ||||||
|  | //    safely.  It has been removed from ISO C11 and ISO C++14.  Note: for | ||||||
|  | //    compatibility with various implementations of <cstdio>, this test | ||||||
|  | //    must consider only the value of __cplusplus when compiling C++. | ||||||
|  |  | ||||||
|  | // GNU formerly extended the scanf functions with modified format | ||||||
|  | //    specifiers %as, %aS, and %a[...] that allocate a buffer for the | ||||||
|  | //    input using malloc.  This extension conflicts with ISO C99, which | ||||||
|  | //    defines %a as a standalone format specifier that reads a floating- | ||||||
|  | //    point number; moreover, POSIX.1-2008 provides the same feature | ||||||
|  | //    using the modifier letter 'm' instead (%ms, %mS, %m[...]). | ||||||
|  | // | ||||||
|  | //    We now follow C99 unless GNU extensions are active and the compiler | ||||||
|  | //    is specifically in C89 or C++98 mode (strict or not).  For | ||||||
|  | //    instance, with GCC, -std=gnu11 will have C99-compliant scanf with | ||||||
|  | //    or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the | ||||||
|  | //    old extension. | ||||||
|  |  | ||||||
|  | // Get definitions of __STDC_* predefined macros, if the compiler has | ||||||
|  | //    not preincluded this header automatically. | ||||||
|  | // Copyright (C) 1991-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // This macro indicates that the installed library is the GNU C Library. | ||||||
|  | //    For historic reasons the value now is 6 and this will stay from now | ||||||
|  | //    on.  The use of this variable is deprecated.  Use __GLIBC__ and | ||||||
|  | //    __GLIBC_MINOR__ now (see below) when you want to test for a specific | ||||||
|  | //    GNU C library version and use the values in <gnu/lib-names.h> to get | ||||||
|  | //    the sonames of the shared libraries. | ||||||
|  |  | ||||||
|  | // Major and minor version number of the GNU C library package.  Use | ||||||
|  | //    these macros to test for features in specific releases. | ||||||
|  |  | ||||||
|  | // This is here only because every header file already includes this one. | ||||||
|  | // Copyright (C) 1992-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // We are almost always included from features.h. | ||||||
|  |  | ||||||
|  | // The GNU libc does not support any K&R compilers or the traditional mode | ||||||
|  | //    of ISO C compilers anymore.  Check for some of the combinations not | ||||||
|  | //    supported anymore. | ||||||
|  |  | ||||||
|  | // Some user header file might have defined this before. | ||||||
|  |  | ||||||
|  | // Compilers that lack __has_attribute may object to | ||||||
|  | //        #if defined __has_attribute && __has_attribute (...) | ||||||
|  | //    even though they do not need to evaluate the right-hand side of the &&. | ||||||
|  | //    Similarly for __has_builtin, etc. | ||||||
|  |  | ||||||
|  | // All functions, except those with callbacks or those that | ||||||
|  | //    synchronize memory, are leaf functions. | ||||||
|  |  | ||||||
|  | // GCC can always grok prototypes.  For C++ programs we add throw() | ||||||
|  | //    to help it optimize the function calls.  But this only works with | ||||||
|  | //    gcc 2.8.x and egcs.  For gcc 3.4 and up we even mark C functions | ||||||
|  | //    as non-throwing using a function attribute since programs can use | ||||||
|  | //    the -fexceptions options for C code as well. | ||||||
|  |  | ||||||
|  | // These two macros are not used in glibc anymore.  They are kept here | ||||||
|  | //    only because some other projects expect the macros to be defined. | ||||||
|  |  | ||||||
|  | // For these things, GCC behaves the ANSI way normally, | ||||||
|  | //    and the non-ANSI way under -traditional. | ||||||
|  |  | ||||||
|  | // This is not a typedef so `const __ptr_t' does the right thing. | ||||||
|  |  | ||||||
|  | // C++ needs to know that types and declarations are C, not C++. | ||||||
|  |  | ||||||
|  | // Fortify support. | ||||||
|  |  | ||||||
|  | // Use __builtin_dynamic_object_size at _FORTIFY_SOURCE=3 when available. | ||||||
|  |  | ||||||
|  | // Support for flexible arrays. | ||||||
|  | //    Headers that should use flexible arrays only if they're "real" | ||||||
|  | //    (e.g. only if they won't affect sizeof()) should test | ||||||
|  | //    #if __glibc_c99_flexarr_available. | ||||||
|  |  | ||||||
|  | // __asm__ ("xyz") is used throughout the headers to rename functions | ||||||
|  | //    at the assembly language level.  This is wrapped by the __REDIRECT | ||||||
|  | //    macro, in order to support compilers that can do this some other | ||||||
|  | //    way.  When compilers don't support asm-names at all, we have to do | ||||||
|  | //    preprocessor tricks instead (which don't have exactly the right | ||||||
|  | //    semantics, but it's the best we can do). | ||||||
|  | // | ||||||
|  | //    Example: | ||||||
|  | //    int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid); | ||||||
|  |  | ||||||
|  | // | ||||||
|  | // #elif __SOME_OTHER_COMPILER__ | ||||||
|  | // | ||||||
|  | // # define __REDIRECT(name, proto, alias) name proto; 	_Pragma("let " #name " = " #alias) | ||||||
|  |  | ||||||
|  | // GCC and clang have various useful declarations that can be made with | ||||||
|  | //    the '__attribute__' syntax.  All of the ways we use this do fine if | ||||||
|  | //    they are omitted for compilers that don't understand it. | ||||||
|  |  | ||||||
|  | // At some point during the gcc 2.96 development the `malloc' attribute | ||||||
|  | //    for functions was introduced.  We don't want to use it unconditionally | ||||||
|  | //    (although this would be possible) since it generates warnings. | ||||||
|  |  | ||||||
|  | // Tell the compiler which arguments to an allocation function | ||||||
|  | //    indicate the size of the allocation. | ||||||
|  |  | ||||||
|  | // At some point during the gcc 2.96 development the `pure' attribute | ||||||
|  | //    for functions was introduced.  We don't want to use it unconditionally | ||||||
|  | //    (although this would be possible) since it generates warnings. | ||||||
|  |  | ||||||
|  | // This declaration tells the compiler that the value is constant. | ||||||
|  |  | ||||||
|  | // At some point during the gcc 3.1 development the `used' attribute | ||||||
|  | //    for functions was introduced.  We don't want to use it unconditionally | ||||||
|  | //    (although this would be possible) since it generates warnings. | ||||||
|  |  | ||||||
|  | // Since version 3.2, gcc allows marking deprecated functions. | ||||||
|  |  | ||||||
|  | // Since version 4.5, gcc also allows one to specify the message printed | ||||||
|  | //    when a deprecated function is used.  clang claims to be gcc 4.2, but | ||||||
|  | //    may also support this feature. | ||||||
|  |  | ||||||
|  | // At some point during the gcc 2.8 development the `format_arg' attribute | ||||||
|  | //    for functions was introduced.  We don't want to use it unconditionally | ||||||
|  | //    (although this would be possible) since it generates warnings. | ||||||
|  | //    If several `format_arg' attributes are given for the same function, in | ||||||
|  | //    gcc-3.0 and older, all but the last one are ignored.  In newer gccs, | ||||||
|  | //    all designated arguments are considered. | ||||||
|  |  | ||||||
|  | // At some point during the gcc 2.97 development the `strfmon' format | ||||||
|  | //    attribute for functions was introduced.  We don't want to use it | ||||||
|  | //    unconditionally (although this would be possible) since it | ||||||
|  | //    generates warnings. | ||||||
|  |  | ||||||
|  | // The nonnull function attribute marks pointer parameters that | ||||||
|  | //    must not be NULL. | ||||||
|  |  | ||||||
|  | // The returns_nonnull function attribute marks the return type of the function | ||||||
|  | //    as always being non-null. | ||||||
|  |  | ||||||
|  | // If fortification mode, we warn about unused results of certain | ||||||
|  | //    function calls which can lead to problems. | ||||||
|  |  | ||||||
|  | // Forces a function to be always inlined. | ||||||
|  | // The Linux kernel defines __always_inline in stddef.h (283d7573), and | ||||||
|  | //    it conflicts with this definition.  Therefore undefine it first to | ||||||
|  | //    allow either header to be included first. | ||||||
|  |  | ||||||
|  | // Associate error messages with the source location of the call site rather | ||||||
|  | //    than with the source location inside the function. | ||||||
|  |  | ||||||
|  | // GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 | ||||||
|  | //    inline semantics, unless -fgnu89-inline is used.  Using __GNUC_STDC_INLINE__ | ||||||
|  | //    or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions | ||||||
|  | //    older than 4.3 may define these macros and still not guarantee GNU inlining | ||||||
|  | //    semantics. | ||||||
|  | // | ||||||
|  | //    clang++ identifies itself as gcc-4.2, but has support for GNU inlining | ||||||
|  | //    semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and | ||||||
|  | //    __GNUC_GNU_INLINE__ macro definitions. | ||||||
|  |  | ||||||
|  | // GCC 4.3 and above allow passing all anonymous arguments of an | ||||||
|  | //    __extern_always_inline function to some other vararg function. | ||||||
|  |  | ||||||
|  | // It is possible to compile containing GCC extensions even if GCC is | ||||||
|  | //    run in pedantic mode if the uses are carefully marked using the | ||||||
|  | //    `__extension__' keyword.  But this is not generally available before | ||||||
|  | //    version 2.8. | ||||||
|  |  | ||||||
|  | // __restrict is known in EGCS 1.2 and above, and in clang. | ||||||
|  | //    It works also in C++ mode (outside of arrays), but only when spelled | ||||||
|  | //    as '__restrict', not 'restrict'. | ||||||
|  |  | ||||||
|  | // ISO C99 also allows to declare arrays as non-overlapping.  The syntax is | ||||||
|  | //      array_name[restrict] | ||||||
|  | //    GCC 3.1 and clang support this. | ||||||
|  | //    This syntax is not usable in C++ mode. | ||||||
|  |  | ||||||
|  | // Describes a char array whose address can safely be passed as the first | ||||||
|  | //    argument to strncpy and strncat, as the char array is not necessarily | ||||||
|  | //    a NUL-terminated string. | ||||||
|  |  | ||||||
|  | // Undefine (also defined in libc-symbols.h). | ||||||
|  | // Copies attributes from the declaration or type referenced by | ||||||
|  | //    the argument. | ||||||
|  |  | ||||||
|  | // The #ifndef lets Gnulib avoid including these on non-glibc | ||||||
|  | //    platforms, where the includes typically do not exist. | ||||||
|  | // Determine the wordsize from the preprocessor defines.  RISC-V version. | ||||||
|  | //    Copyright (C) 2002-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library.  If not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Properties of long double type.  ldbl-128 version. | ||||||
|  | //    Copyright (C) 2016-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License  published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // long double is distinct from double, so there is nothing to | ||||||
|  | //    define here. | ||||||
|  |  | ||||||
|  | // __glibc_macro_warning (MESSAGE) issues warning MESSAGE.  This is | ||||||
|  | //    intended for use in preprocessor macros. | ||||||
|  | // | ||||||
|  | //    Note: MESSAGE must be a _single_ string; concatenation of string | ||||||
|  | //    literals is not supported. | ||||||
|  |  | ||||||
|  | // Generic selection (ISO C11) is a C-only feature, available in GCC | ||||||
|  | //    since version 4.9.  Previous versions do not provide generic | ||||||
|  | //    selection, even though they might set __STDC_VERSION__ to 201112L, | ||||||
|  | //    when in -std=c11 mode.  Thus, we must check for !defined __GNUC__ | ||||||
|  | //    when testing __STDC_VERSION__ for generic selection support. | ||||||
|  | //    On the other hand, Clang also defines __GNUC__, so a clang-specific | ||||||
|  | //    check is required to enable the use of generic selection. | ||||||
|  |  | ||||||
|  | // Designates a 1-based positional argument ref-index of pointer type | ||||||
|  | //    that can be used to access size-index elements of the pointed-to | ||||||
|  | //    array according to access mode, or at least one element when | ||||||
|  | //    size-index is not provided: | ||||||
|  | //      access (access-mode, <ref-index> [, <size-index>]) | ||||||
|  |  | ||||||
|  | // Designates dealloc as a function to call to deallocate objects | ||||||
|  | //    allocated by the declared function. | ||||||
|  |  | ||||||
|  | // Specify that a function such as setjmp or vfork may return | ||||||
|  | //    twice. | ||||||
|  |  | ||||||
|  | // If we don't have __REDIRECT, prototypes will be missing if | ||||||
|  | //    __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. | ||||||
|  |  | ||||||
|  | // Decide whether we can define 'extern inline' functions in headers. | ||||||
|  |  | ||||||
|  | // This is here only because every header file already includes this one. | ||||||
|  | //    Get the definitions of all the appropriate `__stub_FUNCTION' symbols. | ||||||
|  | //    <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub | ||||||
|  | //    that will always return failure (and set errno to ENOSYS). | ||||||
|  | // This file is automatically generated. | ||||||
|  | //    This file selects the right generated file of `__stub_FUNCTION' macros | ||||||
|  | //    based on the architecture being compiled for. | ||||||
|  |  | ||||||
|  | // Determine the wordsize from the preprocessor defines.  RISC-V version. | ||||||
|  | //    Copyright (C) 2002-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library.  If not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // This file is automatically generated. | ||||||
|  | //    It defines a symbol `__stub_FUNCTION' for each function | ||||||
|  | //    in the C library which is a stub, meaning it will fail | ||||||
|  | //    every time called, usually setting errno to ENOSYS. | ||||||
|  |  | ||||||
|  | // bits/types.h -- definitions of __*_t types underlying *_t types. | ||||||
|  | //    Copyright (C) 2002-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Never include this file directly; use <sys/types.h> instead. | ||||||
|  |  | ||||||
|  | // Copyright (C) 1991-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Determine the wordsize from the preprocessor defines.  RISC-V version. | ||||||
|  | //    Copyright (C) 2002-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library.  If not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Bit size of the time_t type at glibc build time, RISC-V case. | ||||||
|  | //    Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Determine the wordsize from the preprocessor defines.  RISC-V version. | ||||||
|  | //    Copyright (C) 2002-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library.  If not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // RV32 and RV64 both use 64-bit time_t | ||||||
|  |  | ||||||
|  | // Convenience types. | ||||||
|  | type X__u_char = uint8   /* types.h:31:23 */ | ||||||
|  | type X__u_short = uint16 /* types.h:32:28 */ | ||||||
|  | type X__u_int = uint32   /* types.h:33:22 */ | ||||||
|  | type X__u_long = uint64  /* types.h:34:27 */ | ||||||
|  |  | ||||||
|  | // Fixed-size types, underlying types depend on word size and compiler. | ||||||
|  | type X__int8_t = int8     /* types.h:37:21 */ | ||||||
|  | type X__uint8_t = uint8   /* types.h:38:23 */ | ||||||
|  | type X__int16_t = int16   /* types.h:39:26 */ | ||||||
|  | type X__uint16_t = uint16 /* types.h:40:28 */ | ||||||
|  | type X__int32_t = int32   /* types.h:41:20 */ | ||||||
|  | type X__uint32_t = uint32 /* types.h:42:22 */ | ||||||
|  | type X__int64_t = int64   /* types.h:44:25 */ | ||||||
|  | type X__uint64_t = uint64 /* types.h:45:27 */ | ||||||
|  |  | ||||||
|  | // Smallest types with at least a given width. | ||||||
|  | type X__int_least8_t = X__int8_t     /* types.h:52:18 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* types.h:53:19 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* types.h:54:19 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* types.h:55:20 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* types.h:56:19 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* types.h:57:20 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* types.h:58:19 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* types.h:59:20 */ | ||||||
|  |  | ||||||
|  | // quad_t is also 64 bits. | ||||||
|  | type X__quad_t = int64    /* types.h:63:18 */ | ||||||
|  | type X__u_quad_t = uint64 /* types.h:64:27 */ | ||||||
|  |  | ||||||
|  | // Largest integral types. | ||||||
|  | type X__intmax_t = int64   /* types.h:72:18 */ | ||||||
|  | type X__uintmax_t = uint64 /* types.h:73:27 */ | ||||||
|  |  | ||||||
|  | // The machine-dependent file <bits/typesizes.h> defines __*_T_TYPE | ||||||
|  | //    macros for each of the OS types we define below.  The definitions | ||||||
|  | //    of those macros must use the following macros for underlying types. | ||||||
|  | //    We define __S<SIZE>_TYPE and __U<SIZE>_TYPE for the signed and unsigned | ||||||
|  | //    variants of each of the following integer types on this machine. | ||||||
|  | // | ||||||
|  | // 	16		-- "natural" 16-bit type (always short) | ||||||
|  | // 	32		-- "natural" 32-bit type (always int) | ||||||
|  | // 	64		-- "natural" 64-bit type (long or long long) | ||||||
|  | // 	LONG32		-- 32-bit type, traditionally long | ||||||
|  | // 	QUAD		-- 64-bit type, traditionally long long | ||||||
|  | // 	WORD		-- natural type of __WORDSIZE bits (int or long) | ||||||
|  | // 	LONGWORD	-- type of __WORDSIZE bits, traditionally long | ||||||
|  | // | ||||||
|  | //    We distinguish WORD/LONGWORD, 32/LONG32, and 64/QUAD so that the | ||||||
|  | //    conventional uses of `long' or `long long' type modifiers match the | ||||||
|  | //    types we define, even when a less-adorned type would be the same size. | ||||||
|  | //    This matters for (somewhat) portably writing printf/scanf formats for | ||||||
|  | //    these types, where using the appropriate l or ll format modifiers can | ||||||
|  | //    make the typedefs and the formats match up across all GNU platforms.  If | ||||||
|  | //    we used `long' when it's 64 bits where `long long' is expected, then the | ||||||
|  | //    compiler would warn about the formats not matching the argument types, | ||||||
|  | //    and the programmer changing them to shut up the compiler would break the | ||||||
|  | //    program's portability. | ||||||
|  | // | ||||||
|  | //    Here we assume what is presently the case in all the GCC configurations | ||||||
|  | //    we support: long long is always 64 bits, long is always word/address size, | ||||||
|  | //    and int is always 32 bits. | ||||||
|  |  | ||||||
|  | // No need to mark the typedef with __extension__. | ||||||
|  | // bits/typesizes.h -- underlying types for *_t.  For the generic Linux ABI. | ||||||
|  | //    Copyright (C) 2011-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | //    Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library.  If not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // See <bits/types.h> for the meaning of these macros.  This file exists so | ||||||
|  | //    that <bits/types.h> need not vary across different GNU platforms. | ||||||
|  |  | ||||||
|  | // Tell the libc code that off_t and off64_t are actually the same type | ||||||
|  | //    for all ABI purposes, even if possibly expressed as different base types | ||||||
|  | //    for C type-checking purposes. | ||||||
|  |  | ||||||
|  | // Same for ino_t and ino64_t. | ||||||
|  |  | ||||||
|  | // And for __rlim_t and __rlim64_t. | ||||||
|  |  | ||||||
|  | // And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. | ||||||
|  |  | ||||||
|  | // And for getitimer, setitimer and rusage | ||||||
|  |  | ||||||
|  | // Number of descriptors that can fit in an `fd_set'. | ||||||
|  |  | ||||||
|  | // bits/time64.h -- underlying types for __time64_t.  RISC-V version. | ||||||
|  | //    Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||||||
|  | //    This file is part of the GNU C Library. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is free software; you can redistribute it and/or | ||||||
|  | //    modify it under the terms of the GNU Lesser General Public | ||||||
|  | //    License as published by the Free Software Foundation; either | ||||||
|  | //    version 2.1 of the License, or (at your option) any later version. | ||||||
|  | // | ||||||
|  | //    The GNU C Library is distributed in the hope that it will be useful, | ||||||
|  | //    but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  | //    Lesser General Public License for more details. | ||||||
|  | // | ||||||
|  | //    You should have received a copy of the GNU Lesser General Public | ||||||
|  | //    License along with the GNU C Library; if not, see | ||||||
|  | //    <https://www.gnu.org/licenses/>. | ||||||
|  |  | ||||||
|  | // Define __TIME64_T_TYPE so that it is always a 64-bit type. | ||||||
|  |  | ||||||
|  | // If we already have 64-bit time type then use it. | ||||||
|  |  | ||||||
|  | type X__dev_t = uint64                     /* types.h:145:25 */ // Type of device numbers. | ||||||
|  | type X__uid_t = uint32                     /* types.h:146:25 */ // Type of user identifications. | ||||||
|  | type X__gid_t = uint32                     /* types.h:147:25 */ // Type of group identifications. | ||||||
|  | type X__ino_t = uint64                     /* types.h:148:25 */ // Type of file serial numbers. | ||||||
|  | type X__ino64_t = uint64                   /* types.h:149:27 */ // Type of file serial numbers (LFS). | ||||||
|  | type X__mode_t = uint32                    /* types.h:150:26 */ // Type of file attribute bitmasks. | ||||||
|  | type X__nlink_t = uint32                   /* types.h:151:27 */ // Type of file link counts. | ||||||
|  | type X__off_t = int64                      /* types.h:152:25 */ // Type of file sizes and offsets. | ||||||
|  | type X__off64_t = int64                    /* types.h:153:27 */ // Type of file sizes and offsets (LFS). | ||||||
|  | type X__pid_t = int32                      /* types.h:154:25 */ // Type of process identifications. | ||||||
|  | type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs. | ||||||
|  | type X__clock_t = int64                    /* types.h:156:27 */ // Type of CPU usage counts. | ||||||
|  | type X__rlim_t = uint64                    /* types.h:157:26 */ // Type for resource measurement. | ||||||
|  | type X__rlim64_t = uint64                  /* types.h:158:28 */ // Type for resource measurement (LFS). | ||||||
|  | type X__id_t = uint32                      /* types.h:159:24 */ // General type for IDs. | ||||||
|  | type X__time_t = int64                     /* types.h:160:26 */ // Seconds since the Epoch. | ||||||
|  | type X__useconds_t = uint32                /* types.h:161:30 */ // Count of microseconds. | ||||||
|  | type X__suseconds_t = int64                /* types.h:162:31 */ // Signed count of microseconds. | ||||||
|  | type X__suseconds64_t = int64              /* types.h:163:33 */ | ||||||
|  |  | ||||||
|  | type X__daddr_t = int32 /* types.h:165:27 */ // The type of a disk address. | ||||||
|  | type X__key_t = int32   /* types.h:166:25 */ // Type of an IPC key. | ||||||
|  |  | ||||||
|  | // Clock ID used in clock and timer functions. | ||||||
|  | type X__clockid_t = int32 /* types.h:169:29 */ | ||||||
|  |  | ||||||
|  | // Timer ID returned by `timer_create'. | ||||||
|  | type X__timer_t = uintptr /* types.h:172:12 */ | ||||||
|  |  | ||||||
|  | // Type to represent block size. | ||||||
|  | type X__blksize_t = int32 /* types.h:175:29 */ | ||||||
|  |  | ||||||
|  | // Types from the Large File Support interface. | ||||||
|  |  | ||||||
|  | // Type to count number of disk blocks. | ||||||
|  | type X__blkcnt_t = int64   /* types.h:180:28 */ | ||||||
|  | type X__blkcnt64_t = int64 /* types.h:181:30 */ | ||||||
|  |  | ||||||
|  | // Type to count file system blocks. | ||||||
|  | type X__fsblkcnt_t = uint64   /* types.h:184:30 */ | ||||||
|  | type X__fsblkcnt64_t = uint64 /* types.h:185:32 */ | ||||||
|  |  | ||||||
|  | // Type to count file system nodes. | ||||||
|  | type X__fsfilcnt_t = uint64   /* types.h:188:30 */ | ||||||
|  | type X__fsfilcnt64_t = uint64 /* types.h:189:32 */ | ||||||
|  |  | ||||||
|  | // Type of miscellaneous file system fields. | ||||||
|  | type X__fsword_t = int64 /* types.h:192:28 */ | ||||||
|  |  | ||||||
|  | type X__ssize_t = int64 /* types.h:194:27 */ // Type of a byte count, or error. | ||||||
|  |  | ||||||
|  | // Signed long type used in system calls. | ||||||
|  | type X__syscall_slong_t = int64 /* types.h:197:33 */ | ||||||
|  | // Unsigned long type used in system calls. | ||||||
|  | type X__syscall_ulong_t = uint64 /* types.h:199:33 */ | ||||||
|  |  | ||||||
|  | // These few don't really vary by system, they always correspond | ||||||
|  | // | ||||||
|  | //	to one of the other defined types. | ||||||
|  | type X__loff_t = X__off64_t /* types.h:203:19 */ // Type of file sizes and offsets (LFS). | ||||||
|  | type X__caddr_t = uintptr   /* types.h:204:14 */ | ||||||
|  |  | ||||||
|  | // Duplicates info from stdint.h but this is used in unistd.h. | ||||||
|  | type X__intptr_t = int64 /* types.h:207:25 */ | ||||||
|  |  | ||||||
|  | // Duplicate info from sys/socket.h. | ||||||
|  | type X__socklen_t = uint32 /* types.h:210:23 */ | ||||||
|  |  | ||||||
|  | // C99: An integer type that can be accessed as an atomic entity, | ||||||
|  | // | ||||||
|  | //	even in the presence of asynchronous interrupts. | ||||||
|  | //	It is not currently necessary for this to be machine-specific. | ||||||
|  | type X__sig_atomic_t = int32 /* types.h:215:13 */ | ||||||
|  |  | ||||||
|  | // Wide character type. | ||||||
|  | //    Locale-writers should change this as necessary to | ||||||
|  | //    be big enough to hold unique values not between 0 and 127, | ||||||
|  | //    and not (wchar_t) -1, for each defined multibyte character. | ||||||
|  |  | ||||||
|  | // Define this type if we are doing the whole job, | ||||||
|  | //    or if we want this type in particular. | ||||||
|  |  | ||||||
|  | // A null pointer constant. | ||||||
|  |  | ||||||
|  | // For the Single Unix specification we must define this type here. | ||||||
|  | type Gid_t = X__gid_t /* grp.h:37:17 */ | ||||||
|  |  | ||||||
|  | // The group structure. | ||||||
|  | type Group = struct { | ||||||
|  | 	Fgr_name     uintptr | ||||||
|  | 	Fgr_passwd   uintptr | ||||||
|  | 	Fgr_gid      X__gid_t | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | 	Fgr_mem      uintptr | ||||||
|  | } /* grp.h:42:1 */ | ||||||
|  |  | ||||||
|  | var _ uint8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										1568
									
								
								vendor/modernc.org/libc/grp/grp_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1568
									
								
								vendor/modernc.org/libc/grp/grp_netbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										688
									
								
								vendor/modernc.org/libc/grp/grp_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										688
									
								
								vendor/modernc.org/libc/grp/grp_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,688 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_openbsd_386.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	BIG_ENDIAN           = 4321         // endian.h:45:1: | ||||||
|  | 	BYTE_ORDER           = 1234         // endian.h:47:1: | ||||||
|  | 	LITTLE_ENDIAN        = 1234         // endian.h:44:1: | ||||||
|  | 	PDP_ENDIAN           = 3412         // endian.h:46:1: | ||||||
|  | 	X_BIG_ENDIAN         = 4321         // _endian.h:43:1: | ||||||
|  | 	X_BYTE_ORDER         = 1234         // endian.h:58:1: | ||||||
|  | 	X_CLOCKID_T_DEFINED_ = 0            // types.h:162:1: | ||||||
|  | 	X_CLOCK_T_DEFINED_   = 0            // types.h:157:1: | ||||||
|  | 	X_FILE_OFFSET_BITS   = 64           // <builtin>:25:1: | ||||||
|  | 	X_GRP_H_             = 0            // grp.h:41:1: | ||||||
|  | 	X_ILP32              = 1            // <predefined>:1:1: | ||||||
|  | 	X_INT16_T_DEFINED_   = 0            // types.h:84:1: | ||||||
|  | 	X_INT32_T_DEFINED_   = 0            // types.h:94:1: | ||||||
|  | 	X_INT64_T_DEFINED_   = 0            // types.h:104:1: | ||||||
|  | 	X_INT8_T_DEFINED_    = 0            // types.h:74:1: | ||||||
|  | 	X_LITTLE_ENDIAN      = 1234         // _endian.h:42:1: | ||||||
|  | 	X_MACHINE_CDEFS_H_   = 0            // cdefs.h:9:1: | ||||||
|  | 	X_MACHINE_ENDIAN_H_  = 0            // endian.h:28:1: | ||||||
|  | 	X_MACHINE__TYPES_H_  = 0            // _types.h:36:1: | ||||||
|  | 	X_MAX_PAGE_SHIFT     = 12           // _types.h:52:1: | ||||||
|  | 	X_OFF_T_DEFINED_     = 0            // types.h:192:1: | ||||||
|  | 	X_PATH_GROUP         = "/etc/group" // grp.h:46:1: | ||||||
|  | 	X_PDP_ENDIAN         = 3412         // _endian.h:44:1: | ||||||
|  | 	X_PID_T_DEFINED_     = 0            // types.h:167:1: | ||||||
|  | 	X_QUAD_HIGHWORD      = 1            // _endian.h:95:1: | ||||||
|  | 	X_QUAD_LOWWORD       = 0            // _endian.h:96:1: | ||||||
|  | 	X_SIZE_T_DEFINED_    = 0            // types.h:172:1: | ||||||
|  | 	X_SSIZE_T_DEFINED_   = 0            // types.h:177:1: | ||||||
|  | 	X_STACKALIGNBYTES    = 15           // _types.h:49:1: | ||||||
|  | 	X_SYS_CDEFS_H_       = 0            // cdefs.h:39:1: | ||||||
|  | 	X_SYS_ENDIAN_H_      = 0            // endian.h:38:1: | ||||||
|  | 	X_SYS_TYPES_H_       = 0            // types.h:41:1: | ||||||
|  | 	X_SYS__ENDIAN_H_     = 0            // _endian.h:34:1: | ||||||
|  | 	X_SYS__TYPES_H_      = 0            // _types.h:35:1: | ||||||
|  | 	X_TIMER_T_DEFINED_   = 0            // types.h:187:1: | ||||||
|  | 	X_TIME_T_DEFINED_    = 0            // types.h:182:1: | ||||||
|  | 	X_UINT16_T_DEFINED_  = 0            // types.h:89:1: | ||||||
|  | 	X_UINT32_T_DEFINED_  = 0            // types.h:99:1: | ||||||
|  | 	X_UINT64_T_DEFINED_  = 0            // types.h:109:1: | ||||||
|  | 	X_UINT8_T_DEFINED_   = 0            // types.h:79:1: | ||||||
|  | 	I386                 = 1            // <predefined>:339:1: | ||||||
|  | 	Unix                 = 1            // <predefined>:340:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int32 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint32 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | //	$OpenBSD: grp.h,v 1.13 2018/09/13 12:31:15 millert Exp $ | ||||||
|  | //	$NetBSD: grp.h,v 1.7 1995/04/29 05:30:40 cgd Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1989, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)grp.h	8.2 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  | //	$NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1982, 1986, 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.4 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.10 2013/03/28 17:30:45 martynas Exp $ | ||||||
|  |  | ||||||
|  | // Written by J.T. Conklin <jtc@wimsey.com> 01/17/95. | ||||||
|  | // Public domain. | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky -- make sure you don't put spaces | ||||||
|  | // in between its arguments.  Do not use __CONCAT on double-quoted strings, | ||||||
|  | // such as those from the __STRING macro: to concatenate strings just put | ||||||
|  | // them next to each other. | ||||||
|  |  | ||||||
|  | // GCC1 and some versions of GCC2 declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions using "volatile" and "const"; | ||||||
|  | // unfortunately, these then cause warnings under "-ansi -pedantic". | ||||||
|  | // GCC >= 2.5 uses the __attribute__((attrs)) style.  All of these | ||||||
|  | // work for GNU C++ (modulo a slight glitch in the C++ grammar in | ||||||
|  | // the distribution version of 2.5.5). | ||||||
|  |  | ||||||
|  | // __returns_twice makes the compiler not assume the function | ||||||
|  | // only returns once.  This affects registerisation of variables: | ||||||
|  | // even local variables need to be in memory across such a call. | ||||||
|  | // Example: setjmp() | ||||||
|  |  | ||||||
|  | // __only_inline makes the compiler only use this function definition | ||||||
|  | // for inlining; references that can't be inlined will be left as | ||||||
|  | // external references instead of generating a local copy.  The | ||||||
|  | // matching library should include a simple extern definition for | ||||||
|  | // the function to handle those references.  c.f. ctype.h | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // Delete pseudo-keywords wherever they are not available or needed. | ||||||
|  |  | ||||||
|  | // The __packed macro indicates that a variable or structure members | ||||||
|  | // should have the smallest possible alignment, despite any host CPU | ||||||
|  | // alignment requirements. | ||||||
|  | // | ||||||
|  | // The __aligned(x) macro specifies the minimum alignment of a | ||||||
|  | // variable or structure. | ||||||
|  | // | ||||||
|  | // These macros together are useful for describing the layout and | ||||||
|  | // alignment of messages exchanged with hardware or other systems. | ||||||
|  |  | ||||||
|  | // "The nice thing about standards is that there are so many to choose from." | ||||||
|  | // There are a number of "feature test macros" specified by (different) | ||||||
|  | // standards that determine which interfaces and types the header files | ||||||
|  | // should expose. | ||||||
|  | // | ||||||
|  | // Because of inconsistencies in these macros, we define our own | ||||||
|  | // set in the private name space that end in _VISIBLE.  These are | ||||||
|  | // always defined and so headers can test their values easily. | ||||||
|  | // Things can get tricky when multiple feature macros are defined. | ||||||
|  | // We try to take the union of all the features requested. | ||||||
|  | // | ||||||
|  | // The following macros are guaranteed to have a value after cdefs.h | ||||||
|  | // has been included: | ||||||
|  | //	__POSIX_VISIBLE | ||||||
|  | //	__XPG_VISIBLE | ||||||
|  | //	__ISO_C_VISIBLE | ||||||
|  | //	__BSD_VISIBLE | ||||||
|  |  | ||||||
|  | // X/Open Portability Guides and Single Unix Specifications. | ||||||
|  | // _XOPEN_SOURCE				XPG3 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_VERSION = 4		XPG4 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1	XPG4v2 | ||||||
|  | // _XOPEN_SOURCE == 500				XPG5 | ||||||
|  | // _XOPEN_SOURCE == 520				XPG5v2 | ||||||
|  | // _XOPEN_SOURCE == 600				POSIX 1003.1-2001 with XSI | ||||||
|  | // _XOPEN_SOURCE == 700				POSIX 1003.1-2008 with XSI | ||||||
|  | // | ||||||
|  | // The XPG spec implies a specific value for _POSIX_C_SOURCE. | ||||||
|  |  | ||||||
|  | // POSIX macros, these checks must follow the XOPEN ones above. | ||||||
|  | // | ||||||
|  | // _POSIX_SOURCE == 1		1003.1-1988 (superseded by _POSIX_C_SOURCE) | ||||||
|  | // _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | // _POSIX_C_SOURCE == 2		1003.2-1992 | ||||||
|  | // _POSIX_C_SOURCE == 199309L	1003.1b-1993 | ||||||
|  | // _POSIX_C_SOURCE == 199506L   1003.1c-1995, 1003.1i-1995, | ||||||
|  | //				and the omnibus ISO/IEC 9945-1:1996 | ||||||
|  | // _POSIX_C_SOURCE == 200112L   1003.1-2001 | ||||||
|  | // _POSIX_C_SOURCE == 200809L   1003.1-2008 | ||||||
|  | // | ||||||
|  | // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though | ||||||
|  | // this may be overridden by the _ISOC99_SOURCE macro later. | ||||||
|  |  | ||||||
|  | // _ANSI_SOURCE means to expose ANSI C89 interfaces only. | ||||||
|  | // If the user defines it in addition to one of the POSIX or XOPEN | ||||||
|  | // macros, assume the POSIX/XOPEN macro(s) should take precedence. | ||||||
|  |  | ||||||
|  | // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus | ||||||
|  | // override any of the other macros since they are non-exclusive. | ||||||
|  |  | ||||||
|  | // Finally deal with BSD-specific interfaces that are not covered | ||||||
|  | // by any standards.  We expose these when none of the POSIX or XPG | ||||||
|  | // macros is defined or if the user explicitly asks for them. | ||||||
|  |  | ||||||
|  | // Default values. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: endian.h,v 1.25 2014/12/21 04:49:00 guenther Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Public definitions for little- and big-endian systems. | ||||||
|  | // This file should be included as <endian.h> in userspace and as | ||||||
|  | // <sys/endian.h> in the kernel. | ||||||
|  | // | ||||||
|  | // System headers that need endian information but that can't or don't | ||||||
|  | // want to export the public names here should include <sys/_endian.h> | ||||||
|  | // and use the internal names: _BYTE_ORDER, _*_ENDIAN, etc. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _endian.h,v 1.8 2018/01/11 23:13:37 dlg Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Internal endianness macros.  This pulls in <machine/endian.h> to | ||||||
|  | // get the correct setting direction for the platform and sets internal | ||||||
|  | // ('__' prefix) macros appropriately. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _types.h,v 1.23 2018/03/05 01:15:25 deraadt Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | //	@(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  |  | ||||||
|  | // _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned | ||||||
|  | // value for all data types (int, long, ...).   The result is an | ||||||
|  | // unsigned long and must be cast to any desired pointer type. | ||||||
|  | // | ||||||
|  | // _ALIGNED_POINTER is a boolean macro that checks whether an address | ||||||
|  | // is valid to fetch data elements of type t from on this architecture. | ||||||
|  | // This does not reflect the optimal alignment, just the possibility | ||||||
|  | // (within reasonable limits). | ||||||
|  |  | ||||||
|  | // 7.18.1.1 Exact-width integer types | ||||||
|  | type X__int8_t = int8     /* _types.h:61:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:62:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:63:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:64:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:65:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:66:23 */ | ||||||
|  | type X__int64_t = int64   /* _types.h:67:20 */ | ||||||
|  | type X__uint64_t = uint64 /* _types.h:68:28 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.2 Minimum-width integer types | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:71:19 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:72:20 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:73:20 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:74:21 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:75:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:76:21 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:77:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:78:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.3 Fastest minimum-width integer types | ||||||
|  | type X__int_fast8_t = X__int32_t    /* _types.h:81:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t  /* _types.h:82:21 */ | ||||||
|  | type X__int_fast16_t = X__int32_t   /* _types.h:83:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t /* _types.h:84:21 */ | ||||||
|  | type X__int_fast32_t = X__int32_t   /* _types.h:85:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t /* _types.h:86:21 */ | ||||||
|  | type X__int_fast64_t = X__int64_t   /* _types.h:87:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t /* _types.h:88:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.4 Integer types capable of holding object pointers | ||||||
|  | type X__intptr_t = int32   /* _types.h:103:16 */ | ||||||
|  | type X__uintptr_t = uint32 /* _types.h:104:24 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.5 Greatest-width integer types | ||||||
|  | type X__intmax_t = X__int64_t   /* _types.h:107:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t /* _types.h:108:21 */ | ||||||
|  |  | ||||||
|  | // Register size | ||||||
|  | type X__register_t = int32 /* _types.h:111:16 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type X__vaddr_t = uint32 /* _types.h:114:24 */ | ||||||
|  | type X__paddr_t = uint32 /* _types.h:115:24 */ | ||||||
|  | type X__vsize_t = uint32 /* _types.h:116:24 */ | ||||||
|  | type X__psize_t = uint32 /* _types.h:117:24 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type X__double_t = float64           /* _types.h:120:22 */ | ||||||
|  | type X__float_t = float64            /* _types.h:121:22 */ | ||||||
|  | type X__ptrdiff_t = int32            /* _types.h:122:16 */ | ||||||
|  | type X__size_t = uint32              /* _types.h:123:24 */ | ||||||
|  | type X__ssize_t = int32              /* _types.h:124:16 */ | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:126:27 */ | ||||||
|  |  | ||||||
|  | // Wide character support types | ||||||
|  | type X__wchar_t = int32     /* _types.h:133:15 */ | ||||||
|  | type X__wint_t = int32      /* _types.h:135:15 */ | ||||||
|  | type X__rune_t = int32      /* _types.h:136:15 */ | ||||||
|  | type X__wctrans_t = uintptr /* _types.h:137:14 */ | ||||||
|  | type X__wctype_t = uintptr  /* _types.h:138:14 */ | ||||||
|  |  | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:39:19 */ // blocks allocated for file | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // optimal blocksize for I/O | ||||||
|  | type X__clock_t = X__int64_t     /* _types.h:41:19 */ // ticks in CLOCKS_PER_SEC | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // CLOCK_* identifiers | ||||||
|  | type X__cpuid_t = uint32         /* _types.h:43:23 */ // CPU id | ||||||
|  | type X__dev_t = X__int32_t       /* _types.h:44:19 */ // device number | ||||||
|  | type X__fixpt_t = X__uint32_t    /* _types.h:45:20 */ // fixed point number | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:46:20 */ // file system block count | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:47:20 */ // file system file count | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:48:20 */ // group id | ||||||
|  | type X__id_t = X__uint32_t       /* _types.h:49:20 */ // may contain pid, uid or gid | ||||||
|  | type X__in_addr_t = X__uint32_t  /* _types.h:50:20 */ // base type for internet address | ||||||
|  | type X__in_port_t = X__uint16_t  /* _types.h:51:20 */ // IP port type | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:52:20 */ // inode number | ||||||
|  | type X__key_t = int32            /* _types.h:53:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__mode_t = X__uint32_t     /* _types.h:54:20 */ // permissions | ||||||
|  | type X__nlink_t = X__uint32_t    /* _types.h:55:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:56:19 */ // file offset or size | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process id | ||||||
|  | type X__rlim_t = X__uint64_t     /* _types.h:58:20 */ // resource limit | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family type | ||||||
|  | type X__segsz_t = X__int32_t     /* _types.h:60:19 */ // segment size | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:61:20 */ // length type for network syscalls | ||||||
|  | type X__suseconds_t = int32      /* _types.h:62:15 */ // microseconds (signed) | ||||||
|  | type X__time_t = X__int64_t      /* _types.h:63:19 */ // epoch time | ||||||
|  | type X__timer_t = X__int32_t     /* _types.h:64:19 */ // POSIX timer identifiers | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:65:20 */ // user id | ||||||
|  | type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state, during multibyte | ||||||
|  | // stream conversions. The content must not be referenced by user programs. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint32 | ||||||
|  | 	F__mbstate8  [128]int8 | ||||||
|  | } /* _types.h:75:3 */ | ||||||
|  |  | ||||||
|  | // Tell sys/endian.h we have MD variants of the swap macros. | ||||||
|  |  | ||||||
|  | // Note that these macros evaluate their arguments several times. | ||||||
|  |  | ||||||
|  | // Public names | ||||||
|  |  | ||||||
|  | // These are specified to be function-like macros to match the spec | ||||||
|  |  | ||||||
|  | // POSIX names | ||||||
|  |  | ||||||
|  | // original BSD names | ||||||
|  |  | ||||||
|  | // these were exposed here before | ||||||
|  |  | ||||||
|  | // ancient stuff | ||||||
|  |  | ||||||
|  | type U_char = uint8   /* types.h:51:23 */ | ||||||
|  | type U_short = uint16 /* types.h:52:24 */ | ||||||
|  | type U_int = uint32   /* types.h:53:22 */ | ||||||
|  | type U_long = uint32  /* types.h:54:23 */ | ||||||
|  |  | ||||||
|  | type Unchar = uint8  /* types.h:56:23 */ // Sys V compatibility | ||||||
|  | type Ushort = uint16 /* types.h:57:24 */ // Sys V compatibility | ||||||
|  | type Uint = uint32   /* types.h:58:22 */ // Sys V compatibility | ||||||
|  | type Ulong = uint32  /* types.h:59:23 */ // Sys V compatibility | ||||||
|  |  | ||||||
|  | type Cpuid_t = X__cpuid_t       /* types.h:61:19 */ // CPU id | ||||||
|  | type Register_t = X__register_t /* types.h:62:22 */ // register-sized type | ||||||
|  |  | ||||||
|  | // XXX The exact-width bit types should only be exposed if __BSD_VISIBLE | ||||||
|  | //     but the rest of the includes are not ready for that yet. | ||||||
|  |  | ||||||
|  | type Int8_t = X__int8_t /* types.h:75:19 */ | ||||||
|  |  | ||||||
|  | type Uint8_t = X__uint8_t /* types.h:80:20 */ | ||||||
|  |  | ||||||
|  | type Int16_t = X__int16_t /* types.h:85:20 */ | ||||||
|  |  | ||||||
|  | type Uint16_t = X__uint16_t /* types.h:90:21 */ | ||||||
|  |  | ||||||
|  | type Int32_t = X__int32_t /* types.h:95:20 */ | ||||||
|  |  | ||||||
|  | type Uint32_t = X__uint32_t /* types.h:100:21 */ | ||||||
|  |  | ||||||
|  | type Int64_t = X__int64_t /* types.h:105:20 */ | ||||||
|  |  | ||||||
|  | type Uint64_t = X__uint64_t /* types.h:110:21 */ | ||||||
|  |  | ||||||
|  | // BSD-style unsigned bits types | ||||||
|  | type U_int8_t = X__uint8_t   /* types.h:114:19 */ | ||||||
|  | type U_int16_t = X__uint16_t /* types.h:115:20 */ | ||||||
|  | type U_int32_t = X__uint32_t /* types.h:116:20 */ | ||||||
|  | type U_int64_t = X__uint64_t /* types.h:117:20 */ | ||||||
|  |  | ||||||
|  | // quads, deprecated in favor of 64 bit int types | ||||||
|  | type Quad_t = X__int64_t    /* types.h:120:19 */ | ||||||
|  | type U_quad_t = X__uint64_t /* types.h:121:20 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type Vaddr_t = X__vaddr_t /* types.h:125:19 */ | ||||||
|  | type Paddr_t = X__paddr_t /* types.h:126:19 */ | ||||||
|  | type Vsize_t = X__vsize_t /* types.h:127:19 */ | ||||||
|  | type Psize_t = X__psize_t /* types.h:128:19 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type Blkcnt_t = X__blkcnt_t       /* types.h:132:20 */ // blocks allocated for file | ||||||
|  | type Blksize_t = X__blksize_t     /* types.h:133:21 */ // optimal blocksize for I/O | ||||||
|  | type Caddr_t = uintptr            /* types.h:134:14 */ // core address | ||||||
|  | type Daddr32_t = X__int32_t       /* types.h:135:19 */ // 32-bit disk address | ||||||
|  | type Daddr_t = X__int64_t         /* types.h:136:19 */ // 64-bit disk address | ||||||
|  | type Dev_t = X__dev_t             /* types.h:137:18 */ // device number | ||||||
|  | type Fixpt_t = X__fixpt_t         /* types.h:138:19 */ // fixed point number | ||||||
|  | type Gid_t = X__gid_t             /* types.h:139:18 */ // group id | ||||||
|  | type Id_t = X__id_t               /* types.h:140:17 */ // may contain pid, uid or gid | ||||||
|  | type Ino_t = X__ino_t             /* types.h:141:18 */ // inode number | ||||||
|  | type Key_t = X__key_t             /* types.h:142:18 */ // IPC key (for Sys V IPC) | ||||||
|  | type Mode_t = X__mode_t           /* types.h:143:18 */ // permissions | ||||||
|  | type Nlink_t = X__nlink_t         /* types.h:144:19 */ // link count | ||||||
|  | type Rlim_t = X__rlim_t           /* types.h:145:18 */ // resource limit | ||||||
|  | type Segsz_t = X__segsz_t         /* types.h:146:19 */ // segment size | ||||||
|  | type Uid_t = X__uid_t             /* types.h:147:18 */ // user id | ||||||
|  | type Useconds_t = X__useconds_t   /* types.h:148:22 */ // microseconds | ||||||
|  | type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed) | ||||||
|  | type Fsblkcnt_t = X__fsblkcnt_t   /* types.h:150:22 */ // file system block count | ||||||
|  | type Fsfilcnt_t = X__fsfilcnt_t   /* types.h:151:22 */ // file system file count | ||||||
|  |  | ||||||
|  | // The following types may be defined in multiple header files. | ||||||
|  | type Clock_t = X__clock_t /* types.h:158:19 */ | ||||||
|  |  | ||||||
|  | type Clockid_t = X__clockid_t /* types.h:163:21 */ | ||||||
|  |  | ||||||
|  | type Pid_t = X__pid_t /* types.h:168:18 */ | ||||||
|  |  | ||||||
|  | type Ssize_t = X__ssize_t /* types.h:178:19 */ | ||||||
|  |  | ||||||
|  | type Time_t = X__time_t /* types.h:183:18 */ | ||||||
|  |  | ||||||
|  | type Timer_t = X__timer_t /* types.h:188:19 */ | ||||||
|  |  | ||||||
|  | type Off_t = X__off_t /* types.h:193:18 */ | ||||||
|  |  | ||||||
|  | // Major, minor numbers, dev_t's. | ||||||
|  |  | ||||||
|  | type Group = struct { | ||||||
|  | 	Fgr_name   uintptr | ||||||
|  | 	Fgr_passwd uintptr | ||||||
|  | 	Fgr_gid    Gid_t | ||||||
|  | 	Fgr_mem    uintptr | ||||||
|  | } /* grp.h:50:1 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										698
									
								
								vendor/modernc.org/libc/grp/grp_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										698
									
								
								vendor/modernc.org/libc/grp/grp_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,698 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_openbsd_amd64.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	BIG_ENDIAN           = 4321         // endian.h:45:1: | ||||||
|  | 	BYTE_ORDER           = 1234         // endian.h:47:1: | ||||||
|  | 	LITTLE_ENDIAN        = 1234         // endian.h:44:1: | ||||||
|  | 	PDP_ENDIAN           = 3412         // endian.h:46:1: | ||||||
|  | 	X_BIG_ENDIAN         = 4321         // _endian.h:43:1: | ||||||
|  | 	X_BYTE_ORDER         = 1234         // endian.h:58:1: | ||||||
|  | 	X_CLOCKID_T_DEFINED_ = 0            // types.h:162:1: | ||||||
|  | 	X_CLOCK_T_DEFINED_   = 0            // types.h:157:1: | ||||||
|  | 	X_FILE_OFFSET_BITS   = 64           // <builtin>:25:1: | ||||||
|  | 	X_GRP_H_             = 0            // grp.h:41:1: | ||||||
|  | 	X_INT16_T_DEFINED_   = 0            // types.h:84:1: | ||||||
|  | 	X_INT32_T_DEFINED_   = 0            // types.h:94:1: | ||||||
|  | 	X_INT64_T_DEFINED_   = 0            // types.h:104:1: | ||||||
|  | 	X_INT8_T_DEFINED_    = 0            // types.h:74:1: | ||||||
|  | 	X_LITTLE_ENDIAN      = 1234         // _endian.h:42:1: | ||||||
|  | 	X_LP64               = 1            // <predefined>:1:1: | ||||||
|  | 	X_MACHINE_CDEFS_H_   = 0            // cdefs.h:9:1: | ||||||
|  | 	X_MACHINE_ENDIAN_H_  = 0            // endian.h:28:1: | ||||||
|  | 	X_MACHINE__TYPES_H_  = 0            // _types.h:36:1: | ||||||
|  | 	X_MAX_PAGE_SHIFT     = 12           // _types.h:52:1: | ||||||
|  | 	X_OFF_T_DEFINED_     = 0            // types.h:192:1: | ||||||
|  | 	X_PATH_GROUP         = "/etc/group" // grp.h:46:1: | ||||||
|  | 	X_PDP_ENDIAN         = 3412         // _endian.h:44:1: | ||||||
|  | 	X_PID_T_DEFINED_     = 0            // types.h:167:1: | ||||||
|  | 	X_QUAD_HIGHWORD      = 1            // _endian.h:95:1: | ||||||
|  | 	X_QUAD_LOWWORD       = 0            // _endian.h:96:1: | ||||||
|  | 	X_RET_PROTECTOR      = 1            // <predefined>:2:1: | ||||||
|  | 	X_SIZE_T_DEFINED_    = 0            // types.h:172:1: | ||||||
|  | 	X_SSIZE_T_DEFINED_   = 0            // types.h:177:1: | ||||||
|  | 	X_STACKALIGNBYTES    = 15           // _types.h:49:1: | ||||||
|  | 	X_SYS_CDEFS_H_       = 0            // cdefs.h:39:1: | ||||||
|  | 	X_SYS_ENDIAN_H_      = 0            // endian.h:38:1: | ||||||
|  | 	X_SYS_TYPES_H_       = 0            // types.h:41:1: | ||||||
|  | 	X_SYS__ENDIAN_H_     = 0            // _endian.h:34:1: | ||||||
|  | 	X_SYS__TYPES_H_      = 0            // _types.h:35:1: | ||||||
|  | 	X_TIMER_T_DEFINED_   = 0            // types.h:187:1: | ||||||
|  | 	X_TIME_T_DEFINED_    = 0            // types.h:182:1: | ||||||
|  | 	X_UINT16_T_DEFINED_  = 0            // types.h:89:1: | ||||||
|  | 	X_UINT32_T_DEFINED_  = 0            // types.h:99:1: | ||||||
|  | 	X_UINT64_T_DEFINED_  = 0            // types.h:109:1: | ||||||
|  | 	X_UINT8_T_DEFINED_   = 0            // types.h:79:1: | ||||||
|  | 	Unix                 = 1            // <predefined>:344:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | //	$OpenBSD: grp.h,v 1.13 2018/09/13 12:31:15 millert Exp $ | ||||||
|  | //	$NetBSD: grp.h,v 1.7 1995/04/29 05:30:40 cgd Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1989, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)grp.h	8.2 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  | //	$NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1982, 1986, 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.4 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.3 2013/03/28 17:30:45 martynas Exp $ | ||||||
|  |  | ||||||
|  | // Written by J.T. Conklin <jtc@wimsey.com> 01/17/95. | ||||||
|  | // Public domain. | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky -- make sure you don't put spaces | ||||||
|  | // in between its arguments.  Do not use __CONCAT on double-quoted strings, | ||||||
|  | // such as those from the __STRING macro: to concatenate strings just put | ||||||
|  | // them next to each other. | ||||||
|  |  | ||||||
|  | // GCC1 and some versions of GCC2 declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions using "volatile" and "const"; | ||||||
|  | // unfortunately, these then cause warnings under "-ansi -pedantic". | ||||||
|  | // GCC >= 2.5 uses the __attribute__((attrs)) style.  All of these | ||||||
|  | // work for GNU C++ (modulo a slight glitch in the C++ grammar in | ||||||
|  | // the distribution version of 2.5.5). | ||||||
|  |  | ||||||
|  | // __returns_twice makes the compiler not assume the function | ||||||
|  | // only returns once.  This affects registerisation of variables: | ||||||
|  | // even local variables need to be in memory across such a call. | ||||||
|  | // Example: setjmp() | ||||||
|  |  | ||||||
|  | // __only_inline makes the compiler only use this function definition | ||||||
|  | // for inlining; references that can't be inlined will be left as | ||||||
|  | // external references instead of generating a local copy.  The | ||||||
|  | // matching library should include a simple extern definition for | ||||||
|  | // the function to handle those references.  c.f. ctype.h | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // Delete pseudo-keywords wherever they are not available or needed. | ||||||
|  |  | ||||||
|  | // The __packed macro indicates that a variable or structure members | ||||||
|  | // should have the smallest possible alignment, despite any host CPU | ||||||
|  | // alignment requirements. | ||||||
|  | // | ||||||
|  | // The __aligned(x) macro specifies the minimum alignment of a | ||||||
|  | // variable or structure. | ||||||
|  | // | ||||||
|  | // These macros together are useful for describing the layout and | ||||||
|  | // alignment of messages exchanged with hardware or other systems. | ||||||
|  |  | ||||||
|  | // "The nice thing about standards is that there are so many to choose from." | ||||||
|  | // There are a number of "feature test macros" specified by (different) | ||||||
|  | // standards that determine which interfaces and types the header files | ||||||
|  | // should expose. | ||||||
|  | // | ||||||
|  | // Because of inconsistencies in these macros, we define our own | ||||||
|  | // set in the private name space that end in _VISIBLE.  These are | ||||||
|  | // always defined and so headers can test their values easily. | ||||||
|  | // Things can get tricky when multiple feature macros are defined. | ||||||
|  | // We try to take the union of all the features requested. | ||||||
|  | // | ||||||
|  | // The following macros are guaranteed to have a value after cdefs.h | ||||||
|  | // has been included: | ||||||
|  | //	__POSIX_VISIBLE | ||||||
|  | //	__XPG_VISIBLE | ||||||
|  | //	__ISO_C_VISIBLE | ||||||
|  | //	__BSD_VISIBLE | ||||||
|  |  | ||||||
|  | // X/Open Portability Guides and Single Unix Specifications. | ||||||
|  | // _XOPEN_SOURCE				XPG3 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_VERSION = 4		XPG4 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1	XPG4v2 | ||||||
|  | // _XOPEN_SOURCE == 500				XPG5 | ||||||
|  | // _XOPEN_SOURCE == 520				XPG5v2 | ||||||
|  | // _XOPEN_SOURCE == 600				POSIX 1003.1-2001 with XSI | ||||||
|  | // _XOPEN_SOURCE == 700				POSIX 1003.1-2008 with XSI | ||||||
|  | // | ||||||
|  | // The XPG spec implies a specific value for _POSIX_C_SOURCE. | ||||||
|  |  | ||||||
|  | // POSIX macros, these checks must follow the XOPEN ones above. | ||||||
|  | // | ||||||
|  | // _POSIX_SOURCE == 1		1003.1-1988 (superseded by _POSIX_C_SOURCE) | ||||||
|  | // _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | // _POSIX_C_SOURCE == 2		1003.2-1992 | ||||||
|  | // _POSIX_C_SOURCE == 199309L	1003.1b-1993 | ||||||
|  | // _POSIX_C_SOURCE == 199506L   1003.1c-1995, 1003.1i-1995, | ||||||
|  | //				and the omnibus ISO/IEC 9945-1:1996 | ||||||
|  | // _POSIX_C_SOURCE == 200112L   1003.1-2001 | ||||||
|  | // _POSIX_C_SOURCE == 200809L   1003.1-2008 | ||||||
|  | // | ||||||
|  | // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though | ||||||
|  | // this may be overridden by the _ISOC99_SOURCE macro later. | ||||||
|  |  | ||||||
|  | // _ANSI_SOURCE means to expose ANSI C89 interfaces only. | ||||||
|  | // If the user defines it in addition to one of the POSIX or XOPEN | ||||||
|  | // macros, assume the POSIX/XOPEN macro(s) should take precedence. | ||||||
|  |  | ||||||
|  | // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus | ||||||
|  | // override any of the other macros since they are non-exclusive. | ||||||
|  |  | ||||||
|  | // Finally deal with BSD-specific interfaces that are not covered | ||||||
|  | // by any standards.  We expose these when none of the POSIX or XPG | ||||||
|  | // macros is defined or if the user explicitly asks for them. | ||||||
|  |  | ||||||
|  | // Default values. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: endian.h,v 1.25 2014/12/21 04:49:00 guenther Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Public definitions for little- and big-endian systems. | ||||||
|  | // This file should be included as <endian.h> in userspace and as | ||||||
|  | // <sys/endian.h> in the kernel. | ||||||
|  | // | ||||||
|  | // System headers that need endian information but that can't or don't | ||||||
|  | // want to export the public names here should include <sys/_endian.h> | ||||||
|  | // and use the internal names: _BYTE_ORDER, _*_ENDIAN, etc. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _endian.h,v 1.8 2018/01/11 23:13:37 dlg Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Internal endianness macros.  This pulls in <machine/endian.h> to | ||||||
|  | // get the correct setting direction for the platform and sets internal | ||||||
|  | // ('__' prefix) macros appropriately. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _types.h,v 1.17 2018/03/05 01:15:25 deraadt Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | //	@(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  |  | ||||||
|  | // _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned | ||||||
|  | // value for all data types (int, long, ...).   The result is an | ||||||
|  | // unsigned long and must be cast to any desired pointer type. | ||||||
|  | // | ||||||
|  | // _ALIGNED_POINTER is a boolean macro that checks whether an address | ||||||
|  | // is valid to fetch data elements of type t from on this architecture. | ||||||
|  | // This does not reflect the optimal alignment, just the possibility | ||||||
|  | // (within reasonable limits). | ||||||
|  |  | ||||||
|  | // 7.18.1.1 Exact-width integer types | ||||||
|  | type X__int8_t = int8     /* _types.h:61:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:62:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:63:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:64:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:65:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:66:23 */ | ||||||
|  | type X__int64_t = int64   /* _types.h:67:20 */ | ||||||
|  | type X__uint64_t = uint64 /* _types.h:68:28 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.2 Minimum-width integer types | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:71:19 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:72:20 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:73:20 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:74:21 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:75:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:76:21 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:77:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:78:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.3 Fastest minimum-width integer types | ||||||
|  | type X__int_fast8_t = X__int32_t    /* _types.h:81:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t  /* _types.h:82:21 */ | ||||||
|  | type X__int_fast16_t = X__int32_t   /* _types.h:83:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t /* _types.h:84:21 */ | ||||||
|  | type X__int_fast32_t = X__int32_t   /* _types.h:85:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t /* _types.h:86:21 */ | ||||||
|  | type X__int_fast64_t = X__int64_t   /* _types.h:87:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t /* _types.h:88:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.4 Integer types capable of holding object pointers | ||||||
|  | type X__intptr_t = int64   /* _types.h:103:16 */ | ||||||
|  | type X__uintptr_t = uint64 /* _types.h:104:24 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.5 Greatest-width integer types | ||||||
|  | type X__intmax_t = X__int64_t   /* _types.h:107:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t /* _types.h:108:21 */ | ||||||
|  |  | ||||||
|  | // Register size | ||||||
|  | type X__register_t = int64 /* _types.h:111:16 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type X__vaddr_t = uint64 /* _types.h:114:24 */ | ||||||
|  | type X__paddr_t = uint64 /* _types.h:115:24 */ | ||||||
|  | type X__vsize_t = uint64 /* _types.h:116:24 */ | ||||||
|  | type X__psize_t = uint64 /* _types.h:117:24 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type X__double_t = float64           /* _types.h:120:18 */ | ||||||
|  | type X__float_t = float32            /* _types.h:121:17 */ | ||||||
|  | type X__ptrdiff_t = int64            /* _types.h:122:16 */ | ||||||
|  | type X__size_t = uint64              /* _types.h:123:24 */ | ||||||
|  | type X__ssize_t = int64              /* _types.h:124:16 */ | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:126:27 */ | ||||||
|  |  | ||||||
|  | // Wide character support types | ||||||
|  | type X__wchar_t = int32     /* _types.h:133:15 */ | ||||||
|  | type X__wint_t = int32      /* _types.h:135:15 */ | ||||||
|  | type X__rune_t = int32      /* _types.h:136:15 */ | ||||||
|  | type X__wctrans_t = uintptr /* _types.h:137:14 */ | ||||||
|  | type X__wctype_t = uintptr  /* _types.h:138:14 */ | ||||||
|  |  | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:39:19 */ // blocks allocated for file | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // optimal blocksize for I/O | ||||||
|  | type X__clock_t = X__int64_t     /* _types.h:41:19 */ // ticks in CLOCKS_PER_SEC | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // CLOCK_* identifiers | ||||||
|  | type X__cpuid_t = uint64         /* _types.h:43:23 */ // CPU id | ||||||
|  | type X__dev_t = X__int32_t       /* _types.h:44:19 */ // device number | ||||||
|  | type X__fixpt_t = X__uint32_t    /* _types.h:45:20 */ // fixed point number | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:46:20 */ // file system block count | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:47:20 */ // file system file count | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:48:20 */ // group id | ||||||
|  | type X__id_t = X__uint32_t       /* _types.h:49:20 */ // may contain pid, uid or gid | ||||||
|  | type X__in_addr_t = X__uint32_t  /* _types.h:50:20 */ // base type for internet address | ||||||
|  | type X__in_port_t = X__uint16_t  /* _types.h:51:20 */ // IP port type | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:52:20 */ // inode number | ||||||
|  | type X__key_t = int64            /* _types.h:53:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__mode_t = X__uint32_t     /* _types.h:54:20 */ // permissions | ||||||
|  | type X__nlink_t = X__uint32_t    /* _types.h:55:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:56:19 */ // file offset or size | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process id | ||||||
|  | type X__rlim_t = X__uint64_t     /* _types.h:58:20 */ // resource limit | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family type | ||||||
|  | type X__segsz_t = X__int32_t     /* _types.h:60:19 */ // segment size | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:61:20 */ // length type for network syscalls | ||||||
|  | type X__suseconds_t = int64      /* _types.h:62:15 */ // microseconds (signed) | ||||||
|  | type X__time_t = X__int64_t      /* _types.h:63:19 */ // epoch time | ||||||
|  | type X__timer_t = X__int32_t     /* _types.h:64:19 */ // POSIX timer identifiers | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:65:20 */ // user id | ||||||
|  | type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state, during multibyte | ||||||
|  | // stream conversions. The content must not be referenced by user programs. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint64 | ||||||
|  | 	F__mbstate8  [128]int8 | ||||||
|  | } /* _types.h:75:3 */ | ||||||
|  |  | ||||||
|  | // Tell sys/endian.h we have MD variants of the swap macros. | ||||||
|  |  | ||||||
|  | // Note that these macros evaluate their arguments several times. | ||||||
|  |  | ||||||
|  | // Public names | ||||||
|  |  | ||||||
|  | // These are specified to be function-like macros to match the spec | ||||||
|  |  | ||||||
|  | // POSIX names | ||||||
|  |  | ||||||
|  | // original BSD names | ||||||
|  |  | ||||||
|  | // these were exposed here before | ||||||
|  |  | ||||||
|  | // ancient stuff | ||||||
|  |  | ||||||
|  | type U_char = uint8   /* types.h:51:23 */ | ||||||
|  | type U_short = uint16 /* types.h:52:24 */ | ||||||
|  | type U_int = uint32   /* types.h:53:22 */ | ||||||
|  | type U_long = uint64  /* types.h:54:23 */ | ||||||
|  |  | ||||||
|  | type Unchar = uint8  /* types.h:56:23 */ // Sys V compatibility | ||||||
|  | type Ushort = uint16 /* types.h:57:24 */ // Sys V compatibility | ||||||
|  | type Uint = uint32   /* types.h:58:22 */ // Sys V compatibility | ||||||
|  | type Ulong = uint64  /* types.h:59:23 */ // Sys V compatibility | ||||||
|  |  | ||||||
|  | type Cpuid_t = X__cpuid_t       /* types.h:61:19 */ // CPU id | ||||||
|  | type Register_t = X__register_t /* types.h:62:22 */ // register-sized type | ||||||
|  |  | ||||||
|  | // XXX The exact-width bit types should only be exposed if __BSD_VISIBLE | ||||||
|  | //     but the rest of the includes are not ready for that yet. | ||||||
|  |  | ||||||
|  | type Int8_t = X__int8_t /* types.h:75:19 */ | ||||||
|  |  | ||||||
|  | type Uint8_t = X__uint8_t /* types.h:80:20 */ | ||||||
|  |  | ||||||
|  | type Int16_t = X__int16_t /* types.h:85:20 */ | ||||||
|  |  | ||||||
|  | type Uint16_t = X__uint16_t /* types.h:90:21 */ | ||||||
|  |  | ||||||
|  | type Int32_t = X__int32_t /* types.h:95:20 */ | ||||||
|  |  | ||||||
|  | type Uint32_t = X__uint32_t /* types.h:100:21 */ | ||||||
|  |  | ||||||
|  | type Int64_t = X__int64_t /* types.h:105:20 */ | ||||||
|  |  | ||||||
|  | type Uint64_t = X__uint64_t /* types.h:110:21 */ | ||||||
|  |  | ||||||
|  | // BSD-style unsigned bits types | ||||||
|  | type U_int8_t = X__uint8_t   /* types.h:114:19 */ | ||||||
|  | type U_int16_t = X__uint16_t /* types.h:115:20 */ | ||||||
|  | type U_int32_t = X__uint32_t /* types.h:116:20 */ | ||||||
|  | type U_int64_t = X__uint64_t /* types.h:117:20 */ | ||||||
|  |  | ||||||
|  | // quads, deprecated in favor of 64 bit int types | ||||||
|  | type Quad_t = X__int64_t    /* types.h:120:19 */ | ||||||
|  | type U_quad_t = X__uint64_t /* types.h:121:20 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type Vaddr_t = X__vaddr_t /* types.h:125:19 */ | ||||||
|  | type Paddr_t = X__paddr_t /* types.h:126:19 */ | ||||||
|  | type Vsize_t = X__vsize_t /* types.h:127:19 */ | ||||||
|  | type Psize_t = X__psize_t /* types.h:128:19 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type Blkcnt_t = X__blkcnt_t       /* types.h:132:20 */ // blocks allocated for file | ||||||
|  | type Blksize_t = X__blksize_t     /* types.h:133:21 */ // optimal blocksize for I/O | ||||||
|  | type Caddr_t = uintptr            /* types.h:134:14 */ // core address | ||||||
|  | type Daddr32_t = X__int32_t       /* types.h:135:19 */ // 32-bit disk address | ||||||
|  | type Daddr_t = X__int64_t         /* types.h:136:19 */ // 64-bit disk address | ||||||
|  | type Dev_t = X__dev_t             /* types.h:137:18 */ // device number | ||||||
|  | type Fixpt_t = X__fixpt_t         /* types.h:138:19 */ // fixed point number | ||||||
|  | type Gid_t = X__gid_t             /* types.h:139:18 */ // group id | ||||||
|  | type Id_t = X__id_t               /* types.h:140:17 */ // may contain pid, uid or gid | ||||||
|  | type Ino_t = X__ino_t             /* types.h:141:18 */ // inode number | ||||||
|  | type Key_t = X__key_t             /* types.h:142:18 */ // IPC key (for Sys V IPC) | ||||||
|  | type Mode_t = X__mode_t           /* types.h:143:18 */ // permissions | ||||||
|  | type Nlink_t = X__nlink_t         /* types.h:144:19 */ // link count | ||||||
|  | type Rlim_t = X__rlim_t           /* types.h:145:18 */ // resource limit | ||||||
|  | type Segsz_t = X__segsz_t         /* types.h:146:19 */ // segment size | ||||||
|  | type Uid_t = X__uid_t             /* types.h:147:18 */ // user id | ||||||
|  | type Useconds_t = X__useconds_t   /* types.h:148:22 */ // microseconds | ||||||
|  | type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed) | ||||||
|  | type Fsblkcnt_t = X__fsblkcnt_t   /* types.h:150:22 */ // file system block count | ||||||
|  | type Fsfilcnt_t = X__fsfilcnt_t   /* types.h:151:22 */ // file system file count | ||||||
|  |  | ||||||
|  | // The following types may be defined in multiple header files. | ||||||
|  | type Clock_t = X__clock_t /* types.h:158:19 */ | ||||||
|  |  | ||||||
|  | type Clockid_t = X__clockid_t /* types.h:163:21 */ | ||||||
|  |  | ||||||
|  | type Pid_t = X__pid_t /* types.h:168:18 */ | ||||||
|  |  | ||||||
|  | type Ssize_t = X__ssize_t /* types.h:178:19 */ | ||||||
|  |  | ||||||
|  | type Time_t = X__time_t /* types.h:183:18 */ | ||||||
|  |  | ||||||
|  | type Timer_t = X__timer_t /* types.h:188:19 */ | ||||||
|  |  | ||||||
|  | type Off_t = X__off_t /* types.h:193:18 */ | ||||||
|  |  | ||||||
|  | // Major, minor numbers, dev_t's. | ||||||
|  |  | ||||||
|  | type Group = struct { | ||||||
|  | 	Fgr_name     uintptr | ||||||
|  | 	Fgr_passwd   uintptr | ||||||
|  | 	Fgr_gid      Gid_t | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | 	Fgr_mem      uintptr | ||||||
|  | } /* grp.h:50:1 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										696
									
								
								vendor/modernc.org/libc/grp/grp_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										696
									
								
								vendor/modernc.org/libc/grp/grp_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,696 @@ | |||||||
|  | // Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o grp/grp_openbsd_arm64.go -pkgname grp', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package grp | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"math" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync/atomic" | ||||||
|  | 	"unsafe" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | var _ = math.Pi | ||||||
|  | var _ reflect.Kind | ||||||
|  | var _ atomic.Value | ||||||
|  | var _ unsafe.Pointer | ||||||
|  |  | ||||||
|  | const ( | ||||||
|  | 	BIG_ENDIAN           = 4321         // endian.h:45:1: | ||||||
|  | 	BYTE_ORDER           = 1234         // endian.h:47:1: | ||||||
|  | 	LITTLE_ENDIAN        = 1234         // endian.h:44:1: | ||||||
|  | 	PDP_ENDIAN           = 3412         // endian.h:46:1: | ||||||
|  | 	X_BIG_ENDIAN         = 4321         // _endian.h:43:1: | ||||||
|  | 	X_BYTE_ORDER         = 1234         // endian.h:60:1: | ||||||
|  | 	X_CLOCKID_T_DEFINED_ = 0            // types.h:162:1: | ||||||
|  | 	X_CLOCK_T_DEFINED_   = 0            // types.h:157:1: | ||||||
|  | 	X_FILE_OFFSET_BITS   = 64           // <builtin>:25:1: | ||||||
|  | 	X_GRP_H_             = 0            // grp.h:41:1: | ||||||
|  | 	X_INT16_T_DEFINED_   = 0            // types.h:84:1: | ||||||
|  | 	X_INT32_T_DEFINED_   = 0            // types.h:94:1: | ||||||
|  | 	X_INT64_T_DEFINED_   = 0            // types.h:104:1: | ||||||
|  | 	X_INT8_T_DEFINED_    = 0            // types.h:74:1: | ||||||
|  | 	X_LITTLE_ENDIAN      = 1234         // _endian.h:42:1: | ||||||
|  | 	X_LP64               = 1            // <predefined>:1:1: | ||||||
|  | 	X_MACHINE_CDEFS_H_   = 0            // cdefs.h:4:1: | ||||||
|  | 	X_MACHINE_ENDIAN_H_  = 0            // endian.h:20:1: | ||||||
|  | 	X_MACHINE__TYPES_H_  = 0            // _types.h:35:1: | ||||||
|  | 	X_MAX_PAGE_SHIFT     = 12           // _types.h:57:1: | ||||||
|  | 	X_OFF_T_DEFINED_     = 0            // types.h:192:1: | ||||||
|  | 	X_PATH_GROUP         = "/etc/group" // grp.h:46:1: | ||||||
|  | 	X_PDP_ENDIAN         = 3412         // _endian.h:44:1: | ||||||
|  | 	X_PID_T_DEFINED_     = 0            // types.h:167:1: | ||||||
|  | 	X_QUAD_HIGHWORD      = 1            // _endian.h:95:1: | ||||||
|  | 	X_QUAD_LOWWORD       = 0            // _endian.h:96:1: | ||||||
|  | 	X_RET_PROTECTOR      = 1            // <predefined>:2:1: | ||||||
|  | 	X_SIZE_T_DEFINED_    = 0            // types.h:172:1: | ||||||
|  | 	X_SSIZE_T_DEFINED_   = 0            // types.h:177:1: | ||||||
|  | 	X_STACKALIGNBYTES    = 15           // _types.h:54:1: | ||||||
|  | 	X_SYS_CDEFS_H_       = 0            // cdefs.h:39:1: | ||||||
|  | 	X_SYS_ENDIAN_H_      = 0            // endian.h:38:1: | ||||||
|  | 	X_SYS_TYPES_H_       = 0            // types.h:41:1: | ||||||
|  | 	X_SYS__ENDIAN_H_     = 0            // _endian.h:34:1: | ||||||
|  | 	X_SYS__TYPES_H_      = 0            // _types.h:35:1: | ||||||
|  | 	X_TIMER_T_DEFINED_   = 0            // types.h:187:1: | ||||||
|  | 	X_TIME_T_DEFINED_    = 0            // types.h:182:1: | ||||||
|  | 	X_UINT16_T_DEFINED_  = 0            // types.h:89:1: | ||||||
|  | 	X_UINT32_T_DEFINED_  = 0            // types.h:99:1: | ||||||
|  | 	X_UINT64_T_DEFINED_  = 0            // types.h:109:1: | ||||||
|  | 	X_UINT8_T_DEFINED_   = 0            // types.h:79:1: | ||||||
|  | 	Unix                 = 1            // <predefined>:360:1: | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | type Ptrdiff_t = int64 /* <builtin>:3:26 */ | ||||||
|  |  | ||||||
|  | type Size_t = uint64 /* <builtin>:9:23 */ | ||||||
|  |  | ||||||
|  | type Wchar_t = int32 /* <builtin>:15:24 */ | ||||||
|  |  | ||||||
|  | type X__int128_t = struct { | ||||||
|  | 	Flo int64 | ||||||
|  | 	Fhi int64 | ||||||
|  | } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128 | ||||||
|  | type X__uint128_t = struct { | ||||||
|  | 	Flo uint64 | ||||||
|  | 	Fhi uint64 | ||||||
|  | } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128 | ||||||
|  |  | ||||||
|  | type X__builtin_va_list = uintptr /* <builtin>:46:14 */ | ||||||
|  | type X__float128 = float64        /* <builtin>:47:21 */ | ||||||
|  |  | ||||||
|  | //	$OpenBSD: grp.h,v 1.13 2018/09/13 12:31:15 millert Exp $ | ||||||
|  | //	$NetBSD: grp.h,v 1.7 1995/04/29 05:30:40 cgd Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1989, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)grp.h	8.2 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: types.h,v 1.49 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  | //	$NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1982, 1986, 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // (c) UNIX System Laboratories, Inc. | ||||||
|  | // All or some portions of this file are derived from material licensed | ||||||
|  | // to the University of California by American Telephone and Telegraph | ||||||
|  | // Co. or Unix System Laboratories, Inc. and are reproduced herein with | ||||||
|  | // the permission of UNIX System Laboratories, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.4 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.1 2016/12/17 23:38:33 patrick Exp $ | ||||||
|  |  | ||||||
|  | // Macro to test if we're using a specific version of gcc or later. | ||||||
|  |  | ||||||
|  | // The __CONCAT macro is used to concatenate parts of symbol names, e.g. | ||||||
|  | // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. | ||||||
|  | // The __CONCAT macro is a bit tricky -- make sure you don't put spaces | ||||||
|  | // in between its arguments.  Do not use __CONCAT on double-quoted strings, | ||||||
|  | // such as those from the __STRING macro: to concatenate strings just put | ||||||
|  | // them next to each other. | ||||||
|  |  | ||||||
|  | // GCC1 and some versions of GCC2 declare dead (non-returning) and | ||||||
|  | // pure (no side effects) functions using "volatile" and "const"; | ||||||
|  | // unfortunately, these then cause warnings under "-ansi -pedantic". | ||||||
|  | // GCC >= 2.5 uses the __attribute__((attrs)) style.  All of these | ||||||
|  | // work for GNU C++ (modulo a slight glitch in the C++ grammar in | ||||||
|  | // the distribution version of 2.5.5). | ||||||
|  |  | ||||||
|  | // __returns_twice makes the compiler not assume the function | ||||||
|  | // only returns once.  This affects registerisation of variables: | ||||||
|  | // even local variables need to be in memory across such a call. | ||||||
|  | // Example: setjmp() | ||||||
|  |  | ||||||
|  | // __only_inline makes the compiler only use this function definition | ||||||
|  | // for inlining; references that can't be inlined will be left as | ||||||
|  | // external references instead of generating a local copy.  The | ||||||
|  | // matching library should include a simple extern definition for | ||||||
|  | // the function to handle those references.  c.f. ctype.h | ||||||
|  |  | ||||||
|  | // GNU C version 2.96 adds explicit branch prediction so that | ||||||
|  | // the CPU back-end can hint the processor and also so that | ||||||
|  | // code blocks can be reordered such that the predicted path | ||||||
|  | // sees a more linear flow, thus improving cache behavior, etc. | ||||||
|  | // | ||||||
|  | // The following two macros provide us with a way to utilize this | ||||||
|  | // compiler feature.  Use __predict_true() if you expect the expression | ||||||
|  | // to evaluate to true, and __predict_false() if you expect the | ||||||
|  | // expression to evaluate to false. | ||||||
|  | // | ||||||
|  | // A few notes about usage: | ||||||
|  | // | ||||||
|  | //	* Generally, __predict_false() error condition checks (unless | ||||||
|  | //	  you have some _strong_ reason to do otherwise, in which case | ||||||
|  | //	  document it), and/or __predict_true() `no-error' condition | ||||||
|  | //	  checks, assuming you want to optimize for the no-error case. | ||||||
|  | // | ||||||
|  | //	* Other than that, if you don't know the likelihood of a test | ||||||
|  | //	  succeeding from empirical or other `hard' evidence, don't | ||||||
|  | //	  make predictions. | ||||||
|  | // | ||||||
|  | //	* These are meant to be used in places that are run `a lot'. | ||||||
|  | //	  It is wasteful to make predictions in code that is run | ||||||
|  | //	  seldomly (e.g. at subsystem initialization time) as the | ||||||
|  | //	  basic block reordering that this affects can often generate | ||||||
|  | //	  larger code. | ||||||
|  |  | ||||||
|  | // Delete pseudo-keywords wherever they are not available or needed. | ||||||
|  |  | ||||||
|  | // The __packed macro indicates that a variable or structure members | ||||||
|  | // should have the smallest possible alignment, despite any host CPU | ||||||
|  | // alignment requirements. | ||||||
|  | // | ||||||
|  | // The __aligned(x) macro specifies the minimum alignment of a | ||||||
|  | // variable or structure. | ||||||
|  | // | ||||||
|  | // These macros together are useful for describing the layout and | ||||||
|  | // alignment of messages exchanged with hardware or other systems. | ||||||
|  |  | ||||||
|  | // "The nice thing about standards is that there are so many to choose from." | ||||||
|  | // There are a number of "feature test macros" specified by (different) | ||||||
|  | // standards that determine which interfaces and types the header files | ||||||
|  | // should expose. | ||||||
|  | // | ||||||
|  | // Because of inconsistencies in these macros, we define our own | ||||||
|  | // set in the private name space that end in _VISIBLE.  These are | ||||||
|  | // always defined and so headers can test their values easily. | ||||||
|  | // Things can get tricky when multiple feature macros are defined. | ||||||
|  | // We try to take the union of all the features requested. | ||||||
|  | // | ||||||
|  | // The following macros are guaranteed to have a value after cdefs.h | ||||||
|  | // has been included: | ||||||
|  | //	__POSIX_VISIBLE | ||||||
|  | //	__XPG_VISIBLE | ||||||
|  | //	__ISO_C_VISIBLE | ||||||
|  | //	__BSD_VISIBLE | ||||||
|  |  | ||||||
|  | // X/Open Portability Guides and Single Unix Specifications. | ||||||
|  | // _XOPEN_SOURCE				XPG3 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_VERSION = 4		XPG4 | ||||||
|  | // _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED = 1	XPG4v2 | ||||||
|  | // _XOPEN_SOURCE == 500				XPG5 | ||||||
|  | // _XOPEN_SOURCE == 520				XPG5v2 | ||||||
|  | // _XOPEN_SOURCE == 600				POSIX 1003.1-2001 with XSI | ||||||
|  | // _XOPEN_SOURCE == 700				POSIX 1003.1-2008 with XSI | ||||||
|  | // | ||||||
|  | // The XPG spec implies a specific value for _POSIX_C_SOURCE. | ||||||
|  |  | ||||||
|  | // POSIX macros, these checks must follow the XOPEN ones above. | ||||||
|  | // | ||||||
|  | // _POSIX_SOURCE == 1		1003.1-1988 (superseded by _POSIX_C_SOURCE) | ||||||
|  | // _POSIX_C_SOURCE == 1		1003.1-1990 | ||||||
|  | // _POSIX_C_SOURCE == 2		1003.2-1992 | ||||||
|  | // _POSIX_C_SOURCE == 199309L	1003.1b-1993 | ||||||
|  | // _POSIX_C_SOURCE == 199506L   1003.1c-1995, 1003.1i-1995, | ||||||
|  | //				and the omnibus ISO/IEC 9945-1:1996 | ||||||
|  | // _POSIX_C_SOURCE == 200112L   1003.1-2001 | ||||||
|  | // _POSIX_C_SOURCE == 200809L   1003.1-2008 | ||||||
|  | // | ||||||
|  | // The POSIX spec implies a specific value for __ISO_C_VISIBLE, though | ||||||
|  | // this may be overridden by the _ISOC99_SOURCE macro later. | ||||||
|  |  | ||||||
|  | // _ANSI_SOURCE means to expose ANSI C89 interfaces only. | ||||||
|  | // If the user defines it in addition to one of the POSIX or XOPEN | ||||||
|  | // macros, assume the POSIX/XOPEN macro(s) should take precedence. | ||||||
|  |  | ||||||
|  | // _ISOC99_SOURCE, _ISOC11_SOURCE, __STDC_VERSION__, and __cplusplus | ||||||
|  | // override any of the other macros since they are non-exclusive. | ||||||
|  |  | ||||||
|  | // Finally deal with BSD-specific interfaces that are not covered | ||||||
|  | // by any standards.  We expose these when none of the POSIX or XPG | ||||||
|  | // macros is defined or if the user explicitly asks for them. | ||||||
|  |  | ||||||
|  | // Default values. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: endian.h,v 1.25 2014/12/21 04:49:00 guenther Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Public definitions for little- and big-endian systems. | ||||||
|  | // This file should be included as <endian.h> in userspace and as | ||||||
|  | // <sys/endian.h> in the kernel. | ||||||
|  | // | ||||||
|  | // System headers that need endian information but that can't or don't | ||||||
|  | // want to export the public names here should include <sys/_endian.h> | ||||||
|  | // and use the internal names: _BYTE_ORDER, _*_ENDIAN, etc. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: cdefs.h,v 1.43 2018/10/29 17:10:40 guenther Exp $ | ||||||
|  | //	$NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ | ||||||
|  |  | ||||||
|  | // Copyright (c) 1991, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // This code is derived from software contributed to Berkeley by | ||||||
|  | // Berkeley Software Design, Inc. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)cdefs.h	8.7 (Berkeley) 1/21/94 | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _endian.h,v 1.8 2018/01/11 23:13:37 dlg Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1997 Niklas Hallqvist.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||||||
|  | // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||||||
|  | // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||||||
|  | // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||||||
|  | // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||||||
|  | // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||
|  | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||
|  | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||
|  | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||
|  | // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||
|  |  | ||||||
|  | // Internal endianness macros.  This pulls in <machine/endian.h> to | ||||||
|  | // get the correct setting direction for the platform and sets internal | ||||||
|  | // ('__' prefix) macros appropriately. | ||||||
|  |  | ||||||
|  | //	$OpenBSD: _types.h,v 1.10 2022/08/06 13:31:13 semarie Exp $ | ||||||
|  |  | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  |  | ||||||
|  | // $OpenBSD: _types.h,v 1.4 2018/03/05 01:15:25 deraadt Exp $ | ||||||
|  | // - | ||||||
|  | // Copyright (c) 1990, 1993 | ||||||
|  | //	The Regents of the University of California.  All rights reserved. | ||||||
|  | // | ||||||
|  | // Redistribution and use in source and binary forms, with or without | ||||||
|  | // modification, are permitted provided that the following conditions | ||||||
|  | // are met: | ||||||
|  | // 1. Redistributions of source code must retain the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer. | ||||||
|  | // 2. Redistributions in binary form must reproduce the above copyright | ||||||
|  | //    notice, this list of conditions and the following disclaimer in the | ||||||
|  | //    documentation and/or other materials provided with the distribution. | ||||||
|  | // 3. Neither the name of the University nor the names of its contributors | ||||||
|  | //    may be used to endorse or promote products derived from this software | ||||||
|  | //    without specific prior written permission. | ||||||
|  | // | ||||||
|  | // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||||||
|  | // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||||
|  | // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||||||
|  | // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||||
|  | // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||||
|  | // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||||
|  | // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||||
|  | // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||||
|  | // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||||
|  | // SUCH DAMAGE. | ||||||
|  | // | ||||||
|  | //	@(#)types.h	8.3 (Berkeley) 1/5/94 | ||||||
|  | //	@(#)ansi.h	8.2 (Berkeley) 1/4/94 | ||||||
|  |  | ||||||
|  | // _ALIGN(p) rounds p (pointer or byte index) up to a correctly-aligned | ||||||
|  | // value for all data types (int, long, ...).   The result is an | ||||||
|  | // unsigned long and must be cast to any desired pointer type. | ||||||
|  | // | ||||||
|  | // _ALIGNED_POINTER is a boolean macro that checks whether an address | ||||||
|  | // is valid to fetch data elements of type t from on this architecture. | ||||||
|  | // This does not reflect the optimal alignment, just the possibility | ||||||
|  | // (within reasonable limits). | ||||||
|  |  | ||||||
|  | // 7.18.1.1 Exact-width integer types | ||||||
|  | type X__int8_t = int8     /* _types.h:60:22 */ | ||||||
|  | type X__uint8_t = uint8   /* _types.h:61:24 */ | ||||||
|  | type X__int16_t = int16   /* _types.h:62:17 */ | ||||||
|  | type X__uint16_t = uint16 /* _types.h:63:25 */ | ||||||
|  | type X__int32_t = int32   /* _types.h:64:15 */ | ||||||
|  | type X__uint32_t = uint32 /* _types.h:65:23 */ | ||||||
|  | // LONGLONG | ||||||
|  | type X__int64_t = int64 /* _types.h:67:20 */ | ||||||
|  | // LONGLONG | ||||||
|  | type X__uint64_t = uint64 /* _types.h:69:28 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.2 Minimum-width integer types | ||||||
|  | type X__int_least8_t = X__int8_t     /* _types.h:72:19 */ | ||||||
|  | type X__uint_least8_t = X__uint8_t   /* _types.h:73:20 */ | ||||||
|  | type X__int_least16_t = X__int16_t   /* _types.h:74:20 */ | ||||||
|  | type X__uint_least16_t = X__uint16_t /* _types.h:75:21 */ | ||||||
|  | type X__int_least32_t = X__int32_t   /* _types.h:76:20 */ | ||||||
|  | type X__uint_least32_t = X__uint32_t /* _types.h:77:21 */ | ||||||
|  | type X__int_least64_t = X__int64_t   /* _types.h:78:20 */ | ||||||
|  | type X__uint_least64_t = X__uint64_t /* _types.h:79:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.3 Fastest minimum-width integer types | ||||||
|  | type X__int_fast8_t = X__int32_t    /* _types.h:82:20 */ | ||||||
|  | type X__uint_fast8_t = X__uint32_t  /* _types.h:83:21 */ | ||||||
|  | type X__int_fast16_t = X__int32_t   /* _types.h:84:20 */ | ||||||
|  | type X__uint_fast16_t = X__uint32_t /* _types.h:85:21 */ | ||||||
|  | type X__int_fast32_t = X__int32_t   /* _types.h:86:20 */ | ||||||
|  | type X__uint_fast32_t = X__uint32_t /* _types.h:87:21 */ | ||||||
|  | type X__int_fast64_t = X__int64_t   /* _types.h:88:20 */ | ||||||
|  | type X__uint_fast64_t = X__uint64_t /* _types.h:89:21 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.4 Integer types capable of holding object pointers | ||||||
|  | type X__intptr_t = int64   /* _types.h:104:16 */ | ||||||
|  | type X__uintptr_t = uint64 /* _types.h:105:24 */ | ||||||
|  |  | ||||||
|  | // 7.18.1.5 Greatest-width integer types | ||||||
|  | type X__intmax_t = X__int64_t   /* _types.h:108:20 */ | ||||||
|  | type X__uintmax_t = X__uint64_t /* _types.h:109:21 */ | ||||||
|  |  | ||||||
|  | // Register size | ||||||
|  | type X__register_t = int64 /* _types.h:112:16 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type X__vaddr_t = uint64 /* _types.h:115:24 */ | ||||||
|  | type X__paddr_t = uint64 /* _types.h:116:24 */ | ||||||
|  | type X__vsize_t = uint64 /* _types.h:117:24 */ | ||||||
|  | type X__psize_t = uint64 /* _types.h:118:24 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type X__double_t = float64           /* _types.h:121:18 */ | ||||||
|  | type X__float_t = float32            /* _types.h:122:17 */ | ||||||
|  | type X__ptrdiff_t = int64            /* _types.h:123:16 */ | ||||||
|  | type X__size_t = uint64              /* _types.h:124:24 */ | ||||||
|  | type X__ssize_t = int64              /* _types.h:125:16 */ | ||||||
|  | type X__va_list = X__builtin_va_list /* _types.h:127:27 */ | ||||||
|  |  | ||||||
|  | // Wide character support types | ||||||
|  | type X__wchar_t = int32     /* _types.h:137:15 */ | ||||||
|  | type X__wint_t = int32      /* _types.h:140:15 */ | ||||||
|  | type X__rune_t = int32      /* _types.h:141:15 */ | ||||||
|  | type X__wctrans_t = uintptr /* _types.h:142:14 */ | ||||||
|  | type X__wctype_t = uintptr  /* _types.h:143:14 */ | ||||||
|  |  | ||||||
|  | type X__blkcnt_t = X__int64_t    /* _types.h:39:19 */ // blocks allocated for file | ||||||
|  | type X__blksize_t = X__int32_t   /* _types.h:40:19 */ // optimal blocksize for I/O | ||||||
|  | type X__clock_t = X__int64_t     /* _types.h:41:19 */ // ticks in CLOCKS_PER_SEC | ||||||
|  | type X__clockid_t = X__int32_t   /* _types.h:42:19 */ // CLOCK_* identifiers | ||||||
|  | type X__cpuid_t = uint64         /* _types.h:43:23 */ // CPU id | ||||||
|  | type X__dev_t = X__int32_t       /* _types.h:44:19 */ // device number | ||||||
|  | type X__fixpt_t = X__uint32_t    /* _types.h:45:20 */ // fixed point number | ||||||
|  | type X__fsblkcnt_t = X__uint64_t /* _types.h:46:20 */ // file system block count | ||||||
|  | type X__fsfilcnt_t = X__uint64_t /* _types.h:47:20 */ // file system file count | ||||||
|  | type X__gid_t = X__uint32_t      /* _types.h:48:20 */ // group id | ||||||
|  | type X__id_t = X__uint32_t       /* _types.h:49:20 */ // may contain pid, uid or gid | ||||||
|  | type X__in_addr_t = X__uint32_t  /* _types.h:50:20 */ // base type for internet address | ||||||
|  | type X__in_port_t = X__uint16_t  /* _types.h:51:20 */ // IP port type | ||||||
|  | type X__ino_t = X__uint64_t      /* _types.h:52:20 */ // inode number | ||||||
|  | type X__key_t = int64            /* _types.h:53:15 */ // IPC key (for Sys V IPC) | ||||||
|  | type X__mode_t = X__uint32_t     /* _types.h:54:20 */ // permissions | ||||||
|  | type X__nlink_t = X__uint32_t    /* _types.h:55:20 */ // link count | ||||||
|  | type X__off_t = X__int64_t       /* _types.h:56:19 */ // file offset or size | ||||||
|  | type X__pid_t = X__int32_t       /* _types.h:57:19 */ // process id | ||||||
|  | type X__rlim_t = X__uint64_t     /* _types.h:58:20 */ // resource limit | ||||||
|  | type X__sa_family_t = X__uint8_t /* _types.h:59:19 */ // sockaddr address family type | ||||||
|  | type X__segsz_t = X__int32_t     /* _types.h:60:19 */ // segment size | ||||||
|  | type X__socklen_t = X__uint32_t  /* _types.h:61:20 */ // length type for network syscalls | ||||||
|  | type X__suseconds_t = int64      /* _types.h:62:15 */ // microseconds (signed) | ||||||
|  | type X__time_t = X__int64_t      /* _types.h:63:19 */ // epoch time | ||||||
|  | type X__timer_t = X__int32_t     /* _types.h:64:19 */ // POSIX timer identifiers | ||||||
|  | type X__uid_t = X__uint32_t      /* _types.h:65:20 */ // user id | ||||||
|  | type X__useconds_t = X__uint32_t /* _types.h:66:20 */ // microseconds | ||||||
|  |  | ||||||
|  | // mbstate_t is an opaque object to keep conversion state, during multibyte | ||||||
|  | // stream conversions. The content must not be referenced by user programs. | ||||||
|  | type X__mbstate_t = struct { | ||||||
|  | 	F__ccgo_pad1 [0]uint64 | ||||||
|  | 	F__mbstate8  [128]int8 | ||||||
|  | } /* _types.h:75:3 */ | ||||||
|  |  | ||||||
|  | // Tell sys/endian.h we have MD variants of the swap macros. | ||||||
|  |  | ||||||
|  | // Note that these macros evaluate their arguments several times. | ||||||
|  |  | ||||||
|  | // Public names | ||||||
|  |  | ||||||
|  | // These are specified to be function-like macros to match the spec | ||||||
|  |  | ||||||
|  | // POSIX names | ||||||
|  |  | ||||||
|  | // original BSD names | ||||||
|  |  | ||||||
|  | // these were exposed here before | ||||||
|  |  | ||||||
|  | // ancient stuff | ||||||
|  |  | ||||||
|  | type U_char = uint8   /* types.h:51:23 */ | ||||||
|  | type U_short = uint16 /* types.h:52:24 */ | ||||||
|  | type U_int = uint32   /* types.h:53:22 */ | ||||||
|  | type U_long = uint64  /* types.h:54:23 */ | ||||||
|  |  | ||||||
|  | type Unchar = uint8  /* types.h:56:23 */ // Sys V compatibility | ||||||
|  | type Ushort = uint16 /* types.h:57:24 */ // Sys V compatibility | ||||||
|  | type Uint = uint32   /* types.h:58:22 */ // Sys V compatibility | ||||||
|  | type Ulong = uint64  /* types.h:59:23 */ // Sys V compatibility | ||||||
|  |  | ||||||
|  | type Cpuid_t = X__cpuid_t       /* types.h:61:19 */ // CPU id | ||||||
|  | type Register_t = X__register_t /* types.h:62:22 */ // register-sized type | ||||||
|  |  | ||||||
|  | // XXX The exact-width bit types should only be exposed if __BSD_VISIBLE | ||||||
|  | //     but the rest of the includes are not ready for that yet. | ||||||
|  |  | ||||||
|  | type Int8_t = X__int8_t /* types.h:75:19 */ | ||||||
|  |  | ||||||
|  | type Uint8_t = X__uint8_t /* types.h:80:20 */ | ||||||
|  |  | ||||||
|  | type Int16_t = X__int16_t /* types.h:85:20 */ | ||||||
|  |  | ||||||
|  | type Uint16_t = X__uint16_t /* types.h:90:21 */ | ||||||
|  |  | ||||||
|  | type Int32_t = X__int32_t /* types.h:95:20 */ | ||||||
|  |  | ||||||
|  | type Uint32_t = X__uint32_t /* types.h:100:21 */ | ||||||
|  |  | ||||||
|  | type Int64_t = X__int64_t /* types.h:105:20 */ | ||||||
|  |  | ||||||
|  | type Uint64_t = X__uint64_t /* types.h:110:21 */ | ||||||
|  |  | ||||||
|  | // BSD-style unsigned bits types | ||||||
|  | type U_int8_t = X__uint8_t   /* types.h:114:19 */ | ||||||
|  | type U_int16_t = X__uint16_t /* types.h:115:20 */ | ||||||
|  | type U_int32_t = X__uint32_t /* types.h:116:20 */ | ||||||
|  | type U_int64_t = X__uint64_t /* types.h:117:20 */ | ||||||
|  |  | ||||||
|  | // quads, deprecated in favor of 64 bit int types | ||||||
|  | type Quad_t = X__int64_t    /* types.h:120:19 */ | ||||||
|  | type U_quad_t = X__uint64_t /* types.h:121:20 */ | ||||||
|  |  | ||||||
|  | // VM system types | ||||||
|  | type Vaddr_t = X__vaddr_t /* types.h:125:19 */ | ||||||
|  | type Paddr_t = X__paddr_t /* types.h:126:19 */ | ||||||
|  | type Vsize_t = X__vsize_t /* types.h:127:19 */ | ||||||
|  | type Psize_t = X__psize_t /* types.h:128:19 */ | ||||||
|  |  | ||||||
|  | // Standard system types | ||||||
|  | type Blkcnt_t = X__blkcnt_t       /* types.h:132:20 */ // blocks allocated for file | ||||||
|  | type Blksize_t = X__blksize_t     /* types.h:133:21 */ // optimal blocksize for I/O | ||||||
|  | type Caddr_t = uintptr            /* types.h:134:14 */ // core address | ||||||
|  | type Daddr32_t = X__int32_t       /* types.h:135:19 */ // 32-bit disk address | ||||||
|  | type Daddr_t = X__int64_t         /* types.h:136:19 */ // 64-bit disk address | ||||||
|  | type Dev_t = X__dev_t             /* types.h:137:18 */ // device number | ||||||
|  | type Fixpt_t = X__fixpt_t         /* types.h:138:19 */ // fixed point number | ||||||
|  | type Gid_t = X__gid_t             /* types.h:139:18 */ // group id | ||||||
|  | type Id_t = X__id_t               /* types.h:140:17 */ // may contain pid, uid or gid | ||||||
|  | type Ino_t = X__ino_t             /* types.h:141:18 */ // inode number | ||||||
|  | type Key_t = X__key_t             /* types.h:142:18 */ // IPC key (for Sys V IPC) | ||||||
|  | type Mode_t = X__mode_t           /* types.h:143:18 */ // permissions | ||||||
|  | type Nlink_t = X__nlink_t         /* types.h:144:19 */ // link count | ||||||
|  | type Rlim_t = X__rlim_t           /* types.h:145:18 */ // resource limit | ||||||
|  | type Segsz_t = X__segsz_t         /* types.h:146:19 */ // segment size | ||||||
|  | type Uid_t = X__uid_t             /* types.h:147:18 */ // user id | ||||||
|  | type Useconds_t = X__useconds_t   /* types.h:148:22 */ // microseconds | ||||||
|  | type Suseconds_t = X__suseconds_t /* types.h:149:23 */ // microseconds (signed) | ||||||
|  | type Fsblkcnt_t = X__fsblkcnt_t   /* types.h:150:22 */ // file system block count | ||||||
|  | type Fsfilcnt_t = X__fsfilcnt_t   /* types.h:151:22 */ // file system file count | ||||||
|  |  | ||||||
|  | // The following types may be defined in multiple header files. | ||||||
|  | type Clock_t = X__clock_t /* types.h:158:19 */ | ||||||
|  |  | ||||||
|  | type Clockid_t = X__clockid_t /* types.h:163:21 */ | ||||||
|  |  | ||||||
|  | type Pid_t = X__pid_t /* types.h:168:18 */ | ||||||
|  |  | ||||||
|  | type Ssize_t = X__ssize_t /* types.h:178:19 */ | ||||||
|  |  | ||||||
|  | type Time_t = X__time_t /* types.h:183:18 */ | ||||||
|  |  | ||||||
|  | type Timer_t = X__timer_t /* types.h:188:19 */ | ||||||
|  |  | ||||||
|  | type Off_t = X__off_t /* types.h:193:18 */ | ||||||
|  |  | ||||||
|  | // Major, minor numbers, dev_t's. | ||||||
|  |  | ||||||
|  | type Group = struct { | ||||||
|  | 	Fgr_name     uintptr | ||||||
|  | 	Fgr_passwd   uintptr | ||||||
|  | 	Fgr_gid      Gid_t | ||||||
|  | 	F__ccgo_pad1 [4]byte | ||||||
|  | 	Fgr_mem      uintptr | ||||||
|  | } /* grp.h:50:1 */ | ||||||
|  |  | ||||||
|  | var _ int8 /* gen.c:2:13: */ | ||||||
							
								
								
									
										65
									
								
								vendor/modernc.org/libc/ioutil_openbsd.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										65
									
								
								vendor/modernc.org/libc/ioutil_openbsd.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,65 @@ | |||||||
|  | // Copyright 2010 The Go Authors. All rights reserved. | ||||||
|  | // Use of this source code is governed by a BSD-style | ||||||
|  | // license that can be found in the LICENSE-GO file. | ||||||
|  |  | ||||||
|  | // Modifications Copyright 2020 The Libc Authors. All rights reserved. | ||||||
|  | // Use of this source code is governed by a BSD-style | ||||||
|  | // license that can be found in the LICENSE file. | ||||||
|  |  | ||||||
|  | package libc // import "modernc.org/libc" | ||||||
|  |  | ||||||
|  | import ( | ||||||
|  | 	"fmt" | ||||||
|  | 	"os" | ||||||
|  | 	"sync" | ||||||
|  | 	"time" | ||||||
|  | 	"unsafe" | ||||||
|  |  | ||||||
|  | 	"golang.org/x/sys/unix" | ||||||
|  | ) | ||||||
|  |  | ||||||
|  | // Random number state. | ||||||
|  | // We generate random temporary file names so that there's a good | ||||||
|  | // chance the file doesn't exist yet - keeps the number of tries in | ||||||
|  | // TempFile to a minimum. | ||||||
|  | var randState uint32 | ||||||
|  | var randStateMu sync.Mutex | ||||||
|  |  | ||||||
|  | func reseed() uint32 { | ||||||
|  | 	return uint32(time.Now().UnixNano() + int64(os.Getpid())) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func nextRandom(x uintptr) { | ||||||
|  | 	randStateMu.Lock() | ||||||
|  | 	r := randState | ||||||
|  | 	if r == 0 { | ||||||
|  | 		r = reseed() | ||||||
|  | 	} | ||||||
|  | 	r = r*1664525 + 1013904223 // constants from Numerical Recipes | ||||||
|  | 	randState = r | ||||||
|  | 	randStateMu.Unlock() | ||||||
|  | 	copy((*RawMem)(unsafe.Pointer(x))[:6:6], fmt.Sprintf("%06d", int(1e9+r%1e9)%1e6)) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func tempFile(s, x uintptr, _ int32) (fd int, err error) { | ||||||
|  | 	const maxTry = 10000 | ||||||
|  | 	nconflict := 0 | ||||||
|  | 	for i := 0; i < maxTry; i++ { | ||||||
|  | 		nextRandom(x) | ||||||
|  | 		if fd, err = unix.Open(GoString(s), os.O_RDWR|os.O_CREATE|os.O_EXCL, 0600); err == nil { | ||||||
|  | 			return fd, nil | ||||||
|  | 		} | ||||||
|  |  | ||||||
|  | 		if !os.IsExist(err) { | ||||||
|  | 			return -1, err | ||||||
|  | 		} | ||||||
|  |  | ||||||
|  | 		if nconflict++; nconflict > 10 { | ||||||
|  | 			randStateMu.Lock() | ||||||
|  | 			randState = reseed() | ||||||
|  | 			nconflict = 0 | ||||||
|  | 			randStateMu.Unlock() | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 	return -1, err | ||||||
|  | } | ||||||
							
								
								
									
										5
									
								
								vendor/modernc.org/libc/langinfo/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								vendor/modernc.org/libc/langinfo/capi_freebsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Code generated by 'ccgo langinfo/gen.c -crt-import-path  -export-defines  -export-enums  -export-externs X -export-fields F -export-structs  -export-typedefs  -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_freebsd_386.go -pkgname langinfo', DO NOT EDIT. | ||||||
|  |  | ||||||
|  | package langinfo | ||||||
|  |  | ||||||
|  | var CAPI = map[string]struct{}{} | ||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user