summaryrefslogtreecommitdiff
path: root/src/os/signal/signal_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/signal/signal_stub.go')
-rw-r--r--src/os/signal/signal_stub.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/os/signal/signal_stub.go b/src/os/signal/signal_stub.go
new file mode 100644
index 000000000..d0a6935ff
--- /dev/null
+++ b/src/os/signal/signal_stub.go
@@ -0,0 +1,17 @@
+// Copyright 2012 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build plan9
+
+package signal
+
+import "os"
+
+const numSig = 0
+
+func signum(sig os.Signal) int { return -1 }
+
+func disableSignal(int) {}
+
+func enableSignal(int) {}