Commit 1b82e03a authored by Russ Cox's avatar Russ Cox

os: make compatible with go/build

It is probably a mistake to have these here at all -
os is supposed to be portable - but this only fixes
the build issue.

R=golang-dev, r, r, iant
CC=golang-dev
https://golang.org/cl/5487073
parent 6e887555
......@@ -26,7 +26,7 @@ GOFILES_freebsd=\
sys_bsd.go\
exec_posix.go\
exec_unix.go\
signal_unix.go\
zsignal_$(GOOS)_$(GOARCH).go\
GOFILES_darwin=\
dir_unix.go\
......@@ -37,7 +37,7 @@ GOFILES_darwin=\
sys_bsd.go\
exec_posix.go\
exec_unix.go\
signal_unix.go\
zsignal_$(GOOS)_$(GOARCH).go\
GOFILES_linux=\
dir_unix.go\
......@@ -48,7 +48,7 @@ GOFILES_linux=\
sys_linux.go\
exec_posix.go\
exec_unix.go\
signal_unix.go\
zsignal_$(GOOS)_$(GOARCH).go\
GOFILES_netbsd=\
dir_unix.go\
......@@ -59,7 +59,7 @@ GOFILES_netbsd=\
sys_bsd.go\
exec_posix.go\
exec_unix.go\
signal_unix.go\
zsignal_$(GOOS)_$(GOARCH).go\
GOFILES_openbsd=\
dir_unix.go\
......@@ -70,7 +70,7 @@ GOFILES_openbsd=\
sys_bsd.go\
exec_posix.go\
exec_unix.go\
signal_unix.go\
zsignal_$(GOOS)_$(GOARCH).go\
GOFILES_windows=\
dir_windows.go\
......@@ -81,7 +81,7 @@ GOFILES_windows=\
sys_windows.go\
exec_posix.go\
exec_windows.go\
signal_windows.go\
zsignal_$(GOOS)_$(GOARCH).go\
GOFILES_plan9=\
dir_plan9.go\
......@@ -94,12 +94,4 @@ GOFILES_plan9=\
GOFILES+=$(GOFILES_$(GOOS))
CLEANFILES+=signal_unix.go signal_windows.go
include ../../Make.pkg
signal_unix.go: ../syscall/zerrors_$(GOOS)_$(GOARCH).go
./mkunixsignals.sh $< > $@ || rm -f $@
signal_windows.go: ../syscall/ztypes_$(GOOS).go
./mkunixsignals.sh $< > $@ || rm -f $@
#!/bin/sh
for targ in \
darwin_386 \
darwin_amd64 \
freebsd_386 \
freebsd_amd64 \
linux_386 \
linux_amd64 \
linux_arm \
openbsd_386 \
openbsd_amd64 \
; do
./mkunixsignals.sh ../syscall/zerrors_$targ.go |gofmt >zsignal_$targ.go
done
for targ in \
windows_386 \
windows_amd64 \
; do
./mkunixsignals.sh ../syscall/ztypes_windows.go |gofmt >zsignal_$targ.go
done
......@@ -3,8 +3,11 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
echo '// ./mkunixsignals.sh' "$1"
echo '// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT'
echo '// MACHINE GENERATED; DO NOT EDIT'
echo '// To regenerate, run'
echo '// ./mksignals.sh'
echo '// which, for this file, will run'
echo '// ./mkunixsignals.sh' "$1"
echo
cat <<EOH
......
// MACHINE GENERATED; DO NOT EDIT
// To regenerate, run
// ./mksignals.sh
// which, for this file, will run
// ./mkunixsignals.sh ../syscall/zerrors_darwin_386.go
package os
import (
"syscall"
)
var _ = syscall.Open // in case there are zero signals
const (
SIGABRT = UnixSignal(syscall.SIGABRT)
SIGALRM = UnixSignal(syscall.SIGALRM)
SIGBUS = UnixSignal(syscall.SIGBUS)
SIGCHLD = UnixSignal(syscall.SIGCHLD)
SIGCONT = UnixSignal(syscall.SIGCONT)
SIGEMT = UnixSignal(syscall.SIGEMT)
SIGFPE = UnixSignal(syscall.SIGFPE)
SIGHUP = UnixSignal(syscall.SIGHUP)
SIGILL = UnixSignal(syscall.SIGILL)
SIGINFO = UnixSignal(syscall.SIGINFO)
SIGINT = UnixSignal(syscall.SIGINT)
SIGIO = UnixSignal(syscall.SIGIO)
SIGIOT = UnixSignal(syscall.SIGIOT)
SIGKILL = UnixSignal(syscall.SIGKILL)
SIGPIPE = UnixSignal(syscall.SIGPIPE)
SIGPROF = UnixSignal(syscall.SIGPROF)
SIGQUIT = UnixSignal(syscall.SIGQUIT)
SIGSEGV = UnixSignal(syscall.SIGSEGV)
SIGSTOP = UnixSignal(syscall.SIGSTOP)
SIGSYS = UnixSignal(syscall.SIGSYS)
SIGTERM = UnixSignal(syscall.SIGTERM)
SIGTRAP = UnixSignal(syscall.SIGTRAP)
SIGTSTP = UnixSignal(syscall.SIGTSTP)
SIGTTIN = UnixSignal(syscall.SIGTTIN)
SIGTTOU = UnixSignal(syscall.SIGTTOU)
SIGURG = UnixSignal(syscall.SIGURG)
SIGUSR1 = UnixSignal(syscall.SIGUSR1)
SIGUSR2 = UnixSignal(syscall.SIGUSR2)
SIGVTALRM = UnixSignal(syscall.SIGVTALRM)
SIGWINCH = UnixSignal(syscall.SIGWINCH)
SIGXCPU = UnixSignal(syscall.SIGXCPU)
SIGXFSZ = UnixSignal(syscall.SIGXFSZ)
)
// MACHINE GENERATED; DO NOT EDIT
// To regenerate, run
// ./mksignals.sh
// which, for this file, will run
// ./mkunixsignals.sh ../syscall/zerrors_darwin_amd64.go
package os
import (
"syscall"
)
var _ = syscall.Open // in case there are zero signals
const (
SIGABRT = UnixSignal(syscall.SIGABRT)
SIGALRM = UnixSignal(syscall.SIGALRM)
SIGBUS = UnixSignal(syscall.SIGBUS)
SIGCHLD = UnixSignal(syscall.SIGCHLD)
SIGCONT = UnixSignal(syscall.SIGCONT)
SIGEMT = UnixSignal(syscall.SIGEMT)
SIGFPE = UnixSignal(syscall.SIGFPE)
SIGHUP = UnixSignal(syscall.SIGHUP)
SIGILL = UnixSignal(syscall.SIGILL)
SIGINFO = UnixSignal(syscall.SIGINFO)
SIGINT = UnixSignal(syscall.SIGINT)
SIGIO = UnixSignal(syscall.SIGIO)
SIGIOT = UnixSignal(syscall.SIGIOT)
SIGKILL = UnixSignal(syscall.SIGKILL)
SIGPIPE = UnixSignal(syscall.SIGPIPE)
SIGPROF = UnixSignal(syscall.SIGPROF)
SIGQUIT = UnixSignal(syscall.SIGQUIT)
SIGSEGV = UnixSignal(syscall.SIGSEGV)
SIGSTOP = UnixSignal(syscall.SIGSTOP)
SIGSYS = UnixSignal(syscall.SIGSYS)
SIGTERM = UnixSignal(syscall.SIGTERM)
SIGTRAP = UnixSignal(syscall.SIGTRAP)
SIGTSTP = UnixSignal(syscall.SIGTSTP)
SIGTTIN = UnixSignal(syscall.SIGTTIN)
SIGTTOU = UnixSignal(syscall.SIGTTOU)
SIGURG = UnixSignal(syscall.SIGURG)
SIGUSR1 = UnixSignal(syscall.SIGUSR1)
SIGUSR2 = UnixSignal(syscall.SIGUSR2)
SIGVTALRM = UnixSignal(syscall.SIGVTALRM)
SIGWINCH = UnixSignal(syscall.SIGWINCH)
SIGXCPU = UnixSignal(syscall.SIGXCPU)
SIGXFSZ = UnixSignal(syscall.SIGXFSZ)
)
// MACHINE GENERATED; DO NOT EDIT
// To regenerate, run
// ./mksignals.sh
// which, for this file, will run
// ./mkunixsignals.sh ../syscall/zerrors_freebsd_386.go
package os
import (
"syscall"
)
var _ = syscall.Open // in case there are zero signals
const (
SIGABRT = UnixSignal(syscall.SIGABRT)
SIGALRM = UnixSignal(syscall.SIGALRM)
SIGBUS = UnixSignal(syscall.SIGBUS)
SIGCHLD = UnixSignal(syscall.SIGCHLD)
SIGCONT = UnixSignal(syscall.SIGCONT)
SIGEMT = UnixSignal(syscall.SIGEMT)
SIGFPE = UnixSignal(syscall.SIGFPE)
SIGHUP = UnixSignal(syscall.SIGHUP)
SIGILL = UnixSignal(syscall.SIGILL)
SIGINFO = UnixSignal(syscall.SIGINFO)
SIGINT = UnixSignal(syscall.SIGINT)
SIGIO = UnixSignal(syscall.SIGIO)
SIGIOT = UnixSignal(syscall.SIGIOT)
SIGKILL = UnixSignal(syscall.SIGKILL)
SIGLWP = UnixSignal(syscall.SIGLWP)
SIGPIPE = UnixSignal(syscall.SIGPIPE)
SIGPROF = UnixSignal(syscall.SIGPROF)
SIGQUIT = UnixSignal(syscall.SIGQUIT)
SIGSEGV = UnixSignal(syscall.SIGSEGV)
SIGSTOP = UnixSignal(syscall.SIGSTOP)
SIGSYS = UnixSignal(syscall.SIGSYS)
SIGTERM = UnixSignal(syscall.SIGTERM)
SIGTHR = UnixSignal(syscall.SIGTHR)
SIGTRAP = UnixSignal(syscall.SIGTRAP)
SIGTSTP = UnixSignal(syscall.SIGTSTP)
SIGTTIN = UnixSignal(syscall.SIGTTIN)
SIGTTOU = UnixSignal(syscall.SIGTTOU)
SIGURG = UnixSignal(syscall.SIGURG)
SIGUSR1 = UnixSignal(syscall.SIGUSR1)
SIGUSR2 = UnixSignal(syscall.SIGUSR2)
SIGVTALRM = UnixSignal(syscall.SIGVTALRM)
SIGWINCH = UnixSignal(syscall.SIGWINCH)
SIGXCPU = UnixSignal(syscall.SIGXCPU)
SIGXFSZ = UnixSignal(syscall.SIGXFSZ)
)
// MACHINE GENERATED; DO NOT EDIT
// To regenerate, run
// ./mksignals.sh
// which, for this file, will run
// ./mkunixsignals.sh ../syscall/zerrors_freebsd_amd64.go
package os
import (
"syscall"
)
var _ = syscall.Open // in case there are zero signals
const (
SIGABRT = UnixSignal(syscall.SIGABRT)
SIGALRM = UnixSignal(syscall.SIGALRM)
SIGBUS = UnixSignal(syscall.SIGBUS)
SIGCHLD = UnixSignal(syscall.SIGCHLD)
SIGCONT = UnixSignal(syscall.SIGCONT)
SIGEMT = UnixSignal(syscall.SIGEMT)
SIGFPE = UnixSignal(syscall.SIGFPE)
SIGHUP = UnixSignal(syscall.SIGHUP)
SIGILL = UnixSignal(syscall.SIGILL)
SIGINFO = UnixSignal(syscall.SIGINFO)
SIGINT = UnixSignal(syscall.SIGINT)
SIGIO = UnixSignal(syscall.SIGIO)
SIGIOT = UnixSignal(syscall.SIGIOT)
SIGKILL = UnixSignal(syscall.SIGKILL)
SIGLWP = UnixSignal(syscall.SIGLWP)
SIGPIPE = UnixSignal(syscall.SIGPIPE)
SIGPROF = UnixSignal(syscall.SIGPROF)
SIGQUIT = UnixSignal(syscall.SIGQUIT)
SIGSEGV = UnixSignal(syscall.SIGSEGV)
SIGSTOP = UnixSignal(syscall.SIGSTOP)
SIGSYS = UnixSignal(syscall.SIGSYS)
SIGTERM = UnixSignal(syscall.SIGTERM)
SIGTHR = UnixSignal(syscall.SIGTHR)
SIGTRAP = UnixSignal(syscall.SIGTRAP)
SIGTSTP = UnixSignal(syscall.SIGTSTP)
SIGTTIN = UnixSignal(syscall.SIGTTIN)
SIGTTOU = UnixSignal(syscall.SIGTTOU)
SIGURG = UnixSignal(syscall.SIGURG)
SIGUSR1 = UnixSignal(syscall.SIGUSR1)
SIGUSR2 = UnixSignal(syscall.SIGUSR2)
SIGVTALRM = UnixSignal(syscall.SIGVTALRM)
SIGWINCH = UnixSignal(syscall.SIGWINCH)
SIGXCPU = UnixSignal(syscall.SIGXCPU)
SIGXFSZ = UnixSignal(syscall.SIGXFSZ)
)
// MACHINE GENERATED; DO NOT EDIT
// To regenerate, run
// ./mksignals.sh
// which, for this file, will run
// ./mkunixsignals.sh ../syscall/zerrors_linux_386.go
package os
import (
"syscall"
)
var _ = syscall.Open // in case there are zero signals
const (
SIGABRT = UnixSignal(syscall.SIGABRT)
SIGALRM = UnixSignal(syscall.SIGALRM)
SIGBUS = UnixSignal(syscall.SIGBUS)
SIGCHLD = UnixSignal(syscall.SIGCHLD)
SIGCLD = UnixSignal(syscall.SIGCLD)
SIGCONT = UnixSignal(syscall.SIGCONT)
SIGFPE = UnixSignal(syscall.SIGFPE)
SIGHUP = UnixSignal(syscall.SIGHUP)
SIGILL = UnixSignal(syscall.SIGILL)
SIGINT = UnixSignal(syscall.SIGINT)
SIGIO = UnixSignal(syscall.SIGIO)
SIGIOT = UnixSignal(syscall.SIGIOT)
SIGKILL = UnixSignal(syscall.SIGKILL)
SIGPIPE = UnixSignal(syscall.SIGPIPE)
SIGPOLL = UnixSignal(syscall.SIGPOLL)
SIGPROF = UnixSignal(syscall.SIGPROF)
SIGPWR = UnixSignal(syscall.SIGPWR)
SIGQUIT = UnixSignal(syscall.SIGQUIT)
SIGSEGV = UnixSignal(syscall.SIGSEGV)
SIGSTKFLT = UnixSignal(syscall.SIGSTKFLT)
SIGSTOP = UnixSignal(syscall.SIGSTOP)
SIGSYS = UnixSignal(syscall.SIGSYS)
SIGTERM = UnixSignal(syscall.SIGTERM)
SIGTRAP = UnixSignal(syscall.SIGTRAP)
SIGTSTP = UnixSignal(syscall.SIGTSTP)
SIGTTIN = UnixSignal(syscall.SIGTTIN)
SIGTTOU = UnixSignal(syscall.SIGTTOU)
SIGUNUSED = UnixSignal(syscall.SIGUNUSED)
SIGURG = UnixSignal(syscall.SIGURG)
SIGUSR1 = UnixSignal(syscall.SIGUSR1)
SIGUSR2 = UnixSignal(syscall.SIGUSR2)
SIGVTALRM = UnixSignal(syscall.SIGVTALRM)
SIGWINCH = UnixSignal(syscall.SIGWINCH)
SIGXCPU = UnixSignal(syscall.SIGXCPU)
SIGXFSZ = UnixSignal(syscall.SIGXFSZ)
)
// MACHINE GENERATED; DO NOT EDIT
// To regenerate, run
// ./mksignals.sh
// which, for this file, will run
// ./mkunixsignals.sh ../syscall/zerrors_linux_amd64.go
package os
import (
"syscall"
)
var _ = syscall.Open // in case there are zero signals
const (
SIGABRT = UnixSignal(syscall.SIGABRT)
SIGALRM = UnixSignal(syscall.SIGALRM)
SIGBUS = UnixSignal(syscall.SIGBUS)
SIGCHLD = UnixSignal(syscall.SIGCHLD)
SIGCLD = UnixSignal(syscall.SIGCLD)
SIGCONT = UnixSignal(syscall.SIGCONT)
SIGFPE = UnixSignal(syscall.SIGFPE)
SIGHUP = UnixSignal(syscall.SIGHUP)
SIGILL = UnixSignal(syscall.SIGILL)
SIGINT = UnixSignal(syscall.SIGINT)
SIGIO = UnixSignal(syscall.SIGIO)
SIGIOT = UnixSignal(syscall.SIGIOT)
SIGKILL = UnixSignal(syscall.SIGKILL)
SIGPIPE = UnixSignal(syscall.SIGPIPE)
SIGPOLL = UnixSignal(syscall.SIGPOLL)
SIGPROF = UnixSignal(syscall.SIGPROF)
SIGPWR = UnixSignal(syscall.SIGPWR)
SIGQUIT = UnixSignal(syscall.SIGQUIT)
SIGSEGV = UnixSignal(syscall.SIGSEGV)
SIGSTKFLT = UnixSignal(syscall.SIGSTKFLT)
SIGSTOP = UnixSignal(syscall.SIGSTOP)
SIGSYS = UnixSignal(syscall.SIGSYS)
SIGTERM = UnixSignal(syscall.SIGTERM)
SIGTRAP = UnixSignal(syscall.SIGTRAP)
SIGTSTP = UnixSignal(syscall.SIGTSTP)
SIGTTIN = UnixSignal(syscall.SIGTTIN)
SIGTTOU = UnixSignal(syscall.SIGTTOU)
SIGUNUSED = UnixSignal(syscall.SIGUNUSED)
SIGURG = UnixSignal(syscall.SIGURG)
SIGUSR1 = UnixSignal(syscall.SIGUSR1)
SIGUSR2 = UnixSignal(syscall.SIGUSR2)
SIGVTALRM = UnixSignal(syscall.SIGVTALRM)
SIGWINCH = UnixSignal(syscall.SIGWINCH)
SIGXCPU = UnixSignal(syscall.SIGXCPU)
SIGXFSZ = UnixSignal(syscall.SIGXFSZ)
)
// MACHINE GENERATED; DO NOT EDIT
// To regenerate, run
// ./mksignals.sh
// which, for this file, will run
// ./mkunixsignals.sh ../syscall/zerrors_linux_arm.go
package os
import (
"syscall"
)
var _ = syscall.Open // in case there are zero signals
const (
SIGABRT = UnixSignal(syscall.SIGABRT)
SIGALRM = UnixSignal(syscall.SIGALRM)
SIGBUS = UnixSignal(syscall.SIGBUS)
SIGCHLD = UnixSignal(syscall.SIGCHLD)
SIGCLD = UnixSignal(syscall.SIGCLD)
SIGCONT = UnixSignal(syscall.SIGCONT)
SIGFPE = UnixSignal(syscall.SIGFPE)
SIGHUP = UnixSignal(syscall.SIGHUP)
SIGILL = UnixSignal(syscall.SIGILL)
SIGINT = UnixSignal(syscall.SIGINT)
SIGIO = UnixSignal(syscall.SIGIO)
SIGIOT = UnixSignal(syscall.SIGIOT)
SIGKILL = UnixSignal(syscall.SIGKILL)
SIGPIPE = UnixSignal(syscall.SIGPIPE)
SIGPOLL = UnixSignal(syscall.SIGPOLL)
SIGPROF = UnixSignal(syscall.SIGPROF)
SIGPWR = UnixSignal(syscall.SIGPWR)
SIGQUIT = UnixSignal(syscall.SIGQUIT)
SIGSEGV = UnixSignal(syscall.SIGSEGV)
SIGSTKFLT = UnixSignal(syscall.SIGSTKFLT)
SIGSTOP = UnixSignal(syscall.SIGSTOP)
SIGSYS = UnixSignal(syscall.SIGSYS)
SIGTERM = UnixSignal(syscall.SIGTERM)
SIGTRAP = UnixSignal(syscall.SIGTRAP)
SIGTSTP = UnixSignal(syscall.SIGTSTP)
SIGTTIN = UnixSignal(syscall.SIGTTIN)
SIGTTOU = UnixSignal(syscall.SIGTTOU)
SIGUNUSED = UnixSignal(syscall.SIGUNUSED)
SIGURG = UnixSignal(syscall.SIGURG)
SIGUSR1 = UnixSignal(syscall.SIGUSR1)
SIGUSR2 = UnixSignal(syscall.SIGUSR2)
SIGVTALRM = UnixSignal(syscall.SIGVTALRM)
SIGWINCH = UnixSignal(syscall.SIGWINCH)
SIGXCPU = UnixSignal(syscall.SIGXCPU)
SIGXFSZ = UnixSignal(syscall.SIGXFSZ)
)
// MACHINE GENERATED; DO NOT EDIT
// To regenerate, run
// ./mksignals.sh
// which, for this file, will run
// ./mkunixsignals.sh ../syscall/zerrors_openbsd_386.go
package os
import (
"syscall"
)
var _ = syscall.Open // in case there are zero signals
const (
SIGABRT = UnixSignal(syscall.SIGABRT)
SIGALRM = UnixSignal(syscall.SIGALRM)
SIGBUS = UnixSignal(syscall.SIGBUS)
SIGCHLD = UnixSignal(syscall.SIGCHLD)
SIGCONT = UnixSignal(syscall.SIGCONT)
SIGEMT = UnixSignal(syscall.SIGEMT)
SIGFPE = UnixSignal(syscall.SIGFPE)
SIGHUP = UnixSignal(syscall.SIGHUP)
SIGILL = UnixSignal(syscall.SIGILL)
SIGINFO = UnixSignal(syscall.SIGINFO)
SIGINT = UnixSignal(syscall.SIGINT)
SIGIO = UnixSignal(syscall.SIGIO)
SIGIOT = UnixSignal(syscall.SIGIOT)
SIGKILL = UnixSignal(syscall.SIGKILL)
SIGPIPE = UnixSignal(syscall.SIGPIPE)
SIGPROF = UnixSignal(syscall.SIGPROF)
SIGQUIT = UnixSignal(syscall.SIGQUIT)
SIGSEGV = UnixSignal(syscall.SIGSEGV)
SIGSTOP = UnixSignal(syscall.SIGSTOP)
SIGSYS = UnixSignal(syscall.SIGSYS)
SIGTERM = UnixSignal(syscall.SIGTERM)
SIGTHR = UnixSignal(syscall.SIGTHR)
SIGTRAP = UnixSignal(syscall.SIGTRAP)
SIGTSTP = UnixSignal(syscall.SIGTSTP)
SIGTTIN = UnixSignal(syscall.SIGTTIN)
SIGTTOU = UnixSignal(syscall.SIGTTOU)
SIGURG = UnixSignal(syscall.SIGURG)
SIGUSR1 = UnixSignal(syscall.SIGUSR1)
SIGUSR2 = UnixSignal(syscall.SIGUSR2)
SIGVTALRM = UnixSignal(syscall.SIGVTALRM)
SIGWINCH = UnixSignal(syscall.SIGWINCH)
SIGXCPU = UnixSignal(syscall.SIGXCPU)
SIGXFSZ = UnixSignal(syscall.SIGXFSZ)
)
// MACHINE GENERATED; DO NOT EDIT
// To regenerate, run
// ./mksignals.sh
// which, for this file, will run
// ./mkunixsignals.sh ../syscall/zerrors_openbsd_amd64.go
package os
import (
"syscall"
)
var _ = syscall.Open // in case there are zero signals
const (
SIGABRT = UnixSignal(syscall.SIGABRT)
SIGALRM = UnixSignal(syscall.SIGALRM)
SIGBUS = UnixSignal(syscall.SIGBUS)
SIGCHLD = UnixSignal(syscall.SIGCHLD)
SIGCONT = UnixSignal(syscall.SIGCONT)
SIGEMT = UnixSignal(syscall.SIGEMT)
SIGFPE = UnixSignal(syscall.SIGFPE)
SIGHUP = UnixSignal(syscall.SIGHUP)
SIGILL = UnixSignal(syscall.SIGILL)
SIGINFO = UnixSignal(syscall.SIGINFO)
SIGINT = UnixSignal(syscall.SIGINT)
SIGIO = UnixSignal(syscall.SIGIO)
SIGIOT = UnixSignal(syscall.SIGIOT)
SIGKILL = UnixSignal(syscall.SIGKILL)
SIGPIPE = UnixSignal(syscall.SIGPIPE)
SIGPROF = UnixSignal(syscall.SIGPROF)
SIGQUIT = UnixSignal(syscall.SIGQUIT)
SIGSEGV = UnixSignal(syscall.SIGSEGV)
SIGSTOP = UnixSignal(syscall.SIGSTOP)
SIGSYS = UnixSignal(syscall.SIGSYS)
SIGTERM = UnixSignal(syscall.SIGTERM)
SIGTHR = UnixSignal(syscall.SIGTHR)
SIGTRAP = UnixSignal(syscall.SIGTRAP)
SIGTSTP = UnixSignal(syscall.SIGTSTP)
SIGTTIN = UnixSignal(syscall.SIGTTIN)
SIGTTOU = UnixSignal(syscall.SIGTTOU)
SIGURG = UnixSignal(syscall.SIGURG)
SIGUSR1 = UnixSignal(syscall.SIGUSR1)
SIGUSR2 = UnixSignal(syscall.SIGUSR2)
SIGVTALRM = UnixSignal(syscall.SIGVTALRM)
SIGWINCH = UnixSignal(syscall.SIGWINCH)
SIGXCPU = UnixSignal(syscall.SIGXCPU)
SIGXFSZ = UnixSignal(syscall.SIGXFSZ)
)
// MACHINE GENERATED; DO NOT EDIT
// To regenerate, run
// ./mksignals.sh
// which, for this file, will run
// ./mkunixsignals.sh ../syscall/ztypes_windows.go
package os
import (
"syscall"
)
var _ = syscall.Open // in case there are zero signals
const (
SIGHUP = UnixSignal(syscall.SIGHUP)
SIGINT = UnixSignal(syscall.SIGINT)
SIGQUIT = UnixSignal(syscall.SIGQUIT)
SIGILL = UnixSignal(syscall.SIGILL)
SIGTRAP = UnixSignal(syscall.SIGTRAP)
SIGABRT = UnixSignal(syscall.SIGABRT)
SIGBUS = UnixSignal(syscall.SIGBUS)
SIGFPE = UnixSignal(syscall.SIGFPE)
SIGKILL = UnixSignal(syscall.SIGKILL)
SIGSEGV = UnixSignal(syscall.SIGSEGV)
SIGPIPE = UnixSignal(syscall.SIGPIPE)
SIGALRM = UnixSignal(syscall.SIGALRM)
SIGTERM = UnixSignal(syscall.SIGTERM)
)
// MACHINE GENERATED; DO NOT EDIT
// To regenerate, run
// ./mksignals.sh
// which, for this file, will run
// ./mkunixsignals.sh ../syscall/ztypes_windows.go
package os
import (
"syscall"
)
var _ = syscall.Open // in case there are zero signals
const (
SIGHUP = UnixSignal(syscall.SIGHUP)
SIGINT = UnixSignal(syscall.SIGINT)
SIGQUIT = UnixSignal(syscall.SIGQUIT)
SIGILL = UnixSignal(syscall.SIGILL)
SIGTRAP = UnixSignal(syscall.SIGTRAP)
SIGABRT = UnixSignal(syscall.SIGABRT)
SIGBUS = UnixSignal(syscall.SIGBUS)
SIGFPE = UnixSignal(syscall.SIGFPE)
SIGKILL = UnixSignal(syscall.SIGKILL)
SIGSEGV = UnixSignal(syscall.SIGSEGV)
SIGPIPE = UnixSignal(syscall.SIGPIPE)
SIGALRM = UnixSignal(syscall.SIGALRM)
SIGTERM = UnixSignal(syscall.SIGTERM)
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment