LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2010 The Go Authors. All rights reserved. | 1 // Copyright 2010 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 #include "runtime.h" | 5 #include "runtime.h" |
6 #include "os.h" | 6 #include "os_GOOS.h" |
7 #include "arch.h" | 7 #include "arch_GOARCH.h" |
8 | 8 |
9 int8 *goos = "plan9"; | 9 int8 *goos = "plan9"; |
10 | 10 |
11 void | 11 void |
12 runtime·minit(void) | 12 runtime·minit(void) |
13 { | 13 { |
14 } | 14 } |
15 | 15 |
16 static int32 | 16 static int32 |
17 getproccount(void) | 17 getproccount(void) |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 runtime·read(int32 fd, void *buf, int32 nbytes) | 228 runtime·read(int32 fd, void *buf, int32 nbytes) |
229 { | 229 { |
230 return runtime·pread(fd, buf, nbytes, -1LL); | 230 return runtime·pread(fd, buf, nbytes, -1LL); |
231 } | 231 } |
232 | 232 |
233 int32 | 233 int32 |
234 runtime·write(int32 fd, void *buf, int32 nbytes) | 234 runtime·write(int32 fd, void *buf, int32 nbytes) |
235 { | 235 { |
236 return runtime·pwrite(fd, buf, nbytes, -1LL); | 236 return runtime·pwrite(fd, buf, nbytes, -1LL); |
237 } | 237 } |
LEFT | RIGHT |