OLD | NEW |
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 unix |
15 | 15 |
16 /* | 16 /* |
17 #define KERNEL | 17 #define KERNEL |
18 #include <dirent.h> | 18 #include <dirent.h> |
19 #include <fcntl.h> | 19 #include <fcntl.h> |
20 #include <signal.h> | 20 #include <signal.h> |
21 #include <termios.h> | 21 #include <termios.h> |
22 #include <stdio.h> | 22 #include <stdio.h> |
23 #include <unistd.h> | 23 #include <unistd.h> |
24 #include <sys/event.h> | 24 #include <sys/event.h> |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 | 233 |
234 type BpfProgram C.struct_bpf_program | 234 type BpfProgram C.struct_bpf_program |
235 | 235 |
236 type BpfInsn C.struct_bpf_insn | 236 type BpfInsn C.struct_bpf_insn |
237 | 237 |
238 type BpfHdr C.struct_bpf_hdr | 238 type BpfHdr C.struct_bpf_hdr |
239 | 239 |
240 // Terminal handling | 240 // Terminal handling |
241 | 241 |
242 type Termios C.struct_termios | 242 type Termios C.struct_termios |
OLD | NEW |