Fix build flake on low-power processors

This commit is contained in:
Justine Tunney 2022-05-04 19:52:54 -07:00
parent a85406da4c
commit 854c90f547
2 changed files with 148 additions and 163 deletions

View file

@ -1440,8 +1440,8 @@ TEST(pabsb, fuzz) {
RngSet(x, sizeof(x)); RngSet(x, sizeof(x));
pabsb(a, x); pabsb(a, x);
(pabsb)(b, x); (pabsb)(b, x);
ASSERT_EQ(0, memcmp(a, b, 16), "%d\n\t%`#.16s\n\t%`#.16s\n\t%`#.16s", i, x, ASSERT_EQ(0, memcmp(a, b, 16), "%d\n\t%#.16s\n\t%#.16s\n\t%#.16s", i, x, a,
a, b); b);
} }
} }
@ -1954,16 +1954,16 @@ TEST(psrldq, fuzz) {
memset(a, -1, sizeof(a)); memset(a, -1, sizeof(a));
memset(b, -1, sizeof(b)); memset(b, -1, sizeof(b));
RngSet(x, sizeof(x)); RngSet(x, sizeof(x));
n = Rando() % 20; n = Rando() % 16;
psrldq(a, x, n); psrldq(a, x, n);
(psrldq)(b, x, n); (psrldq)(b, x, n);
ASSERT_EQ(0, memcmp(a, b, 16), "%d\n\t%`#.16s\n\t%`#.16s\n\t%`#.16s", n, x, ASSERT_EQ(0, memcmp(a, b, 16), "%d\n\t%#.16s\n\t%#.16s\n\t%#.16s", n, x, a,
a, b); b);
n = Rando() % 20; n = Rando() % 16;
psrldq(a, a, n); psrldq(a, a, n);
(psrldq)(b, b, n); (psrldq)(b, b, n);
ASSERT_EQ(0, memcmp(a, b, 16), "%d\n\t%`#.16s\n\t%`#.16s\n\t%`#.16s", n, x, ASSERT_EQ(0, memcmp(a, b, 16), "%d\n\t%#.16s\n\t%#.16s\n\t%#.16s", n, x, a,
a, b); b);
} }
} }
@ -1974,16 +1974,16 @@ TEST(pslldq, fuzz) {
memset(a, -1, sizeof(a)); memset(a, -1, sizeof(a));
memset(b, -1, sizeof(b)); memset(b, -1, sizeof(b));
RngSet(x, sizeof(x)); RngSet(x, sizeof(x));
n = Rando() % 20; n = Rando() % 16;
pslldq(a, x, n); pslldq(a, x, n);
(pslldq)(b, x, n); (pslldq)(b, x, n);
ASSERT_EQ(0, memcmp(a, b, 16), "%d\n\t%`#.16s\n\t%`#.16s\n\t%`#.16s", n, x, ASSERT_EQ(0, memcmp(a, b, 16), "%d\n\t%#.16s\n\t%#.16s\n\t%#.16s", n, x, a,
a, b); b);
n = Rando() % 20; n = Rando() % 16;
pslldq(a, a, n); pslldq(a, a, n);
(pslldq)(b, b, n); (pslldq)(b, b, n);
ASSERT_EQ(0, memcmp(a, b, 16), "%d\n\t%`#.16s\n\t%`#.16s\n\t%`#.16s", n, x, ASSERT_EQ(0, memcmp(a, b, 16), "%d\n\t%#.16s\n\t%#.16s\n\t%#.16s", n, x, a,
a, b); b);
} }
} }

View file

@ -2035,7 +2035,7 @@ UNIX MODULE
├─→ pgid:int ├─→ pgid:int
└─→ nil, unix.Errno └─→ nil, unix.Errno
Gets process group id the modern wayp. Gets process group id the modern way.
unix.setsid() unix.setsid()
├─→ sid:int ├─→ sid:int
@ -3533,15 +3533,15 @@ UNIX MODULE
unix.ENOSYS unix.ENOSYS
System call not available on this platform. On Windows this is System call not available on this platform. On Windows this is
Raised by chroot(), setuid(), setgid(), getsid(), setsid(). Raised by chroot, setuid, setgid, getsid, setsid.
unix.ENOENT unix.ENOENT
No such file or directory. No such file or directory.
Raised by access(), bind(), chdir(), chmod(), chown(), chroot(), Raised by access, bind, chdir, chmod, chown, chroot, clock_getres,
clock_getres(), execve(), opendir(), inotify_add_watch(), link(), execve, opendir, inotify_add_watch, link, mkdir, mknod, open,
mkdir(), mknod(), open(), readlink(), rename(), rmdir(), stat(), readlink, rename, rmdir, stat, swapon, symlink, truncate, unlink,
swapon(), symlink(), truncate(), unlink(), utime(), utimensat(). utime, utimensat.
unix.ENOTDIR unix.ENOTDIR
Not a directory. This means that a directory component in a supplied Not a directory. This means that a directory component in a supplied
@ -3549,79 +3549,74 @@ UNIX MODULE
`open("foo/bar")` and `foo` is a regular file, then `ENOTDIR` will `open("foo/bar")` and `foo` is a regular file, then `ENOTDIR` will
be returned. be returned.
Raised by open(), access(), chdir(), chroot(), execve(), link(), Raised by open, access, chdir, chroot, execve, link, mkdir, mknod,
mkdir(), mknod(), opendir(), readlink(), rename(), rmdir(), stat(), opendir, readlink, rename, rmdir, stat, symlink, truncate, unlink,
symlink(), truncate(), unlink(), utimensat(), bind(), chmod(), utimensat, bind, chmod, chown, fcntl, futimesat, inotify_add_watch.
chown(), fcntl(), futimesat(), inotify_add_watch().
unix.EINTR unix.EINTR
The greatest of all errnos; crucial for building real time reliable The greatest of all errnos; crucial for building real time reliable
software. software.
Raised by accept(), clock_nanosleep(), close(), connect(), dup(), Raised by accept, clock_nanosleep, close, connect, dup, fcntl,
fcntl(), flock(), getrandom(), nanosleep(), open(), pause(), poll(), flock, getrandom, nanosleep, open, pause, poll, ptrace, read, recv,
ptrace(), read(), recv(), select(), send(), sigsuspend(), select, send, sigsuspend, sigwaitinfo, truncate, wait, write.
sigwaitinfo(), truncate(), wait(), write().
unix.EIO unix.EIO
Raised by access(), acct(), chdir(), chmod(), chown(), chroot(), Raised by access, acct, chdir, chmod, chown, chroot, close,
close(), copy_file_range(), execve(), fallocate(), fsync(), copy_file_range, execve, fallocate, fsync, ioperm, link, madvise,
ioperm(), link(), madvise(), mbind(), pciconfig_read(), ptrace(), mbind, pciconfig_read, ptrace, read, readlink, sendfile, statfs,
read(), readlink(), sendfile(), statfs(), symlink(), symlink, sync_file_range, truncate, unlink, write.
sync_file_range(), truncate(), unlink(), write().
unix.ENXIO unix.ENXIO
No such device or address. No such device or address.
Raised by lseek(), open(), prctl() Raised by lseek, open, prctl
unix.E2BIG unix.E2BIG
Argument list too long. Argument list too long.
Raised by execve(), sched_setattr(). Raised by execve, sched_setattr.
unix.ENOEXEC unix.ENOEXEC
Exec format error. Exec format error.
Raised by execve(), uselib(). Raised by execve, uselib.
unix.ECHILD unix.ECHILD
No child process. No child process.
Raised by wait(), waitpid(), waitid(), wait3(), wait4(). Raised by wait, waitpid, waitid, wait3, wait4.
unix.ESRCH unix.ESRCH
No such process. No such process.
Raised by getpriority(), getrlimit(), getsid(), ioprio_set(), Raised by getpriority, getrlimit, getsid, ioprio_set, kill, setpgid,
kill(), setpgid(), tkill(), utimensat(), tkill, utimensat.
unix.EBADF unix.EBADF
Bad file descriptor; cf. EBADFD. Bad file descriptor; cf. EBADFD.
Raised by accept(), access(), bind(), chdir(), chmod(), chown(), Raised by accept, access, bind, chdir, chmod, chown, close, connect,
close(), connect(), copy_file_range(), dup(), fcntl(), flock(), copy_file_range, dup, fcntl, flock, fsync, futimesat, opendir,
fsync(), futimesat(), opendir(), getpeername(), getsockname(), getpeername, getsockname, getsockopt, inotify_add_watch,
getsockopt(), inotify_add_watch(), inotify_rm_watch(), ioctl(), inotify_rm_watch, ioctl, link, listen, llseek, lseek, mkdir, mknod,
link(), listen(), llseek(), lseek(), mkdir(), mknod(), mmap(), mmap, open, prctl, read, readahead, readlink, recv, rename, select,
open(), prctl(), read(), readahead(), readlink(), recv(), rename(), send, shutdown, splice, stat, symlink, sync, sync_file_range,
select(), send(), shutdown(), splice(), stat(), symlink(), sync(), timerfd_create, truncate, unlink, utimensat, write.
sync_file_range(), timerfd_create(), truncate(), unlink(),
utimensat(), write(),
unix.EAGAIN unix.EAGAIN
Resource temporarily unavailable (e.g. SO_RCVTIMEO expired, too many Resource temporarily unavailable (e.g. SO_RCVTIMEO expired, too many
processes, too much memory locked, read or write with O_NONBLOCK processes, too much memory locked, read or write with O_NONBLOCK
needs polling, etc.). needs polling, etc.).
Raised by accept(), connect(), fcntl(), fork(), getrandom(), Raised by accept, connect, fcntl, fork, getrandom, mincore, mlock,
mincore(), mlock(), mmap(), mremap(), poll(), read(), select(), mmap, mremap, poll, read, select, send, setresuid, setreuid, setuid,
send(), setresuid(), setreuid(), setuid(), sigwaitinfo(), splice(), sigwaitinfo, splice, tee, timer_create, timerfd_create, tkill,
tee(), timer_create(), timerfd_create(), tkill(), write(), write,
unix.EPIPE unix.EPIPE
Broken pipe. Returned by write(), send(). This happens when you try Broken pipe. Returned by write, send. This happens when you try
to write data to a subprocess via a pipe() but the reader end has to write data to a subprocess via a pipe but the reader end has
already closed, possibly because the process died. Normally i/o already closed, possibly because the process died. Normally i/o
routines only return this if `SIGPIPE` doesn't kill the process. routines only return this if `SIGPIPE` doesn't kill the process.
Unlike default UNIX programs, redbean currently ignores `SIGPIPE` by Unlike default UNIX programs, redbean currently ignores `SIGPIPE` by
@ -3631,226 +3626,216 @@ UNIX MODULE
unix.ENAMETOOLONG unix.ENAMETOOLONG
Filename too long. Cosmopolitan Libc currently defines `PATH_MAX` as Filename too long. Cosmopolitan Libc currently defines `PATH_MAX` as
1024 characters. On UNIX that limit should only apply to system call 1024 characters. On UNIX that limit should only apply to system call
wrappers like realpath(). On Windows NT it's observed by all system wrappers like realpath. On Windows NT it's observed by all system
calls that accept a pathname. calls that accept a pathname.
Raised by access(), bind(), chdir(), chmod(), chown(), chroot(), Raised by access, bind, chdir, chmod, chown, chroot, execve,
execve(), gethostname(), inotify_add_watch(), link(), mkdir(), gethostname, inotify_add_watch, link, mkdir, mknod, open, readlink,
mknod(), open(), readlink(), rename(), rmdir(), stat(), symlink(), rename, rmdir, stat, symlink, truncate, u unlink, utimensat.
truncate(), u unlink(), utimensat()
unix.EACCES unix.EACCES
Permission denied. Permission denied.
Raised by access(), bind(), chdir(), chmod(), chown(), chroot(), Raised by access, bind, chdir, chmod, chown, chroot, clock_getres,
clock_getres(), connect(), execve(), fcntl(), getpriority(), connect, execve, fcntl, getpriority, inotify_add_watch, link, mkdir,
inotify_add_watch(), link(), mkdir(), mknod(), mmap(), mprotect(), mknod, mmap, mprotect, msgctl, open, prctl, ptrace, readlink,
msgctl(), open(), prctl(), ptrace(), readlink(), rename(), rmdir(), rename, rmdir, semget, send, setpgid, socket, stat, symlink,
semget(), send(), setpgid(), socket(), stat(), symlink(), truncate, unlink, uselib, utime, utimensat.
truncate(), unlink(), uselib(), utime(), utimensat(),
unix.ENOMEM unix.ENOMEM
We require more vespene gas. We require more vespene gas.
Raised by access(), bind(), chdir(), chmod(), chown(), chroot(), Raised by access, bind, chdir, chmod, chown, chroot, clone,
clone(), copy_file_range(), execve(), fanotify_init(), fork(), copy_file_range, execve, fanotify_init, fork, getgroups, getrlimit,
getgroups(), getrlimit(), inotify_add_watch(), inotify_init(), inotify_add_watch, inotify_init, ioperm, link, mbind, mincore,
ioperm(), link(), mbind(), mincore(), mkdir(), mknod(), mlock(), mkdir, mknod, mlock, mmap, mprotect, mremap, msync, open, poll,
mmap(), mprotect(), mremap(), msync(), open(), poll(), readlink(), readlink, recv, rename, rmdir, select, send, sigaltstack, splice,
recv(), rename(), rmdir(), select(), send(), sigaltstack(), stat, subpage_prot, swapon, symlink, sync_file_range, tee,
splice(), stat(), subpage_prot(), swapon(), symlink(), timer_create, timerfd_create, unlink.
sync_file_range(), tee(), timer_create(), timerfd_create(),
unlink().
unix.EPERM unix.EPERM
Operation not permitted. Operation not permitted.
Raised by accept(), chmod(), chown(), chroot(), copy_file_range(), Raised by accept, chmod, chown, chroot, copy_file_range, execve,
execve(), fallocate(), fanotify_init(), fcntl(), futex(), fallocate, fanotify_init, fcntl, futex, get_robust_list,
get_robust_list(), getdomainname(), getgroups(), gethostname(), getdomainname, getgroups, gethostname, getpriority, getrlimit,
getpriority(), getrlimit(), getsid(), gettimeofday(), idle(), getsid, gettimeofday, idle, init_module, io_submit, ioctl_console,
init_module(), io_submit(), ioctl_console(), ioctl_ficlonerange(), ioctl_ficlonerange, ioctl_fideduperange, ioperm, iopl, ioprio_set,
ioctl_fideduperange(), ioperm(), iopl(), ioprio_set(), keyctl(), keyctl, kill, link, lookup_dcookie, madvise, mbind, membarrier,
kill(), link(), lookup_dcookie(), madvise(), mbind(), membarrier(), migrate_pages, mkdir, mknod, mlock, mmap, mount, move_pages, msgctl,
migrate_pages(), mkdir(), mknod(), mlock(), mmap(), mount(), nice, open, open_by_handle_at, pciconfig_read, perf_event_open,
move_pages(), msgctl(), nice(), open(), open_by_handle_at(), pidfd_getfd, pidfd_send_signal, pivot_root, prctl, process_vm_readv,
pciconfig_read(), perf_event_open(), pidfd_getfd(), ptrace, quotactl, reboot, rename, request_key, rmdir,
pidfd_send_signal(), pivot_root(), prctl(), process_vm_readv(), rt_sigqueueinfo, sched_setaffinity, sched_setattr, sched_setparam,
ptrace(), quotactl(), reboot(), rename(), request_key(), rmdir(), sched_setscheduler, seteuid, setfsgid, setfsuid, setgid, setns,
rt_sigqueueinfo(), sched_setaffinity(), sched_setattr(), setpgid, setresuid, setreuid, setsid, setuid, setup, setxattr,
sched_setparam(), sched_setscheduler(), seteuid(), setfsgid(), sigaltstack, spu_create, stime, swapon, symlink, syslog, truncate,
setfsuid(), setgid(), setns(), setpgid(), setresuid(), setreuid(), unlink, utime, utimensat, write.
setsid(), setuid(), setup(), setxattr(), sigaltstack(),
spu_create(), stime(), swapon(), symlink(), syslog(), truncate(),
unlink(), utime(), utimensat(), write()
unix.ENOTBLK unix.ENOTBLK
Block device required. Block device required.
Raised by umount(). Raised by umount.
unix.EBUSY unix.EBUSY
Device or resource busy. Device or resource busy.
Raised by dup(), fcntl(), msync(), prctl(), ptrace(), rename(), Raised by dup, fcntl, msync, prctl, ptrace, rename,
rmdir(). rmdir.
unix.EEXIST unix.EEXIST
File exists. File exists.
Raised by inotify_add_watch(), link(), mkdir(), mknod(), mmap(), Raised by inotify_add_watch, link, mkdir, mknod, mmap, open, rename,
open(), rename(), rmdir(), symlink() rmdir, symlink
unix.EXDEV unix.EXDEV
Improper link. Improper link.
Raised by copy_file_range(), link(), rename(). Raised by copy_file_range, link, rename.
unix.ENODEV unix.ENODEV
No such device. No such device.
Raised by arch_prctl(), mmap(), open(), prctl(), timerfd_create(). Raised by arch_prctl, mmap, open, prctl, timerfd_create.
unix.EISDIR unix.EISDIR
Is a a directory. Is a a directory.
Raised by copy_file_range(), execve(), open(), read(), rename(), Raised by copy_file_range, execve, open, read, rename, truncate,
truncate(), unlink(). unlink.
unix.ENFILE unix.ENFILE
Too many open files in system. Too many open files in system.
Raised by accept(), execve(), inotify_init(), mmap(), open(), Raised by accept, execve, inotify_init, mmap, open, pipe, socket,
pipe(), socket(), socketpair(), swapon(), timerfd_create(), socketpair, swapon, timerfd_create, uselib, userfaultfd.
uselib(), userfaultfd().
unix.EMFILE unix.EMFILE
Too many open files. Too many open files.
Raised by accept(), dup(), execve(), fanotify_init(), fcntl(), Raised by accept, dup, execve, fanotify_init, fcntl, inotify_init,
inotify_init(), open(), pipe(), socket(), socketpair(), open, pipe, socket, socketpair, timerfd_create.
timerfd_create().
unix.ENOTTY unix.ENOTTY
Inappropriate i/o control operation. Inappropriate i/o control operation.
Raised by ioctl(). Raised by ioctl.
unix.ETXTBSY unix.ETXTBSY
Won't open executable that's executing in write mode. Won't open executable that's executing in write mode.
Raised by access(), copy_file_range(), execve(), mmap(), open(), Raised by access, copy_file_range, execve, mmap, open, truncate.
truncate().
unix.EFBIG unix.EFBIG
File too large. File too large.
Raised by copy_file_range(), open(), truncate(), write(). Raised by copy_file_range, open, truncate, write.
unix.ENOSPC unix.ENOSPC
No space left on device. No space left on device.
Raised by copy_file_range(), fsync(), inotify_add_watch(), link(), Raised by copy_file_range, fsync, inotify_add_watch, link,
mkdir(), mknod(), open(), rename(), symlink(), sync_file_range(), mkdir, mknod, open, rename, symlink, sync_file_range,
write(). write.
unix.EDQUOT unix.EDQUOT
Disk quota exceeded. Disk quota exceeded.
Raised by link(), mkdir(), mknod(), open(), rename(), symlink(), Raised by link, mkdir, mknod, open, rename, symlink,
write(). write.
unix.ESPIPE unix.ESPIPE
Invalid seek. Invalid seek.
Raised by lseek(), splice(), sync_file_range(). Raised by lseek, splice, sync_file_range.
unix.EROFS unix.EROFS
Read-only filesystem. Read-only filesystem.
Raised by access(), bind(), chmod(), chown(), link(), mkdir(), Raised by access, bind, chmod, chown, link, mkdir, mknod, open,
mknod(), open(), rename(), rmdir(), symlink(), truncate(), unlink(), rename, rmdir, symlink, truncate, unlink, utime, utimensat.
utime(), utimensat().
unix.EMLINK unix.EMLINK
Too many links; Too many links;
raised by link(), mkdir(), rename(). raised by link, mkdir, rename.
unix.ERANGE unix.ERANGE
Result too large. Result too large.
Raised by prctl(). Raised by prctl.
unix.EDEADLK unix.EDEADLK
Resource deadlock avoided. Resource deadlock avoided.
Raised by fcntl(). Raised by fcntl.
unix.ENOLCK unix.ENOLCK
No locks available. No locks available.
Raised by fcntl(), flock(). Raised by fcntl, flock.
unix.ENOTEMPTY unix.ENOTEMPTY
Directory not empty. Raised by rmdir(). Directory not empty. Raised by rmdir.
unix.ELOOP unix.ELOOP
Too many levels of symbolic links. Raised by access(), bind(), Too many levels of symbolic links.
chdir(), chmod(), chown(), chroot(), execve(), link(), mkdir(),
mknod(), open(), readlink(), rename(), rmdir(), stat(), symlink(), Raised by access, bind, chdir, chmod, chown, chroot, execve, link,
truncate(), unlink(), utimensat(). mkdir, mknod, open, readlink, rename, rmdir, stat, symlink,
truncate, unlink, utimensat.
unix.ENOMSG unix.ENOMSG
Raised by msgop(). Raised by msgop.
unix.EIDRM unix.EIDRM
Identifier removed. Identifier removed.
Raised by msgctl(). Raised by msgctl.
unix.ETIME unix.ETIME
Timer expired; timer expired. Timer expired; timer expired.
Raised by connect(). Raised by connect.
unix.EPROTO unix.EPROTO
Raised by accept(), connect(), socket(), socketpair(). Raised by accept, connect, socket, socketpair.
unix.EOVERFLOW unix.EOVERFLOW
Raised by copy_file_range(), fanotify_init(), lseek(), mmap(), Raised by copy_file_range, fanotify_init, lseek, mmap,
open(), stat(), statfs() open, stat, statfs
unix.ENOTSOCK unix.ENOTSOCK
Not a socket. Not a socket.
Raised by accept(), bind(), connect(), getpeername(), getsockname(), Raised by accept, bind, connect, getpeername, getsockname,
getsockopt(), listen(), recv(), send(), shutdown(). getsockopt, listen, recv, send, shutdown.
unix.EDESTADDRREQ unix.EDESTADDRREQ
Destination address required. Destination address required.
Raised by send(), write(). Raised by send, write.
unix.EMSGSIZE unix.EMSGSIZE
Message too long. Message too long.
Raised by send(). Raised by send.
unix.EPROTOTYPE unix.EPROTOTYPE
Protocol wrong type for socket. Protocol wrong type for socket.
Raised by connect(). Raised by connect.
unix.ENOPROTOOPT unix.ENOPROTOOPT
Protocol not available. Protocol not available.
Raised by getsockopt(), accept(). Raised by getsockopt, accept.
unix.EPROTONOSUPPORT unix.EPROTONOSUPPORT
Protocol not supported. Protocol not supported.
Raised by socket(), socketpair(). Raised by socket, socketpair.
unix.ESOCKTNOSUPPORT unix.ESOCKTNOSUPPORT
Socket type not supported. Socket type not supported.
@ -3858,14 +3843,14 @@ UNIX MODULE
unix.ENOTSUP unix.ENOTSUP
Operation not supported. Operation not supported.
Raised by chmod(), clock_getres(), clock_nanosleep(), Raised by chmod, clock_getres, clock_nanosleep,
timer_create(). timer_create.
unix.EOPNOTSUPP unix.EOPNOTSUPP
Socket operation not supported. Socket operation not supported.
Raised by accept(), listen(), mmap(), prctl(), readv(), send(), Raised by accept, listen, mmap, prctl, readv, send,
socketpair(). socketpair.
unix.EPFNOSUPPORT unix.EPFNOSUPPORT
Protocol family not supported. Protocol family not supported.
@ -3873,27 +3858,27 @@ UNIX MODULE
unix.EAFNOSUPPORT unix.EAFNOSUPPORT
Address family not supported. Address family not supported.
Raised by connect(), socket(), socketpair() Raised by connect, socket, socketpair
unix.EADDRINUSE unix.EADDRINUSE
Address already in use. Address already in use.
Raised by bind(), connect(), listen() Raised by bind, connect, listen
unix.EADDRNOTAVAIL unix.EADDRNOTAVAIL
Address not available. Address not available.
Raised by bind(), connect(). Raised by bind, connect.
unix.ENETDOWN unix.ENETDOWN
Network is down. Network is down.
Raised by accept() Raised by accept
unix.ENETUNREACH unix.ENETUNREACH
Host is unreachable. Host is unreachable.
Raised by accept(), connect() Raised by accept, connect
unix.ENETRESET unix.ENETRESET
Connection reset by network. Connection reset by network.
@ -3901,27 +3886,27 @@ UNIX MODULE
unix.ECONNABORTED unix.ECONNABORTED
Connection reset before accept. Connection reset before accept.
Raised by accept(). Raised by accept.
unix.ECONNRESET unix.ECONNRESET
Connection reset by client. Connection reset by client.
Raised by send(). Raised by send.
unix.ENOBUFS unix.ENOBUFS
No buffer space available; No buffer space available;
raised by getpeername(), getsockname(), send(). raised by getpeername, getsockname, send.
unix.EISCONN unix.EISCONN
Socket is connected. Socket is connected.
Raised by connect(), send(). Raised by connect, send.
unix.ENOTCONN unix.ENOTCONN
Socket is not connected. Socket is not connected.
Raised by getpeername(), recv(), send(), shutdown(). Raised by getpeername, recv, send, shutdown.
unix.ESHUTDOWN unix.ESHUTDOWN
Cannot send after transport endpoint shutdown; note that shutdown Cannot send after transport endpoint shutdown; note that shutdown
@ -3930,32 +3915,32 @@ UNIX MODULE
unix.ETOOMANYREFS unix.ETOOMANYREFS
Too many references: cannot splice. Too many references: cannot splice.
Raised by sendmsg(). Raised by sendmsg.
unix.ETIMEDOUT unix.ETIMEDOUT
Connection timed out; ; WSAETIMEDOUT; Connection timed out.
raised by connect(). Raised by connect.
unix.ECONNREFUSED unix.ECONNREFUSED
System-imposed limit on the number of threads was encountered. System-imposed limit on the number of threads was encountered.
Raised by connect(), listen(), recv() Raised by connect, listen, recv.
unix.EHOSTDOWN unix.EHOSTDOWN
Host is down. Host is down.
Raised by accept() Raised by accept.
unix.EHOSTUNREACH unix.EHOSTUNREACH
Host is unreachable. Host is unreachable.
Raised by accept() Raised by accept.
unix.EALREADY unix.EALREADY
Connection already in progress. Connection already in progress.
Raised by connect(), send() Raised by connect, send.
unix.ENODATA unix.ENODATA
No message is available in xsi stream or named pipe is being closed; No message is available in xsi stream or named pipe is being closed;