go/src/os
Colin Arnott f14119b561 os: export errFinished as ErrProcessDone
(*Process).Signal returns an error sentinel, previously errFinished,
when (*Process).done or syscall.ESRCH. Callers would like the ability to
test for this state, so the value has been exported as ErrProcessDone.

Fixes #39444

Change-Id: I510e7647cc032af290180de5149f35ab7b09a526
Reviewed-on: https://go-review.googlesource.com/c/go/+/242998
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Trust: Tobias Klauser <tobias.klauser@gmail.com>
2020-10-31 08:41:25 +00:00
..
exec all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
signal all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
testdata/issue37161 os: seek should invalidate any cached directory reads 2020-03-01 22:26:33 +00:00
user syscall, internal/syscall/windows: remove utf16PtrToString parameter 2020-05-03 07:23:32 +00:00
dir.go io/fs: add FS, File, ReadDirFile; move DirEntry from os 2020-10-20 02:32:46 +00:00
dir_darwin.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
dir_plan9.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
dir_unix.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
dir_windows.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
dirent_aix.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
dirent_dragonfly.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
dirent_freebsd.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
dirent_js.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
dirent_linux.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
dirent_netbsd.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
dirent_openbsd.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
dirent_solaris.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
endian_big.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
endian_little.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
env.go
env_test.go
env_unix_test.go
error.go io/fs: move FileInfo, FileMode, PathError, ErrInvalid, ... from os to io/fs 2020-10-20 02:32:41 +00:00
error_errno.go os: don't consult Is methods on non-syscall error types 2019-08-02 21:09:50 +00:00
error_plan9.go os: don't consult Is methods on non-syscall error types 2019-08-02 21:09:50 +00:00
error_posix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
error_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
error_unix_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
error_windows_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
example_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
exec.go
exec_plan9.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
exec_posix.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
exec_unix.go os: export errFinished as ErrProcessDone 2020-10-31 08:41:25 +00:00
exec_unix_test.go os: export errFinished as ErrProcessDone 2020-10-31 08:41:25 +00:00
exec_windows.go syscall, internal/syscall/windows: remove utf16PtrToString parameter 2020-05-03 07:23:32 +00:00
executable.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
executable_darwin.go
executable_dragonfly.go os: do not use procfs for os.Executable in dragonfly 2020-10-28 17:08:06 +00:00
executable_freebsd.go os: do not use procfs for os.Executable in dragonfly 2020-10-28 17:08:06 +00:00
executable_path.go
executable_plan9.go
executable_procfs.go os: do not use procfs for os.Executable in dragonfly 2020-10-28 17:08:06 +00:00
executable_solaris.go
executable_sysctl.go os: do not use procfs for os.Executable in dragonfly 2020-10-28 17:08:06 +00:00
executable_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
executable_windows.go
export_linux_test.go os, internal/poll, internal/syscall/unix: use copy_file_range on Linux 2020-04-28 00:59:36 +00:00
export_test.go os: add File.ReadDir method and DirEntry type 2020-10-20 00:59:20 +00:00
export_unix_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
export_windows_test.go
fifo_test.go
file.go os: add DirFS 2020-10-20 17:52:48 +00:00
file_plan9.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
file_posix.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
file_unix.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
file_windows.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
getwd.go os: remove ENOTSUP special case in Getwd on darwin 2020-09-28 06:28:02 +00:00
os_test.go os: add DirFS 2020-10-20 17:52:48 +00:00
os_unix_test.go os, net: define and use os.ErrDeadlineExceeded 2020-04-25 00:26:48 +00:00
os_windows_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
path.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
path_plan9.go
path_test.go all: add GOOS=ios 2020-09-23 18:12:59 +00:00
path_unix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
path_windows.go
path_windows_test.go os: handle backslash and slash both in the path on Windows 2019-11-14 00:58:33 +00:00
pipe2_bsd.go
pipe2_illumos.go os, internal/syscall/unix: use pipe2 instead of pipe on illumos 2020-09-16 08:49:14 +00:00
pipe_bsd.go os, internal/syscall/unix: use pipe2 instead of pipe on illumos 2020-09-16 08:49:14 +00:00
pipe_linux.go
pipe_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
proc.go cmd/go, testing, os: fail test that calls os.Exit(0) 2020-08-27 23:19:15 +00:00
rawconn.go
rawconn_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
readfrom_linux.go os: fix regression with handling of nil *File 2020-07-08 18:29:38 +00:00
readfrom_linux_test.go os: fix regression with handling of nil *File 2020-07-08 18:29:38 +00:00
readfrom_stub.go os, internal/poll, internal/syscall/unix: use copy_file_range on Linux 2020-04-28 00:59:36 +00:00
removeall_at.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
removeall_noat.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
removeall_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
stat.go
stat_aix.go
stat_darwin.go
stat_dragonfly.go
stat_freebsd.go
stat_js.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
stat_linux.go
stat_netbsd.go
stat_openbsd.go
stat_plan9.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
stat_solaris.go
stat_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
stat_unix.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
stat_windows.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
sticky_bsd.go
sticky_notbsd.go
str.go
sys.go
sys_aix.go
sys_bsd.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
sys_js.go
sys_linux.go
sys_plan9.go
sys_solaris.go
sys_unix.go
sys_windows.go
timeout_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
types.go io/fs: move FileInfo, FileMode, PathError, ErrInvalid, ... from os to io/fs 2020-10-20 02:32:41 +00:00
types_plan9.go
types_unix.go
types_windows.go os: use keyed literals for PathError 2020-10-20 00:59:22 +00:00
wait_unimp.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
wait_wait6.go internal/poll, os: loop on EINTR 2020-05-11 22:38:32 +00:00
wait_waitid.go internal/poll, os: loop on EINTR 2020-05-11 22:38:32 +00:00