package syscall

Import Path
	internal/runtime/syscall (on go.dev)

Dependency Relation
	imports 2 packages, and imported by 3 packages

Involved Source Files defs_linux.go defs_linux_amd64.go Package syscall provides the syscall primitives required for the runtime. asm_linux_amd64.s
Package-Level Type Names (only one)
/* sort by: | */
// unaligned uintptr Events uint32 func EpollCtl(epfd, op, fd int32, event *EpollEvent) (errno uintptr) func EpollWait(epfd int32, events []EpollEvent, maxev, waitms int32) (n int32, errno uintptr)
Package-Level Functions (total 9)
func Close(fd int) (errno uintptr)
func EpollCreate1(flags int32) (fd int32, errno uintptr)
func EpollCtl(epfd, op, fd int32, event *EpollEvent) (errno uintptr)
func EpollWait(epfd int32, events []EpollEvent, maxev, waitms int32) (n int32, errno uintptr)
func Eventfd(initval, flags int32) (fd int32, errno uintptr)
func Open(path *byte, mode int, perm uint32) (fd int, errno uintptr)
func Pread(fd int, p []byte, offset int64) (n int, errno uintptr)
func Read(fd int, p []byte) (n int, errno uintptr)
Syscall6 calls system call number 'num' with arguments a1-6.
Package-Level Constants (total 31)
const AT_FDCWD = -100
const EFD_CLOEXEC = 524288
const EFD_NONBLOCK = 2048
const ENOENT = 2
const EPOLL_CLOEXEC = 524288
const EPOLL_CTL_ADD = 1
const EPOLL_CTL_DEL = 2
const EPOLL_CTL_MOD = 3
const EPOLLERR = 8
const EPOLLET = 2147483648
const EPOLLHUP = 16
const EPOLLIN = 1
const EPOLLOUT = 4
const EPOLLRDHUP = 8192
const O_CLOEXEC = 524288
const O_LARGEFILE = 0
const O_RDONLY = 0
const PR_SET_VMA = 1398164801
const SYS_CLOSE = 3
const SYS_EPOLL_CREATE1 = 291
const SYS_EPOLL_CTL = 233
const SYS_EPOLL_PWAIT = 281
const SYS_EPOLL_PWAIT2 = 441
const SYS_EVENTFD2 = 290
const SYS_FCNTL = 72
const SYS_MPROTECT = 10
const SYS_OPENAT = 257
const SYS_PRCTL = 157
const SYS_PREAD64 = 17
const SYS_READ = 0