Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
3e8faa64
Commit
3e8faa64
authored
Dec 04, 2008
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build - forgot these files
TBR=r OCL=20448 CL=20448
parent
79e1db2d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
115 additions
and
0 deletions
+115
-0
mksignal
src/lib/syscall/mksignal
+26
-0
signal_amd64_darwin.go
src/lib/syscall/signal_amd64_darwin.go
+43
-0
signal_amd64_linux.go
src/lib/syscall/signal_amd64_linux.go
+46
-0
No files found.
src/lib/syscall/mksignal
0 → 100755
View file @
3e8faa64
#
Copyright
2009
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
.
my
$
command
=
"mksignal "
.
join
(
' '
,
@
ARGV
);
print
<<
EOF
;
//
Generated
by
mksignal
;
DO
NOT
EDIT
.
//
$
command
package
syscall
export
const
(
EOF
while
(<>){
next
if
/
SIGSTKSZ
/;
next
if
/
SIGEV_
/;
if
(/^#
define
\
s
+(
SIG
[^
_
\
s
]\
w
*)\
s
+([
0
-
9
]+)/){
print
" $1 = $2;
\n
"
;
}
}
print
<<
EOF
;
)
EOF
src/lib/syscall/signal_amd64_darwin.go
0 → 100644
View file @
3e8faa64
// Copyright 2009 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.
// Generated by mksignal; DO NOT EDIT.
// mksignal /usr/include/sys/signal.h
package
syscall
export
const
(
SIGHUP
=
1
;
SIGINT
=
2
;
SIGQUIT
=
3
;
SIGILL
=
4
;
SIGTRAP
=
5
;
SIGABRT
=
6
;
SIGPOLL
=
7
;
SIGEMT
=
7
;
SIGFPE
=
8
;
SIGKILL
=
9
;
SIGBUS
=
10
;
SIGSEGV
=
11
;
SIGSYS
=
12
;
SIGPIPE
=
13
;
SIGALRM
=
14
;
SIGTERM
=
15
;
SIGURG
=
16
;
SIGSTOP
=
17
;
SIGTSTP
=
18
;
SIGCONT
=
19
;
SIGCHLD
=
20
;
SIGTTIN
=
21
;
SIGTTOU
=
22
;
SIGIO
=
23
;
SIGXCPU
=
24
;
SIGXFSZ
=
25
;
SIGVTALRM
=
26
;
SIGPROF
=
27
;
SIGWINCH
=
28
;
SIGINFO
=
29
;
SIGUSR1
=
30
;
SIGUSR2
=
31
;
)
src/lib/syscall/signal_amd64_linux.go
0 → 100644
View file @
3e8faa64
// Copyright 2009 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.
// Generated by mksignal; DO NOT EDIT.
// mksignal /usr/include/asm/signal.h
package
syscall
export
const
(
SIGHUP
=
1
;
SIGINT
=
2
;
SIGQUIT
=
3
;
SIGILL
=
4
;
SIGTRAP
=
5
;
SIGABRT
=
6
;
SIGIOT
=
6
;
SIGBUS
=
7
;
SIGFPE
=
8
;
SIGKILL
=
9
;
SIGUSR1
=
10
;
SIGSEGV
=
11
;
SIGUSR2
=
12
;
SIGPIPE
=
13
;
SIGALRM
=
14
;
SIGTERM
=
15
;
SIGSTKFLT
=
16
;
SIGCHLD
=
17
;
SIGCONT
=
18
;
SIGSTOP
=
19
;
SIGTSTP
=
20
;
SIGTTIN
=
21
;
SIGTTOU
=
22
;
SIGURG
=
23
;
SIGXCPU
=
24
;
SIGXFSZ
=
25
;
SIGVTALRM
=
26
;
SIGPROF
=
27
;
SIGWINCH
=
28
;
SIGIO
=
29
;
SIGLOST
=
29
;
SIGPWR
=
30
;
SIGSYS
=
31
;
SIGUNUSED
=
31
;
SIGRTMIN
=
32
;
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment