src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/pkg/eval/port_windows.go (about) 1 package eval 2 3 import "syscall" 4 5 // Error number 232 is what Windows returns when trying to write on a pipe who 6 // reader has gone. The syscall package defines an EPIPE on Windows, but that's 7 // not what Windows API actually returns. 8 // 9 // https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499- 10 var epipe = syscall.Errno(232)