Debian Codegraph @

src/internal/runtime/syscall/linux/defs_linux_arm64.go

raw
1 // Copyright 2022 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package linux
6
7 const (
8 SYS_CLOSE = 57
9 SYS_EPOLL_CREATE1 = 20
10 SYS_EPOLL_CTL = 21
11 SYS_EPOLL_PWAIT = 22
12 SYS_FCNTL = 25
13 SYS_PRCTL = 167
14 SYS_MPROTECT = 226
15 SYS_EPOLL_PWAIT2 = 441
16 SYS_EVENTFD2 = 19
17 SYS_OPENAT = 56
18 SYS_PREAD64 = 67
19 SYS_READ = 63
20 SYS_UNAME = 160
21
22 EFD_NONBLOCK = 0x800
23
24 O_LARGEFILE = 0x0
25 )
26
27 type EpollEvent struct {
28 Events uint32
29 _pad uint32
30 Data [8]byte // to match amd64
31 }