go/src/internal/poll
Cherry Zhang a413908dd0 all: add GOOS=ios
Introduce GOOS=ios for iOS systems. GOOS=ios matches "darwin"
build tag, like GOOS=android matches "linux" and GOOS=illumos
matches "solaris". Only ios/arm64 is supported (ios/amd64 is
not).

GOOS=ios and GOOS=darwin remain essentially the same at this
point. They will diverge at later time, to differentiate macOS
and iOS.

Uses of GOOS=="darwin" are changed to (GOOS=="darwin" || GOOS=="ios"),
except if it clearly means macOS (e.g. GOOS=="darwin" && GOARCH=="amd64"),
it remains GOOS=="darwin".

Updates #38485.

Change-Id: I4faacdc1008f42434599efb3c3ad90763a83b67c
Reviewed-on: https://go-review.googlesource.com/c/go/+/254740
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
2020-09-23 18:12:59 +00:00
..
copy_file_range_linux.go internal/poll: treat copy_file_range EPERM as not-handled 2020-08-19 22:26:47 +00:00
errno_unix.go
errno_windows.go
error_linux_test.go
error_stub_test.go
error_test.go
export_posix_test.go
export_test.go
export_windows_test.go
fcntl_js.go
fcntl_libc.go
fcntl_syscall.go
fd.go os, net: define and use os.ErrDeadlineExceeded 2020-04-25 00:26:48 +00:00
fd_fsync_darwin.go
fd_fsync_posix.go os, internal/poll: loop on EINTR for all file syscalls 2020-08-19 21:49:56 +00:00
fd_fsync_windows.go
fd_io_plan9.go
fd_mutex.go
fd_mutex_test.go all: fix incorrect channel and API usage in some unit tests 2020-02-27 19:04:17 +00:00
fd_opendir_darwin.go os, internal/poll: loop on EINTR for all file syscalls 2020-08-19 21:49:56 +00:00
fd_plan9.go internal/poll: add mutex to prevent SetDeadline race in Plan 9 2020-06-02 12:10:28 +00:00
fd_poll_js.go os, net: define and use os.ErrDeadlineExceeded 2020-04-25 00:26:48 +00:00
fd_poll_runtime.go os, net: define and use os.ErrDeadlineExceeded 2020-04-25 00:26:48 +00:00
fd_posix.go os: implement File.Chmod on Windows 2020-09-11 22:10:02 +00:00
fd_posix_test.go
fd_unix.go os: implement File.Chmod on Windows 2020-09-11 22:10:02 +00:00
fd_windows.go os: implement File.Chmod on Windows 2020-09-11 22:10:02 +00:00
fd_windows_test.go
fd_writev_darwin.go
fd_writev_illumos.go internal/poll, internal/syscall/unix, net: enable writev on illumos 2020-09-15 05:08:53 +00:00
fd_writev_unix.go internal/poll, os: loop on EINTR 2020-05-11 22:38:32 +00:00
hook_cloexec.go
hook_unix.go
hook_windows.go
iovec_illumos.go internal/poll, internal/syscall/unix, net: enable writev on illumos 2020-09-15 05:08:53 +00:00
iovec_unix.go internal/poll, internal/syscall/unix, net: enable writev on illumos 2020-09-15 05:08:53 +00:00
read_test.go all: add GOOS=ios 2020-09-23 18:12:59 +00:00
sendfile_bsd.go internal/poll, os: loop on EINTR 2020-05-11 22:38:32 +00:00
sendfile_linux.go internal/poll, os: loop on EINTR 2020-05-11 22:38:32 +00:00
sendfile_solaris.go
sendfile_windows.go internal/poll: assume we have CancelIoEX on Windows 2020-03-24 20:19:40 +00:00
sock_cloexec.go
sockopt.go
sockopt_linux.go
sockopt_unix.go
sockopt_windows.go
sockoptip.go
splice_linux.go internal/poll, os: loop on EINTR 2020-05-11 22:38:32 +00:00
strconv.go
sys_cloexec.go
writev.go internal/poll, internal/syscall/unix, net: enable writev on illumos 2020-09-15 05:08:53 +00:00
writev_test.go