Documentation
¶
Overview ¶
Package syscall wrapped syscall for knetty
Index ¶
- Variables
- func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error)
- func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
- func Readv(fd int, bs [][]byte) (int, error)
- func SetConnectionNoBlock(fd int) error
- func Writev(fd int, bs [][]byte) (int, error)
- type EpollEvent
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // EpollET et for epoll EpollET = -syscall.EPOLLET )
Functions ¶
func EpollCtl ¶
func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error)
EpollCtl ctl for epoll
func EpollWait ¶
func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
EpollWait wait for epoll
func SetConnectionNoBlock ¶
SetConnectionNoBlock set conn read/set no block
Types ¶
Click to show internal directories.
Click to hide internal directories.