aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/syscall
diff options
context:
space:
mode:
authorRoman Volosatovs <[email protected]>2022-07-01 17:39:53 +0200
committerRon Evans <[email protected]>2022-08-07 09:04:57 +0200
commit13f21477b118e3f410a196cafcf2e46823e8ba61 (patch)
treeba2a3ff85b74b96f70bb884ce2635635ad2118c9 /src/syscall
parent9d73e6cfe4e245fee0e4175ac43991f41aec68bc (diff)
downloadtinygo-13f21477b118e3f410a196cafcf2e46823e8ba61.tar.gz
tinygo-13f21477b118e3f410a196cafcf2e46823e8ba61.zip
syscall/darwin: add ENOTCONN
Signed-off-by: Roman Volosatovs <[email protected]>
Diffstat (limited to 'src/syscall')
-rw-r--r--src/syscall/syscall_libc_darwin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syscall/syscall_libc_darwin.go b/src/syscall/syscall_libc_darwin.go
index 0e1ea087e..ae23cac7b 100644
--- a/src/syscall/syscall_libc_darwin.go
+++ b/src/syscall/syscall_libc_darwin.go
@@ -67,6 +67,7 @@ const (
EMFILE Errno = 24
EPIPE Errno = 32
EAGAIN Errno = 35
+ ENOTCONN Errno = 57
ETIMEDOUT Errno = 60
ENOSYS Errno = 78
EWOULDBLOCK Errno = EAGAIN