Documentation ¶
Index ¶
- Constants
- func Close(fd int) error
- func Getdents(fd int, buf []byte) (int, error)
- func Open(path string, mode int, perm int) (uintptr, error)
- func Read(fd int, buf []byte) (uintptr, error)
- func Syscall(trap uintptr, a1 uintptr, a2 uintptr, a3 uintptr) uintptr
- func Write(fd int, buf []byte) (uintptr, error)
Constants ¶
View Source
const SYS_CLOSE uintptr = 3
View Source
const SYS_GETDENTS64 uintptr = 217
View Source
const SYS_OPEN uintptr = 2
View Source
const SYS_READ uintptr = 0
cheat sheet: https://chromium.googlesource.com/chromiumos/docs/+/HEAD/constants/syscalls.md#x86_64-64_bit
View Source
const SYS_WRITE uintptr = 1
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.