diff options
Diffstat (limited to 'src/pkg/runtime/plan9/thread.c')
-rw-r--r-- | src/pkg/runtime/plan9/thread.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/runtime/plan9/thread.c b/src/pkg/runtime/plan9/thread.c index fa96552a9..7c6ca45a3 100644 --- a/src/pkg/runtime/plan9/thread.c +++ b/src/pkg/runtime/plan9/thread.c @@ -138,3 +138,8 @@ runtime·notewakeup(Note *n) runtime·usemrelease(&n->sema); } +void +os·sigpipe(void) +{ + runtime·throw("too many writes on closed pipe"); +} |