1
0
mirror of https://github.com/golang/go synced 2024-11-17 22:44:41 -07:00
go/src/syscall
Torben Schinke a4f7b0879c syscall/js: improve documentation of js.FuncOf
The existing documentation is improved to be more
explicit about the lifecycle and its consequences.

Fixes #34324

Change-Id: I9969afc69f6eeb7812c11fe821a842794df5aa5b
GitHub-Last-Rev: 246a499166
GitHub-Pull-Request: golang/go#34551
Reviewed-on: https://go-review.googlesource.com/c/go/+/197458
Reviewed-by: Richard Musiol <neelance@gmail.com>
2020-03-01 21:04:30 +00:00
..
js syscall/js: improve documentation of js.FuncOf 2020-03-01 21:04:30 +00:00
asm9_unix1_amd64.s
asm9_unix2_amd64.s
asm_aix_ppc64.s
asm_darwin_386.s
asm_darwin_amd64.s syscall: avoid zeroing unused syscall arguments 2019-09-16 14:18:15 +00:00
asm_darwin_arm64.s
asm_darwin_arm.s
asm_freebsd_arm64.s syscall: add support for freebsd/arm64 2019-10-05 10:39:30 +00:00
asm_freebsd_arm.s
asm_linux_386.s
asm_linux_amd64.s syscall: avoid zeroing unused syscall arguments 2019-09-16 14:18:15 +00:00
asm_linux_arm64.s syscall: implement rawVforkSyscall for linux/arm64 2019-09-11 07:19:55 +00:00
asm_linux_arm.s
asm_linux_mips64x.s
asm_linux_mipsx.s
asm_linux_ppc64x.s
asm_linux_riscv64.s syscall: fix riscv64 syscall assembly 2020-01-06 09:24:06 +00:00
asm_linux_s390x.s
asm_netbsd_arm64.s
asm_netbsd_arm.s
asm_openbsd_arm64.s
asm_openbsd_arm.s
asm_plan9_386.s
asm_plan9_amd64.s
asm_plan9_arm.s
asm_solaris_amd64.s
asm_unix_386.s
asm_unix_amd64.s syscall: avoid zeroing unused syscall arguments 2019-09-16 14:18:15 +00:00
asm_windows.s
bpf_bsd.go
bpf_darwin.go
const_plan9.go
creds_test.go
dir_plan9.go
dirent_test.go syscall: enable ReadDirent tests on aix, linux and solaris 2019-08-29 06:41:00 +00:00
dirent.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
dll_windows.go syscall: refer to Proc.Call documentation for LazyProc.Call on Windows 2019-06-07 17:22:53 +00:00
endian_big.go
endian_little.go syscall: add support for linux/riscv64 2019-11-01 16:05:22 +00:00
env_plan9.go syscall: fix Clearenv on Plan 9 2019-10-23 20:13:18 +00:00
env_unix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
env_windows.go
errors_plan9.go
exec_aix_test.go
exec_bsd.go Revert "syscall: use Ctty before fd shuffle" 2019-06-27 16:53:02 +00:00
exec_darwin.go Revert "syscall: use Ctty before fd shuffle" 2019-06-27 16:53:02 +00:00
exec_libc.go Revert "syscall: use Ctty before fd shuffle" 2019-06-27 16:53:02 +00:00
exec_linux_test.go syscall: remove use of IN_KUBERNETES in test, add a TODO to improve further 2019-10-17 17:11:19 +00:00
exec_linux.go syscall: use dup3 in forkAndExecInChild1 if available 2020-02-24 08:31:48 +00:00
exec_plan9.go
exec_solaris_test.go
exec_unix_test.go
exec_unix.go
exec_windows.go
export_freebsd_test.go
export_linux_test.go
export_test.go
export_unix_test.go
flock_aix.go
flock_darwin.go
flock_linux_32bit.go internal/syscall/unix: use fcntl64 on 32-bit GNU/Linux systems 2019-12-23 23:29:48 +00:00
flock.go
forkpipe2.go
forkpipe.go
fs_js.go syscall: fix Fchdir on js/wasm 2020-03-01 21:02:40 +00:00
getdirentries_test.go syscall: correct comment in testGetdirentries 2019-10-24 13:58:59 +00:00
lsf_linux.go syscall: use SOCK_CLOEXEC when creating sockets 2019-12-11 00:01:17 +00:00
mkall.sh syscall: add support for linux/riscv64 2019-11-01 16:05:22 +00:00
mkasm_darwin.go
mkerrors.sh
mkpost.go
mksyscall_libc.pl
mksyscall_windows.go syscall: replace mksyscall_windows.go with wrapper to new x/sys home 2019-10-04 20:26:09 +00:00
mksyscall.pl all: remove the nacl port (part 2, amd64p32 + toolchain) 2019-10-09 22:34:34 +00:00
mksysctl_openbsd.pl
mksysnum_darwin.pl
mksysnum_dragonfly.pl
mksysnum_freebsd.pl
mksysnum_linux.pl
mksysnum_netbsd.pl
mksysnum_openbsd.pl
mksysnum_plan9.sh
mmap_unix_test.go
msan0.go
msan.go
net_js.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
net.go
netlink_linux.go syscall: use SOCK_CLOEXEC when creating sockets 2019-12-11 00:01:17 +00:00
pwd_plan9.go
route_bsd.go
route_darwin.go
route_dragonfly.go
route_freebsd_32bit.go
route_freebsd_64bit.go syscall: add support for freebsd/arm64 2019-10-05 10:39:30 +00:00
route_freebsd.go
route_netbsd.go
route_openbsd.go
security_windows.go all: fix most of the remaining windows -d=checkptr violations 2019-12-06 05:10:34 +00:00
setuidgid_32_linux.go
setuidgid_linux.go
sock_cloexec_linux.go syscall: use SOCK_CLOEXEC when creating sockets 2019-12-11 00:01:17 +00:00
sockcmsg_dragonfly.go syscall: don't use 32-bit aligned access for cmsgAlignOf on dragonfly after ABI change 2019-10-20 19:33:07 +00:00
sockcmsg_linux.go syscall: avoid "just past the end" pointers in UnixRights 2019-10-17 18:42:47 +00:00
sockcmsg_unix_other.go syscall: don't use 32-bit aligned access for cmsgAlignOf on dragonfly after ABI change 2019-10-20 19:33:07 +00:00
sockcmsg_unix.go syscall: don't use 32-bit aligned access for cmsgAlignOf on dragonfly after ABI change 2019-10-20 19:33:07 +00:00
str.go
syscall_aix_ppc64.go
syscall_aix.go internal/poll: use correct fcntl implementations 2019-12-31 12:11:24 +00:00
syscall_bsd_test.go
syscall_bsd.go syscall: fix wrong unsafe.Pointer alignment in syscall 2019-10-18 19:06:39 +00:00
syscall_darwin_386.go syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
syscall_darwin_amd64.go syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
syscall_darwin_arm64.go syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
syscall_darwin_arm.go syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
syscall_darwin.go syscall: remove un-used const ptrSize 2019-10-24 12:09:29 +00:00
syscall_dragonfly_amd64.go
syscall_dragonfly.go syscall: don't use 32-bit aligned access for cmsgAlignOf on dragonfly after ABI change 2019-10-20 19:33:07 +00:00
syscall_freebsd_386.go
syscall_freebsd_amd64.go
syscall_freebsd_arm64.go syscall: add support for freebsd/arm64 2019-10-05 10:39:30 +00:00
syscall_freebsd_arm.go
syscall_freebsd_test.go
syscall_freebsd.go syscall: make convertFromDirents11 checkptr safe 2019-10-24 08:47:14 +00:00
syscall_getwd_bsd.go
syscall_js.go syscall: on wasm, do not panic if "process" global is not defined 2019-10-08 02:42:57 +00:00
syscall_linux_386.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
syscall_linux_amd64.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
syscall_linux_arm64.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
syscall_linux_arm.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
syscall_linux_mips64x.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
syscall_linux_mipsx.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
syscall_linux_ppc64x.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
syscall_linux_riscv64.go syscall: provide Renameat as a wrapper around renameat2 on riscv64 2020-01-06 09:24:14 +00:00
syscall_linux_s390x.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
syscall_linux_test.go syscall: skip TestSyscallNoError on mips{,le} 2019-11-09 19:25:46 +00:00
syscall_linux.go syscall: fix wrong unsafe.Pointer alignment in syscall 2019-10-18 19:06:39 +00:00
syscall_netbsd_386.go
syscall_netbsd_amd64.go
syscall_netbsd_arm64.go
syscall_netbsd_arm.go
syscall_netbsd.go
syscall_openbsd_386.go
syscall_openbsd_amd64.go
syscall_openbsd_arm64.go
syscall_openbsd_arm.go
syscall_openbsd.go
syscall_plan9_test.go
syscall_plan9.go syscall: redirect writes to runtime.write in faketime mode 2019-09-04 17:56:17 +00:00
syscall_ptrace_test.go syscall: accept permission errors in TestExecPtrace 2019-06-16 20:04:54 +00:00
syscall_solaris_amd64.go
syscall_solaris.go syscall: fix wrong unsafe.Pointer alignment in syscall 2019-10-18 19:06:39 +00:00
syscall_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
syscall_unix_test.go syscall: treat ENFILE as a temporary error 2019-10-30 14:06:04 +00:00
syscall_unix.go syscall: treat ENFILE as a temporary error 2019-10-30 14:06:04 +00:00
syscall_windows_386.go
syscall_windows_amd64.go
syscall_windows_test.go
syscall_windows.go all: fix most of the remaining windows -d=checkptr violations 2019-12-06 05:10:34 +00:00
syscall.go syscall, internal/syscall/windows, internal/syscall/windows/registry: make go generate use new golang.org/x/sys/windows/mkwinsyscall 2019-10-05 08:29:48 +00:00
tables_js.go all: remove the nacl port (part 2, amd64p32 + toolchain) 2019-10-09 22:34:34 +00:00
time_fake.go syscall: redirect writes to runtime.write in faketime mode 2019-09-04 17:56:17 +00:00
time_nofake.go syscall: redirect writes to runtime.write in faketime mode 2019-09-04 17:56:17 +00:00
timestruct.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
types_aix.go
types_darwin.go
types_dragonfly.go
types_freebsd.go
types_linux.go syscall: resync various riscv64 structs with x/sys/unix 2020-01-06 11:46:56 +00:00
types_netbsd.go
types_openbsd.go
types_solaris.go
types_windows_386.go
types_windows_amd64.go
types_windows_arm.go
types_windows.go runtime: treat CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT, CTRL_SHUTDOWN_EVENT as SIGTERM on Windows 2019-08-29 08:15:20 +00:00
zerrors_aix_ppc64.go
zerrors_darwin_386.go
zerrors_darwin_amd64.go
zerrors_darwin_arm64.go
zerrors_darwin_arm.go
zerrors_dragonfly_amd64.go
zerrors_freebsd_386.go
zerrors_freebsd_amd64.go
zerrors_freebsd_arm64.go syscall: add support for freebsd/arm64 2019-10-05 10:39:30 +00:00
zerrors_freebsd_arm.go
zerrors_linux_386.go
zerrors_linux_amd64.go
zerrors_linux_arm64.go
zerrors_linux_arm.go
zerrors_linux_mips64.go
zerrors_linux_mips64le.go
zerrors_linux_mips.go
zerrors_linux_mipsle.go
zerrors_linux_ppc64.go
zerrors_linux_ppc64le.go
zerrors_linux_riscv64.go syscall: follow convention for generated code comments in linux/riscv64 files 2019-11-23 11:00:41 +00:00
zerrors_linux_s390x.go
zerrors_netbsd_386.go
zerrors_netbsd_amd64.go
zerrors_netbsd_arm64.go
zerrors_netbsd_arm.go
zerrors_openbsd_386.go
zerrors_openbsd_amd64.go
zerrors_openbsd_arm64.go
zerrors_openbsd_arm.go
zerrors_solaris_amd64.go
zerrors_windows_386.go
zerrors_windows_amd64.go
zerrors_windows.go
zsyscall_aix_ppc64.go
zsyscall_darwin_386.go syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
zsyscall_darwin_386.s syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
zsyscall_darwin_amd64.go syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
zsyscall_darwin_amd64.s syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
zsyscall_darwin_arm64.go syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
zsyscall_darwin_arm64.s syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
zsyscall_darwin_arm.go syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
zsyscall_darwin_arm.s syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
zsyscall_dragonfly_amd64.go
zsyscall_freebsd_386.go syscall: fix Getdirentries on 32-bit freebsd 12 2019-06-10 16:18:32 +00:00
zsyscall_freebsd_amd64.go syscall: fix Getdirentries on 32-bit freebsd 12 2019-06-10 16:18:32 +00:00
zsyscall_freebsd_arm64.go syscall: add support for freebsd/arm64 2019-10-05 10:39:30 +00:00
zsyscall_freebsd_arm.go syscall: fix Getdirentries on 32-bit freebsd 12 2019-06-10 16:18:32 +00:00
zsyscall_linux_386.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
zsyscall_linux_amd64.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
zsyscall_linux_arm64.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
zsyscall_linux_arm.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
zsyscall_linux_mips64.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
zsyscall_linux_mips64le.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
zsyscall_linux_mips.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
zsyscall_linux_mipsle.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
zsyscall_linux_ppc64.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
zsyscall_linux_ppc64le.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
zsyscall_linux_riscv64.go syscall: provide Renameat as a wrapper around renameat2 on riscv64 2020-01-06 09:24:14 +00:00
zsyscall_linux_s390x.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
zsyscall_netbsd_386.go
zsyscall_netbsd_amd64.go
zsyscall_netbsd_arm64.go
zsyscall_netbsd_arm.go
zsyscall_openbsd_386.go
zsyscall_openbsd_amd64.go
zsyscall_openbsd_arm64.go
zsyscall_openbsd_arm.go
zsyscall_plan9_386.go
zsyscall_plan9_amd64.go
zsyscall_plan9_arm.go
zsyscall_solaris_amd64.go
zsyscall_windows.go
zsysctl_openbsd.go
zsysnum_darwin_386.go
zsysnum_darwin_amd64.go
zsysnum_darwin_arm64.go
zsysnum_darwin_arm.go
zsysnum_dragonfly_amd64.go
zsysnum_freebsd_386.go
zsysnum_freebsd_amd64.go
zsysnum_freebsd_arm64.go syscall: add support for freebsd/arm64 2019-10-05 10:39:30 +00:00
zsysnum_freebsd_arm.go
zsysnum_linux_386.go
zsysnum_linux_amd64.go
zsysnum_linux_arm64.go
zsysnum_linux_arm.go
zsysnum_linux_mips64.go
zsysnum_linux_mips64le.go
zsysnum_linux_mips.go
zsysnum_linux_mipsle.go
zsysnum_linux_ppc64.go
zsysnum_linux_ppc64le.go
zsysnum_linux_riscv64.go syscall: follow convention for generated code comments in linux/riscv64 files 2019-11-23 11:00:41 +00:00
zsysnum_linux_s390x.go
zsysnum_netbsd_386.go
zsysnum_netbsd_amd64.go
zsysnum_netbsd_arm64.go
zsysnum_netbsd_arm.go
zsysnum_openbsd_386.go
zsysnum_openbsd_amd64.go
zsysnum_openbsd_arm64.go
zsysnum_openbsd_arm.go
zsysnum_plan9.go
zsysnum_solaris_amd64.go
zsysnum_windows_386.go
zsysnum_windows_amd64.go
ztypes_aix_ppc64.go
ztypes_darwin_386.go
ztypes_darwin_amd64.go
ztypes_darwin_arm64.go
ztypes_darwin_arm.go
ztypes_dragonfly_amd64.go
ztypes_freebsd_386.go
ztypes_freebsd_amd64.go
ztypes_freebsd_arm64.go syscall: add support for freebsd/arm64 2019-10-05 10:39:30 +00:00
ztypes_freebsd_arm.go
ztypes_linux_386.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
ztypes_linux_amd64.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
ztypes_linux_arm64.go syscall: fix epoll_event padding on linux/arm64 2019-11-12 19:15:15 +00:00
ztypes_linux_arm.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
ztypes_linux_mips64.go syscall: fix EpollEvent padding on mips64{,le} 2019-11-15 15:12:42 +00:00
ztypes_linux_mips64le.go syscall: fix EpollEvent padding on mips64{,le} 2019-11-15 15:12:42 +00:00
ztypes_linux_mips.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
ztypes_linux_mipsle.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
ztypes_linux_ppc64.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
ztypes_linux_ppc64le.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
ztypes_linux_riscv64.go syscall: resync various riscv64 structs with x/sys/unix 2020-01-06 11:46:56 +00:00
ztypes_linux_s390x.go syscall: don't use deprecated syscalls on linux/arm64 2019-10-08 10:45:48 +00:00
ztypes_netbsd_386.go
ztypes_netbsd_amd64.go
ztypes_netbsd_arm64.go
ztypes_netbsd_arm.go
ztypes_openbsd_386.go
ztypes_openbsd_amd64.go
ztypes_openbsd_arm64.go
ztypes_openbsd_arm.go
ztypes_solaris_amd64.go