summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/signal/more_linux_riscv64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/signal/more_linux_riscv64.go')
-rw-r--r--vendor/modernc.org/libc/signal/more_linux_riscv64.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/signal/more_linux_riscv64.go b/vendor/modernc.org/libc/signal/more_linux_riscv64.go
new file mode 100644
index 00000000..25cc318b
--- /dev/null
+++ b/vendor/modernc.org/libc/signal/more_linux_riscv64.go
@@ -0,0 +1,12 @@
+// Copyright 2020 The Libc Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package signal
+
+const (
+ // /usr/include/asm-generic/signal-defs.h:24:#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
+ SIG_DFL = 0
+ // /usr/include/asm-generic/signal-defs.h:25:#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
+ SIG_IGN = 1
+)