1
0
mirror of https://github.com/rancher/os.git synced 2025-07-04 18:46:15 +00:00
os/vendor/github.com/docker/containerd/archutils/epoll.go
2016-06-06 08:08:00 -07:00

20 lines
398 B
Go

// +build linux,!arm64
package archutils
import (
"syscall"
)
func EpollCreate1(flag int) (int, error) {
return syscall.EpollCreate1(flag)
}
func EpollCtl(epfd int, op int, fd int, event *syscall.EpollEvent) error {
return syscall.EpollCtl(epfd, op, fd, event)
}
func EpollWait(epfd int, events []syscall.EpollEvent, msec int) (int, error) {
return syscall.EpollWait(epfd, events, msec)
}