X7ROOT File Manager
Current Path:
/opt/golang/1.22.0/src/cmd/vendor/golang.org/x/sys/unix
opt
/
golang
/
1.22.0
/
src
/
cmd
/
vendor
/
golang.org
/
x
/
sys
/
unix
/
📁
..
📄
.gitignore
(16 B)
📄
README.md
(8.48 KB)
📄
affinity_linux.go
(1.88 KB)
📄
aliases.go
(396 B)
📄
asm_aix_ppc64.s
(407 B)
📄
asm_bsd_386.s
(696 B)
📄
asm_bsd_amd64.s
(722 B)
📄
asm_bsd_arm.s
(686 B)
📄
asm_bsd_arm64.s
(709 B)
📄
asm_bsd_ppc64.s
(716 B)
📄
asm_bsd_riscv64.s
(711 B)
📄
asm_linux_386.s
(1.44 KB)
📄
asm_linux_amd64.s
(1.18 KB)
📄
asm_linux_arm.s
(1.11 KB)
📄
asm_linux_arm64.s
(1.08 KB)
📄
asm_linux_loong64.s
(1.16 KB)
📄
asm_linux_mips64x.s
(1.14 KB)
📄
asm_linux_mipsx.s
(1.14 KB)
📄
asm_linux_ppc64x.s
(909 B)
📄
asm_linux_riscv64.s
(1.02 KB)
📄
asm_linux_s390x.s
(1.12 KB)
📄
asm_openbsd_mips64.s
(677 B)
📄
asm_solaris_amd64.s
(423 B)
📄
asm_zos_s390x.s
(8.4 KB)
📄
bluetooth_linux.go
(680 B)
📄
cap_freebsd.go
(5.01 KB)
📄
constants.go
(318 B)
📄
dev_aix_ppc.go
(739 B)
📄
dev_aix_ppc64.go
(858 B)
📄
dev_darwin.go
(747 B)
📄
dev_dragonfly.go
(1.01 KB)
📄
dev_freebsd.go
(1013 B)
📄
dev_linux.go
(1.54 KB)
📄
dev_netbsd.go
(913 B)
📄
dev_openbsd.go
(918 B)
📄
dev_zos.go
(830 B)
📄
dirent.go
(3.01 KB)
📄
endian_big.go
(330 B)
📄
endian_little.go
(358 B)
📄
env_unix.go
(645 B)
📄
epoll_zos.go
(5.02 KB)
📄
fcntl.go
(1.05 KB)
📄
fcntl_darwin.go
(806 B)
📄
fcntl_linux_32bit.go
(436 B)
📄
fdset.go
(781 B)
📄
fstatfs_zos.go
(4.07 KB)
📄
gccgo.go
(1.91 KB)
📄
gccgo_c.c
(1.49 KB)
📄
gccgo_linux_amd64.go
(436 B)
📄
ifreq_linux.go
(4.27 KB)
📄
ioctl_linux.go
(8.07 KB)
📄
ioctl_signed.go
(2.2 KB)
📄
ioctl_unsigned.go
(2.26 KB)
📄
ioctl_zos.go
(2.03 KB)
📄
mkall.sh
(8.11 KB)
📄
mkerrors.sh
(19.56 KB)
📄
mmap_nomremap.go
(336 B)
📄
mremap.go
(1.36 KB)
📄
pagesize_unix.go
(389 B)
📄
pledge_openbsd.go
(2.33 KB)
📄
ptrace_darwin.go
(315 B)
📄
ptrace_ios.go
(284 B)
📄
race.go
(629 B)
📄
race0.go
(553 B)
📄
readdirent_getdents.go
(401 B)
📄
readdirent_getdirentries.go
(698 B)
📄
sockcmsg_dragonfly.go
(544 B)
📄
sockcmsg_linux.go
(2.6 KB)
📄
sockcmsg_unix.go
(3.14 KB)
📄
sockcmsg_unix_other.go
(1.2 KB)
📄
syscall.go
(2.81 KB)
📄
syscall_aix.go
(16.1 KB)
📄
syscall_aix_ppc.go
(1.27 KB)
📄
syscall_aix_ppc64.go
(1.9 KB)
📄
syscall_bsd.go
(14.96 KB)
📄
syscall_darwin.go
(20.72 KB)
📄
syscall_darwin_amd64.go
(1.49 KB)
📄
syscall_darwin_arm64.go
(1.41 KB)
📄
syscall_darwin_libSystem.go
(1.21 KB)
📄
syscall_dragonfly.go
(11.18 KB)
📄
syscall_dragonfly_amd64.go
(1.25 KB)
📄
syscall_freebsd.go
(15.34 KB)
📄
syscall_freebsd_386.go
(1.48 KB)
📄
syscall_freebsd_amd64.go
(1.44 KB)
📄
syscall_freebsd_arm.go
(1.35 KB)
📄
syscall_freebsd_arm64.go
(1.31 KB)
📄
syscall_freebsd_riscv64.go
(1.32 KB)
📄
syscall_hurd.go
(635 B)
📄
syscall_hurd_386.go
(447 B)
📄
syscall_illumos.go
(1.76 KB)
📄
syscall_linux.go
(74.41 KB)
📄
syscall_linux_386.go
(8.88 KB)
📄
syscall_linux_alarm.go
(440 B)
📄
syscall_linux_amd64.go
(5.28 KB)
📄
syscall_linux_amd64_gc.go
(290 B)
📄
syscall_linux_arm.go
(6.94 KB)
📄
syscall_linux_arm64.go
(5.97 KB)
📄
syscall_linux_gc.go
(495 B)
📄
syscall_linux_gc_386.go
(585 B)
📄
syscall_linux_gc_arm.go
(411 B)
📄
syscall_linux_gccgo_386.go
(986 B)
📄
syscall_linux_gccgo_arm.go
(596 B)
📄
syscall_linux_loong64.go
(6.66 KB)
📄
syscall_linux_mips64x.go
(5.83 KB)
📄
syscall_linux_mipsx.go
(5.81 KB)
📄
syscall_linux_ppc.go
(6.85 KB)
📄
syscall_linux_ppc64x.go
(4.98 KB)
📄
syscall_linux_riscv64.go
(6.13 KB)
📄
syscall_linux_s390x.go
(9.29 KB)
📄
syscall_linux_sparc64.go
(4.37 KB)
📄
syscall_netbsd.go
(12.35 KB)
📄
syscall_netbsd_386.go
(819 B)
📄
syscall_netbsd_amd64.go
(814 B)
📄
syscall_netbsd_arm.go
(819 B)
📄
syscall_netbsd_arm64.go
(814 B)
📄
syscall_openbsd.go
(11.04 KB)
📄
syscall_openbsd_386.go
(1000 B)
📄
syscall_openbsd_amd64.go
(990 B)
📄
syscall_openbsd_arm.go
(1000 B)
📄
syscall_openbsd_arm64.go
(990 B)
📄
syscall_openbsd_libc.go
(1.1 KB)
📄
syscall_openbsd_mips64.go
(955 B)
📄
syscall_openbsd_ppc64.go
(990 B)
📄
syscall_openbsd_riscv64.go
(994 B)
📄
syscall_solaris.go
(31.11 KB)
📄
syscall_solaris_amd64.go
(593 B)
📄
syscall_unix.go
(16.45 KB)
📄
syscall_unix_gc.go
(640 B)
📄
syscall_unix_gc_ppc64x.go
(786 B)
📄
syscall_zos_s390x.go
(52.88 KB)
📄
sysvshm_linux.go
(521 B)
📄
sysvshm_unix.go
(1.42 KB)
📄
sysvshm_unix_other.go
(398 B)
📄
timestruct.go
(2.2 KB)
📄
unveil_openbsd.go
(1.19 KB)
📄
xattr_bsd.go
(5.66 KB)
📄
zerrors_aix_ppc.go
(52.42 KB)
📄
zerrors_aix_ppc64.go
(52.67 KB)
📄
zerrors_darwin_amd64.go
(87.45 KB)
📄
zerrors_darwin_arm64.go
(87.45 KB)
📄
zerrors_dragonfly_amd64.go
(70.7 KB)
📄
zerrors_freebsd_386.go
(79.55 KB)
📄
zerrors_freebsd_amd64.go
(79.44 KB)
📄
zerrors_freebsd_arm.go
(79.19 KB)
📄
zerrors_freebsd_arm64.go
(79.22 KB)
📄
zerrors_freebsd_riscv64.go
(83.75 KB)
📄
zerrors_linux.go
(180.01 KB)
📄
zerrors_linux_386.go
(33.98 KB)
📄
zerrors_linux_amd64.go
(34 KB)
📄
zerrors_linux_arm.go
(34.22 KB)
📄
zerrors_linux_arm64.go
(34.05 KB)
📄
zerrors_linux_loong64.go
(33.73 KB)
📄
zerrors_linux_mips.go
(34.54 KB)
📄
zerrors_linux_mips64.go
(34.54 KB)
📄
zerrors_linux_mips64le.go
(34.55 KB)
📄
zerrors_linux_mipsle.go
(34.54 KB)
📄
zerrors_linux_ppc.go
(36.62 KB)
📄
zerrors_linux_ppc64.go
(36.79 KB)
📄
zerrors_linux_ppc64le.go
(36.8 KB)
📄
zerrors_linux_riscv64.go
(33.59 KB)
📄
zerrors_linux_s390x.go
(36.53 KB)
📄
zerrors_linux_sparc64.go
(38.61 KB)
📄
zerrors_netbsd_386.go
(72.76 KB)
📄
zerrors_netbsd_amd64.go
(72.35 KB)
📄
zerrors_netbsd_arm.go
(71.89 KB)
📄
zerrors_netbsd_arm64.go
(72.35 KB)
📄
zerrors_openbsd_386.go
(78.55 KB)
📄
zerrors_openbsd_amd64.go
(78.55 KB)
📄
zerrors_openbsd_arm.go
(78.54 KB)
📄
zerrors_openbsd_arm64.go
(78.55 KB)
📄
zerrors_openbsd_mips64.go
(78.55 KB)
📄
zerrors_openbsd_ppc64.go
(78.51 KB)
📄
zerrors_openbsd_riscv64.go
(78.47 KB)
📄
zerrors_solaris_amd64.go
(59 KB)
📄
zerrors_zos_s390x.go
(34.47 KB)
📄
zptrace_armnn_linux.go
(1.17 KB)
📄
zptrace_linux_arm64.go
(721 B)
📄
zptrace_mipsnn_linux.go
(1.36 KB)
📄
zptrace_mipsnnle_linux.go
(1.41 KB)
📄
zptrace_x86_linux.go
(1.81 KB)
📄
zsyscall_aix_ppc.go
(35.68 KB)
📄
zsyscall_aix_ppc64.go
(30.04 KB)
📄
zsyscall_aix_ppc64_gc.go
(42.43 KB)
📄
zsyscall_aix_ppc64_gccgo.go
(30.85 KB)
📄
zsyscall_darwin_amd64.go
(66.74 KB)
📄
zsyscall_darwin_amd64.s
(29.28 KB)
📄
zsyscall_darwin_arm64.go
(66.69 KB)
📄
zsyscall_darwin_arm64.s
(29.21 KB)
📄
zsyscall_dragonfly_amd64.go
(38.79 KB)
📄
zsyscall_freebsd_386.go
(45.09 KB)
📄
zsyscall_freebsd_amd64.go
(44.9 KB)
📄
zsyscall_freebsd_arm.go
(45.13 KB)
📄
zsyscall_freebsd_arm64.go
(44.9 KB)
📄
zsyscall_freebsd_riscv64.go
(44.91 KB)
📄
zsyscall_illumos_amd64.go
(2.63 KB)
📄
zsyscall_linux.go
(54.29 KB)
📄
zsyscall_linux_386.go
(12.11 KB)
📄
zsyscall_linux_amd64.go
(16.5 KB)
📄
zsyscall_linux_arm.go
(15.61 KB)
📄
zsyscall_linux_arm64.go
(14.22 KB)
📄
zsyscall_linux_loong64.go
(12.61 KB)
📄
zsyscall_linux_mips.go
(16.76 KB)
📄
zsyscall_linux_mips64.go
(16.27 KB)
📄
zsyscall_linux_mips64le.go
(16.01 KB)
📄
zsyscall_linux_mipsle.go
(16.76 KB)
📄
zsyscall_linux_ppc.go
(16.83 KB)
📄
zsyscall_linux_ppc64.go
(17.79 KB)
📄
zsyscall_linux_ppc64le.go
(17.79 KB)
📄
zsyscall_linux_riscv64.go
(14.2 KB)
📄
zsyscall_linux_s390x.go
(12.11 KB)
📄
zsyscall_linux_sparc64.go
(16.43 KB)
📄
zsyscall_netbsd_386.go
(44.13 KB)
📄
zsyscall_netbsd_amd64.go
(43.94 KB)
📄
zsyscall_netbsd_arm.go
(44.13 KB)
📄
zsyscall_netbsd_arm64.go
(43.94 KB)
📄
zsyscall_openbsd_386.go
(57.67 KB)
📄
zsyscall_openbsd_386.s
(26.7 KB)
📄
zsyscall_openbsd_amd64.go
(57.52 KB)
📄
zsyscall_openbsd_amd64.s
(26.7 KB)
📄
zsyscall_openbsd_arm.go
(57.69 KB)
📄
zsyscall_openbsd_arm.s
(26.7 KB)
📄
zsyscall_openbsd_arm64.go
(57.52 KB)
📄
zsyscall_openbsd_arm64.s
(26.7 KB)
📄
zsyscall_openbsd_mips64.go
(57.52 KB)
📄
zsyscall_openbsd_mips64.s
(26.7 KB)
📄
zsyscall_openbsd_ppc64.go
(57.52 KB)
📄
zsyscall_openbsd_ppc64.s
(27.51 KB)
📄
zsyscall_openbsd_riscv64.go
(57.53 KB)
📄
zsyscall_openbsd_riscv64.s
(26.7 KB)
📄
zsyscall_solaris_amd64.go
(59.74 KB)
📄
zsyscall_zos_s390x.go
(29.82 KB)
📄
zsysctl_openbsd_386.go
(11.93 KB)
📄
zsysctl_openbsd_amd64.go
(11.93 KB)
📄
zsysctl_openbsd_arm.go
(11.93 KB)
📄
zsysctl_openbsd_arm64.go
(11.93 KB)
📄
zsysctl_openbsd_mips64.go
(11.93 KB)
📄
zsysctl_openbsd_ppc64.go
(11.93 KB)
📄
zsysctl_openbsd_riscv64.go
(11.97 KB)
📄
zsysnum_darwin_amd64.go
(17.84 KB)
📄
zsysnum_darwin_arm64.go
(17.76 KB)
📄
zsysnum_dragonfly_amd64.go
(27.61 KB)
📄
zsysnum_freebsd_386.go
(36.09 KB)
📄
zsysnum_freebsd_amd64.go
(36.1 KB)
📄
zsysnum_freebsd_arm.go
(36.09 KB)
📄
zsysnum_freebsd_arm64.go
(36.1 KB)
📄
zsysnum_freebsd_riscv64.go
(36.1 KB)
📄
zsysnum_linux_386.go
(17.38 KB)
📄
zsysnum_linux_amd64.go
(12.59 KB)
📄
zsysnum_linux_arm.go
(15.99 KB)
📄
zsysnum_linux_arm64.go
(10.69 KB)
📄
zsysnum_linux_loong64.go
(10.48 KB)
📄
zsysnum_linux_mips.go
(17.27 KB)
📄
zsysnum_linux_mips64.go
(12.74 KB)
📄
zsysnum_linux_mips64le.go
(12.74 KB)
📄
zsysnum_linux_mipsle.go
(17.28 KB)
📄
zsysnum_linux_ppc.go
(17.02 KB)
📄
zsysnum_linux_ppc64.go
(13.95 KB)
📄
zsysnum_linux_ppc64le.go
(13.96 KB)
📄
zsysnum_linux_riscv64.go
(10.71 KB)
📄
zsysnum_linux_s390x.go
(12.84 KB)
📄
zsysnum_linux_sparc64.go
(13.26 KB)
📄
zsysnum_netbsd_386.go
(25.72 KB)
📄
zsysnum_netbsd_amd64.go
(25.73 KB)
📄
zsysnum_netbsd_arm.go
(25.72 KB)
📄
zsysnum_netbsd_arm64.go
(25.71 KB)
📄
zsysnum_openbsd_386.go
(17.91 KB)
📄
zsysnum_openbsd_amd64.go
(17.91 KB)
📄
zsysnum_openbsd_arm.go
(17.91 KB)
📄
zsysnum_openbsd_arm64.go
(17.82 KB)
📄
zsysnum_openbsd_mips64.go
(18.05 KB)
📄
zsysnum_openbsd_ppc64.go
(17.76 KB)
📄
zsysnum_openbsd_riscv64.go
(17.83 KB)
📄
zsysnum_zos_s390x.go
(116.99 KB)
📄
ztypes_aix_ppc.go
(4.91 KB)
📄
ztypes_aix_ppc64.go
(4.98 KB)
📄
ztypes_darwin_amd64.go
(12.4 KB)
📄
ztypes_darwin_arm64.go
(12.4 KB)
📄
ztypes_dragonfly_amd64.go
(6.91 KB)
📄
ztypes_freebsd_386.go
(9.63 KB)
📄
ztypes_freebsd_amd64.go
(9.68 KB)
📄
ztypes_freebsd_arm.go
(9.5 KB)
📄
ztypes_freebsd_arm64.go
(9.39 KB)
📄
ztypes_freebsd_riscv64.go
(9.46 KB)
📄
ztypes_linux.go
(246.65 KB)
📄
ztypes_linux_386.go
(12.37 KB)
📄
ztypes_linux_amd64.go
(12.56 KB)
📄
ztypes_linux_arm.go
(12.33 KB)
📄
ztypes_linux_arm64.go
(12.21 KB)
📄
ztypes_linux_loong64.go
(12.23 KB)
📄
ztypes_linux_mips.go
(12.39 KB)
📄
ztypes_linux_mips64.go
(12.26 KB)
📄
ztypes_linux_mips64le.go
(12.27 KB)
📄
ztypes_linux_mipsle.go
(12.4 KB)
📄
ztypes_linux_ppc.go
(12.57 KB)
📄
ztypes_linux_ppc64.go
(12.4 KB)
📄
ztypes_linux_ppc64le.go
(12.41 KB)
📄
ztypes_linux_riscv64.go
(13.44 KB)
📄
ztypes_linux_s390x.go
(12.7 KB)
📄
ztypes_linux_sparc64.go
(12.26 KB)
📄
ztypes_netbsd_386.go
(9.46 KB)
📄
ztypes_netbsd_amd64.go
(9.65 KB)
📄
ztypes_netbsd_arm.go
(9.59 KB)
📄
ztypes_netbsd_arm64.go
(9.65 KB)
📄
ztypes_openbsd_386.go
(9.24 KB)
📄
ztypes_openbsd_amd64.go
(9.25 KB)
📄
ztypes_openbsd_arm.go
(9.38 KB)
📄
ztypes_openbsd_arm64.go
(9.26 KB)
📄
ztypes_openbsd_mips64.go
(9.26 KB)
📄
ztypes_openbsd_ppc64.go
(9.28 KB)
📄
ztypes_openbsd_riscv64.go
(9.29 KB)
📄
ztypes_solaris_amd64.go
(7.53 KB)
📄
ztypes_zos_s390x.go
(6.66 KB)
Editing: zsyscall_linux_arm64.go
// go run mksyscall.go -tags linux,arm64 syscall_linux.go syscall_linux_arm64.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && arm64 package unix import ( "syscall" "unsafe" ) var _ syscall.Errno // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) { _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fallocate(fd int, mode uint32, off int64, len int64) (err error) { _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0) n = int64(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { var _p0 unsafe.Pointer if len(events) > 0 { _p0 = unsafe.Pointer(&events[0]) } else { _p0 = unsafe.Pointer(&_zero) } r0, _, e1 := Syscall6(SYS_EPOLL_PWAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 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 Fadvise(fd int, offset int64, length int64, advice int) (err error) { _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 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 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, buf *Statfs_t) (err error) { _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 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 Getegid() (egid int) { r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0) egid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Geteuid() (euid int) { r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0) euid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getgid() (gid int) { r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0) gid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getrlimit(resource int, rlim *Rlimit) (err error) { _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 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, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0) uid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Listen(s int, n int) (err error) { _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func MemfdSecret(flags int) (fd int, err error) { r0, _, e1 := Syscall(SYS_MEMFD_SECRET, uintptr(flags), 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 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_PREAD64, 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_PWRITE64, 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 Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(oldpath) if err != nil { return } var _p1 *byte _p1, err = BytePtrFromString(newpath) if err != nil { return } _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 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) (off int64, err error) { r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence)) off = int64(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0) written = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setfsgid(gid int) (prev int, err error) { r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0) prev = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setfsuid(uid int) (prev int, err error) { r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0) prev = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Shutdown(fd int, how int) (err error) { _, _, e1 := Syscall(SYS_SHUTDOWN, 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 Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) { r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags)) n = int64(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Statfs(path string, buf *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(buf)), 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func SyncFileRange(fd int, off int64, n int64, flags int) (err error) { _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), 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 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 accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) { r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 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 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 getgroups(n int, list *_Gid_t) (nn int, err error) { r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0) nn = int(r0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setgroups(n int, list *_Gid_t) (err error) { _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0) 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 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 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 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 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 mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) { r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset)) xaddr = uintptr(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 kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(cmdline) if err != nil { return } _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) if e1 != 0 { err = errnoErr(e1) } return }
Upload File
Create Folder