2016-04-29 11:42:41 +00:00
|
|
|
// +build linux,!arm64
|
2016-04-13 09:29:20 +00:00
|
|
|
|
2016-04-06 03:17:30 +00:00
|
|
|
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)
|
|
|
|
}
|