LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 // +build ignore | 5 // +build ignore |
6 | 6 |
7 /* | 7 /* |
8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh | 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh |
9 */ | 9 */ |
10 | 10 |
11 // +godefs map struct_in_addr [4]byte /* in_addr */ | 11 // +godefs map struct_in_addr [4]byte /* in_addr */ |
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */ | 12 // +godefs map struct_in6_addr [16]byte /* in6_addr */ |
13 | 13 |
14 package syscall | 14 package syscall |
15 | 15 |
16 /* | 16 /* |
17 #define __DARWIN_UNIX03 0 | 17 #define __DARWIN_UNIX03 0 |
18 #define KERNEL | 18 #define KERNEL |
19 #define _DARWIN_USE_64_BIT_INODE | 19 #define _DARWIN_USE_64_BIT_INODE |
20 #include <dirent.h> | 20 #include <dirent.h> |
21 #include <fcntl.h> | 21 #include <fcntl.h> |
22 #include <signal.h> | 22 #include <signal.h> |
| 23 #include <termios.h> |
23 #include <unistd.h> | 24 #include <unistd.h> |
24 #include <mach/mach.h> | 25 #include <mach/mach.h> |
25 #include <mach/message.h> | 26 #include <mach/message.h> |
26 #include <sys/event.h> | 27 #include <sys/event.h> |
27 #include <sys/mman.h> | 28 #include <sys/mman.h> |
28 #include <sys/mount.h> | 29 #include <sys/mount.h> |
29 #include <sys/param.h> | 30 #include <sys/param.h> |
30 #include <sys/ptrace.h> | 31 #include <sys/ptrace.h> |
31 #include <sys/resource.h> | 32 #include <sys/resource.h> |
32 #include <sys/select.h> | 33 #include <sys/select.h> |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 220 |
220 type BpfVersion C.struct_bpf_version | 221 type BpfVersion C.struct_bpf_version |
221 | 222 |
222 type BpfStat C.struct_bpf_stat | 223 type BpfStat C.struct_bpf_stat |
223 | 224 |
224 type BpfProgram C.struct_bpf_program | 225 type BpfProgram C.struct_bpf_program |
225 | 226 |
226 type BpfInsn C.struct_bpf_insn | 227 type BpfInsn C.struct_bpf_insn |
227 | 228 |
228 type BpfHdr C.struct_bpf_hdr | 229 type BpfHdr C.struct_bpf_hdr |
| 230 |
| 231 type Termios C.struct_termios |
LEFT | RIGHT |