summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/os_nacl.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/os_nacl.go')
-rw-r--r--src/pkg/runtime/os_nacl.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/runtime/os_nacl.go b/src/pkg/runtime/os_nacl.go
index 2ab51b8b1..12a15aea0 100644
--- a/src/pkg/runtime/os_nacl.go
+++ b/src/pkg/runtime/os_nacl.go
@@ -24,3 +24,7 @@ func nacl_thread_create(fn, stk, tls, xx unsafe.Pointer) int32
func nacl_nanosleep(ts, extra unsafe.Pointer) int32
const stackSystem = 0
+
+func os_sigpipe() {
+ gothrow("too many writes on closed pipe")
+}