OXIESEC PANEL
- Current Dir:
/
/
opt
/
golang
/
1.22.0
/
src
/
syscall
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
asan.go
410 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
asan0.go
342 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm9_unix2_amd64.s
1.19 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_aix_ppc64.s
540 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_darwin_amd64.s
2.93 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_darwin_arm64.s
2.83 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_freebsd_arm.s
2.96 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_freebsd_arm64.s
2.79 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_freebsd_riscv64.s
2.76 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_linux_386.s
3.08 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_linux_amd64.s
1.33 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_linux_arm.s
1.77 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_linux_arm64.s
916 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_linux_loong64.s
947 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_linux_mips64x.s
985 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_linux_mipsx.s
1.75 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_linux_ppc64x.s
913 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_linux_riscv64.s
861 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_linux_s390x.s
2.15 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_netbsd_arm.s
2.85 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_netbsd_arm64.s
2.88 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_openbsd_386.s
1.04 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_openbsd_amd64.s
1.04 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_openbsd_arm.s
1.04 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_openbsd_arm64.s
1.04 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_openbsd_mips64.s
2.85 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_openbsd_ppc64.s
1.04 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_openbsd_riscv64.s
1.04 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_plan9_386.s
3.14 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_plan9_amd64.s
3.36 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_plan9_arm.s
3.25 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_solaris_amd64.s
1.8 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_unix_386.s
2.74 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asm_unix_amd64.s
2.15 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
bpf_bsd.go
4.03 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
const_plan9.go
1.36 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
creds_test.go
3.37 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
dir_plan9.go
5.62 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
dirent.go
3.09 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
dirent_test.go
3.43 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
dll_windows.go
7.63 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
endian_big.go
249 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
endian_little.go
309 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
env_unix.go
2.73 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
env_windows.go
1.96 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
errors_plan9.go
1.61 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_aix_test.go
823 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_bsd.go
7.95 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_freebsd.go
8.43 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_freebsd_test.go
2.41 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_libc.go
8.17 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_libc2.go
8.19 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_linux.go
22.81 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_linux_test.go
20.37 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_pdeathsig_test.go
4.49 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_plan9.go
13.25 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_solaris_test.go
815 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_unix.go
8.63 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_unix_test.go
8.28 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_windows.go
10.3 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exec_windows_test.go
3.11 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
export_darwin_test.go
348 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
export_linux_test.go
296 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
export_rlimit_test.go
262 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
export_unix_test.go
391 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
export_wasip1_test.go
267 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
export_windows_test.go
500 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
flock_aix.go
564 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
flock_bsd.go
469 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
flock_linux.go
641 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
flock_linux_32bit.go
511 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
forkpipe.go
604 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
forkpipe2.go
2.6 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
fs_js.go
10.84 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
fs_wasip1.go
24.07 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
fs_wasip1_test.go
1.98 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
getdirentries_test.go
2.07 KB
02/02/2024 06:09:55 PM
rw-r--r--
📁
js
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
lsf_linux.go
2.12 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
mkall.sh
14.62 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
mkasm.go
1.88 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
mkerrors.sh
10.71 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
mkpost.go
2.28 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
mksyscall.pl
10.19 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
mksyscall_libc.pl
8.02 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
mksyscall_windows.go
1.99 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
mksysctl_openbsd.pl
5.04 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
mksysnum_dragonfly.pl
866 bytes
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
mksysnum_freebsd.pl
1.35 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
mksysnum_linux.pl
1.26 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
mksysnum_netbsd.pl
1.01 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
mksysnum_openbsd.pl
872 bytes
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
mksysnum_plan9.sh
459 bytes
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
mmap_unix_test.go
500 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
msan.go
410 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
msan0.go
342 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
net.go
1.19 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
net_fake.go
883 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
net_js.go
1.38 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
net_wasip1.go
1.82 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
netlink_linux.go
4.77 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
os_wasip1.go
252 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
pwd_plan9.go
2.27 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
rlimit.go
1.59 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
rlimit_darwin.go
593 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
rlimit_stub.go
338 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
rlimit_test.go
953 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
route_bsd.go
9.1 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
route_darwin.go
2.01 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
route_dragonfly.go
2.61 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
route_freebsd.go
2.67 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
route_freebsd_32bit.go
1.14 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
route_freebsd_64bit.go
762 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
route_netbsd.go
1.43 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
route_openbsd.go
1.46 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
security_windows.go
10.01 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
setuidgid_32_linux.go
435 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
setuidgid_linux.go
421 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
sockcmsg_dragonfly.go
547 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
sockcmsg_linux.go
1.12 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
sockcmsg_unix.go
2.51 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
sockcmsg_unix_other.go
1.08 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall.go
3.78 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_aix.go
17.9 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_aix_ppc64.go
405 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_bsd.go
13.63 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_bsd_test.go
1.17 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_darwin.go
10.74 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_darwin_amd64.go
1.91 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_darwin_arm64.go
1.82 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_dragonfly.go
8.55 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_dragonfly_amd64.go
1.12 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_freebsd.go
8.72 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_freebsd_386.go
1.17 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_freebsd_amd64.go
1.12 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_freebsd_arm.go
1.16 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_freebsd_arm64.go
1.12 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_freebsd_riscv64.go
1.12 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_freebsd_test.go
424 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_illumos.go
613 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_js.go
6.71 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux.go
35.62 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_386.go
10.34 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_accept.go
961 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_accept4.go
592 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_amd64.go
4.78 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_arm.go
7.05 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_arm64.go
6.21 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_loong64.go
7.08 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_mips64x.go
5.98 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_mipsx.go
6.85 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_ppc64x.go
4.63 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_riscv64.go
5.75 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_s390x.go
7.9 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_linux_test.go
21.1 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_netbsd.go
7.78 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_netbsd_386.go
716 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_netbsd_amd64.go
709 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_netbsd_arm.go
716 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_netbsd_arm64.go
709 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_openbsd.go
6.97 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_openbsd1.go
534 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_openbsd_386.go
715 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_openbsd_amd64.go
701 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_openbsd_arm.go
715 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_openbsd_arm64.go
906 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_openbsd_libc.go
3.28 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_openbsd_mips64.go
970 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_openbsd_ppc64.go
906 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_openbsd_riscv64.go
906 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_plan9.go
9.37 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_plan9_test.go
1.15 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_ptrace_test.go
768 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_solaris.go
15.66 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_solaris_amd64.go
487 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_solarisonly.go
304 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_test.go
1.44 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_unix.go
12.11 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_unix_test.go
9.43 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_wasip1.go
9.37 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_windows.go
52.6 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
syscall_windows_test.go
5.73 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
tables_js.go
19.17 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
tables_wasip1.go
6.49 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
time_fake.go
677 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
time_nofake.go
351 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
timestruct.go
954 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_aix.go
3.35 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_darwin.go
5.03 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_dragonfly.go
5.05 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_freebsd.go
6.72 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_illumos_amd64.go
379 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_linux.go
10.9 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_netbsd.go
4.77 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_openbsd.go
5.04 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_solaris.go
4.88 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_windows.go
27.75 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_windows_386.go
477 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_windows_amd64.go
477 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_windows_arm.go
477 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
types_windows_arm64.go
477 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
wtf8_windows.go
2.67 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
wtf8_windows_test.go
4.31 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_aix_ppc64.go
47.16 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_darwin_amd64.go
55.28 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_darwin_arm64.go
55.79 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_dragonfly_amd64.go
59.62 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_freebsd_386.go
67.35 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_freebsd_amd64.go
67.4 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_freebsd_arm.go
67.34 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_freebsd_arm64.go
67.41 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_freebsd_riscv64.go
67.41 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_386.go
57.36 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_amd64.go
57.39 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_arm.go
57.88 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_arm64.go
68.57 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_loong64.go
82.47 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_mips.go
69.18 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_mips64.go
68.5 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_mips64le.go
68.5 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_mipsle.go
69.18 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_ppc64.go
70.89 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_ppc64le.go
71.84 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_riscv64.go
70.8 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_linux_s390x.go
73.28 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_netbsd_386.go
67.48 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_netbsd_amd64.go
67.07 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_netbsd_arm.go
66.49 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_netbsd_arm64.go
67.07 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_openbsd_386.go
62.52 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_openbsd_amd64.go
62.48 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_openbsd_arm.go
62.47 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_openbsd_arm64.go
66.36 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_openbsd_mips64.go
66.66 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_openbsd_ppc64.go
67.14 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_openbsd_riscv64.go
67.1 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_solaris_amd64.go
50.72 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zerrors_windows.go
9.97 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_aix_ppc64.go
41.4 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_darwin_amd64.go
51.72 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_darwin_amd64.s
8.7 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_darwin_arm64.go
51.67 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_darwin_arm64.s
8.67 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_dragonfly_amd64.go
31.67 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_freebsd_386.go
31.21 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_freebsd_amd64.go
31.07 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_freebsd_arm.go
31.23 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_freebsd_arm64.go
31.07 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_freebsd_riscv64.go
31.07 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_386.go
34.68 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_amd64.go
39.5 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_arm.go
38.92 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_arm64.go
37.81 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_loong64.go
37.08 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_mips.go
40.34 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_mips64.go
40.34 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_mips64le.go
40.35 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_mipsle.go
40.34 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_ppc64.go
40.98 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_ppc64le.go
40.99 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_riscv64.go
37.84 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_linux_s390x.go
35.3 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_netbsd_386.go
30.11 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_netbsd_amd64.go
29.97 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_netbsd_arm.go
30.12 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_netbsd_arm64.go
29.97 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_386.go
48.07 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_386.s
8.09 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_amd64.go
47.92 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_amd64.s
8.09 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_arm.go
48.09 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_arm.s
8.09 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_arm64.go
47.92 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_arm64.s
8.09 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_mips64.go
30.05 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_ppc64.go
47.92 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_ppc64.s
8.78 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_riscv64.go
47.93 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_openbsd_riscv64.s
8.09 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_plan9_386.go
6.17 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_plan9_amd64.go
6.18 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_plan9_arm.go
6.17 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_solaris_amd64.go
37.56 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsyscall_windows.go
56.73 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysctl_openbsd.go
11.39 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_darwin_amd64.go
14.55 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_darwin_arm64.go
14.39 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_dragonfly_amd64.go
22.94 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_freebsd_386.go
25.46 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_freebsd_amd64.go
25.46 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_freebsd_arm.go
25.46 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_freebsd_arm64.go
35.79 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_freebsd_riscv64.go
35.79 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_386.go
11.27 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_amd64.go
10.11 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_arm.go
11.55 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_arm64.go
8.95 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_loong64.go
10.28 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_mips.go
12.1 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_mips64.go
10.93 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_mips64le.go
10.93 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_mipsle.go
12.1 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_ppc64.go
11.47 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_ppc64le.go
11.49 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_riscv64.go
8.88 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_linux_s390x.go
10.64 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_netbsd_386.go
25.69 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_netbsd_amd64.go
25.69 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_netbsd_arm.go
25.69 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_netbsd_arm64.go
25.69 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_openbsd_386.go
14.16 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_openbsd_amd64.go
14.16 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_openbsd_arm.go
14.46 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_openbsd_arm64.go
14.72 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_openbsd_mips64.go
14.93 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_openbsd_ppc64.go
15.83 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_openbsd_riscv64.go
15.67 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_plan9.go
1.03 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
zsysnum_solaris_amd64.go
293 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_aix_ppc64.go
4.17 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_darwin_amd64.go
6.95 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_darwin_arm64.go
6.95 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_dragonfly_amd64.go
6.7 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_freebsd_386.go
8 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_freebsd_amd64.go
8.03 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_freebsd_arm.go
8.03 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_freebsd_arm64.go
8.03 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_freebsd_riscv64.go
8.03 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_386.go
11.58 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_amd64.go
11.95 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_arm.go
11.47 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_arm64.go
10.16 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_loong64.go
10.77 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_mips.go
9.96 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_mips64.go
10.08 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_mips64le.go
10.08 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_mipsle.go
9.96 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_ppc64.go
10.25 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_ppc64le.go
10.38 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_riscv64.go
10.23 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_linux_s390x.go
10.44 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_netbsd_386.go
5.99 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_netbsd_amd64.go
6.17 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_netbsd_arm.go
6.13 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_netbsd_arm64.go
6.17 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_openbsd_386.go
6.73 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_openbsd_amd64.go
6.89 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_openbsd_arm.go
6.84 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_openbsd_arm64.go
6.66 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_openbsd_mips64.go
6.66 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_openbsd_ppc64.go
6.69 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_openbsd_riscv64.go
6.69 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ztypes_solaris_amd64.go
5.57 KB
02/02/2024 06:09:55 PM
rw-r--r--
Editing: zsyscall_freebsd_amd64.go
Close
// mksyscall.pl -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go // Code generated by the command above; DO NOT EDIT. //go:build freebsd && amd64 package syscall import "unsafe" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getgroups(ngid int, gid *_Gid_t) (n int, err error) { r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setgroups(ngid int, gid *_Gid_t) (err error) { _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) wpid = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) fd = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen)) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen)) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func socket(domain int, typ int, proto int) (fd int, err error) { r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto)) fd = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) { _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) { _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Shutdown(s int, how int) (err error) { _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) { _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { _p0 = unsafe.Pointer(&p[0]) } else { _p0 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) { var _p0 unsafe.Pointer if len(buf) > 0 { _p0 = unsafe.Pointer(&buf[0]) } else { _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) { r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout))) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func utimes(path string, timeval *[2]Timeval) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func futimes(fd int, timeval *[2]Timeval) (err error) { _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func fcntl(fd int, cmd int, arg int) (val int, err error) { r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg)) val = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func fcntlPtr(fd int, cmd int, arg unsafe.Pointer) (val int, err error) { r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg)) val = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func ioctl(fd int, req int, arg int) (err error) { _, _, e1 := RawSyscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg)) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) { _, _, e1 := RawSyscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg)) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func pipe2(p *[2]_C_int, flags int) (err error) { _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Access(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Adjtime(delta *Timeval, olddelta *Timeval) (err error) { _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Chdir(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Chflags(path string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Chmod(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Chown(path string, uid int, gid int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Chroot(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Close(fd int) (err error) { _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Dup(fd int) (nfd int, err error) { r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0) nfd = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Dup2(from int, to int) (err error) { _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fchdir(fd int) (err error) { _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fchflags(fd int, flags int) (err error) { _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fchmod(fd int, mode uint32) (err error) { _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fchown(fd int, uid int, gid int) (err error) { _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid)) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Flock(fd int, how int) (err error) { _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fpathconf(fd int, name int) (val int, err error) { r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0) val = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fstat(fd int, stat *Stat_t) (err error) { _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fstatfs(fd int, stat *Statfs_t) (err error) { _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fsync(fd int) (err error) { _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Ftruncate(fd int, length int64) (err error) { _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) { var _p0 unsafe.Pointer if len(buf) > 0 { _p0 = unsafe.Pointer(&buf[0]) } else { _p0 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getdtablesize() (size int) { r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0) size = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getegid() (egid int) { r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0) egid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Geteuid() (uid int) { r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0) uid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getgid() (gid int) { r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0) gid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpgid(pid int) (pgid int, err error) { r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0) pgid = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpgrp() (pgrp int) { r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0) pgrp = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpid() (pid int) { r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0) pid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getppid() (ppid int) { r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0) ppid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpriority(which int, who int) (prio int, err error) { r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0) prio = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getrlimit(which int, lim *Rlimit) (err error) { _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getrusage(who int, rusage *Rusage) (err error) { _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getsid(pid int) (sid int, err error) { r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0) sid = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Gettimeofday(tv *Timeval) (err error) { _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getuid() (uid int) { r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) uid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Issetugid() (tainted bool) { r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0) tainted = bool(r0 != 0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Kill(pid int, signum Signal) (err error) { _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Kqueue() (fd int, err error) { r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0) fd = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Lchown(path string, uid int, gid int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Link(path string, link string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } var _p1 *byte _p1, err = BytePtrFromString(link) if err != nil { return } _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Listen(s int, backlog int) (err error) { _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Mkdir(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Mkfifo(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func mknodat(fd int, path string, mode uint32, dev uint64) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Open(path string, mode int, perm uint32) (fd int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) fd = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Pathconf(path string, name int) (val int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) val = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func pread(fd int, p []byte, offset int64) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { _p0 = unsafe.Pointer(&p[0]) } else { _p0 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func pwrite(fd int, p []byte, offset int64) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { _p0 = unsafe.Pointer(&p[0]) } else { _p0 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func read(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { _p0 = unsafe.Pointer(&p[0]) } else { _p0 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p))) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Readlink(path string, buf []byte) (n int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } var _p1 unsafe.Pointer if len(buf) > 0 { _p1 = unsafe.Pointer(&buf[0]) } else { _p1 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Rename(from string, to string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(from) if err != nil { return } var _p1 *byte _p1, err = BytePtrFromString(to) if err != nil { return } _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Revoke(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Rmdir(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence)) newoffset = int64(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) { _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setegid(egid int) (err error) { _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Seteuid(euid int) (err error) { _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setgid(gid int) (err error) { _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setlogin(name string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(name) if err != nil { return } _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setpgid(pid int, pgid int) (err error) { _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setpriority(which int, who int, prio int) (err error) { _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio)) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setregid(rgid int, egid int) (err error) { _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setreuid(ruid int, euid int) (err error) { _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setrlimit(which int, lim *Rlimit) (err error) { _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setsid() (pid int, err error) { r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0) pid = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Settimeofday(tp *Timeval) (err error) { _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setuid(uid int) (err error) { _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Statfs(path string, stat *Statfs_t) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Symlink(path string, link string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } var _p1 *byte _p1, err = BytePtrFromString(link) if err != nil { return } _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Sync() (err error) { _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Truncate(path string, length int64) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Umask(newmask int) (oldmask int) { r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0) oldmask = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Undelete(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Unlink(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Unmount(path string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func write(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { _p0 = unsafe.Pointer(&p[0]) } else { _p0 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p))) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) { r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos)) ret = uintptr(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func munmap(addr uintptr, length uintptr) (err error) { _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func readlen(fd int, buf *byte, nbuf int) (n int, err error) { r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) { r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0) nfd = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flag), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getcwd(buf []byte) (n int, err error) { var _p0 unsafe.Pointer if len(buf) > 0 { _p0 = unsafe.Pointer(&buf[0]) } else { _p0 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0) n = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) { var _p0 unsafe.Pointer if len(mib) > 0 { _p0 = unsafe.Pointer(&mib[0]) } else { _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) if e1 != 0 { err = errnoErr(e1) } return }