...
Source file
src/runtime/stubs2.go
Documentation: runtime
1
2
3
4
5
6
7 package runtime
8
9 import (
10 "runtime/internal/atomic"
11 "unsafe"
12 )
13
14
15
16 func read(fd int32, p unsafe.Pointer, n int32) int32
17
18 func closefd(fd int32) int32
19
20 func exit(code int32)
21 func usleep(usec uint32)
22
23
24 func usleep_no_g(usec uint32) {
25 usleep(usec)
26 }
27
28
29
30
31
32 func write1(fd uintptr, p unsafe.Pointer, n int32) int32
33
34
35 func open(name *byte, mode, perm int32) int32
36
37
38 func madvise(addr unsafe.Pointer, n uintptr, flags int32) int32
39
40
41
42
43
44 func exitThread(wait *atomic.Uint32)
45
View as plain text