@@ -20,17 +20,14 @@ package sys
2020
2121import "golang.org/x/sys/unix"
2222
23- // EpollCreate1 directly calls unix.EpollCreate1
24- func EpollCreate1 (flag int ) (int , error ) {
25- return unix .EpollCreate1 (flag )
26- }
27-
28- // EpollCtl directly calls unix.EpollCtl
29- func EpollCtl (epfd int , op int , fd int , event * unix.EpollEvent ) error {
30- return unix .EpollCtl (epfd , op , fd , event )
31- }
32-
33- // EpollWait directly calls unix.EpollWait
34- func EpollWait (epfd int , events []unix.EpollEvent , msec int ) (int , error ) {
35- return unix .EpollWait (epfd , events , msec )
36- }
23+ // EpollCreate1 is an alias for unix.EpollCreate1
24+ // Deprecated: use golang.org/x/sys/unix.EpollCreate1
25+ var EpollCreate1 = unix .EpollCreate1
26+
27+ // EpollCtl is an alias for unix.EpollCtl
28+ // Deprecated: use golang.org/x/sys/unix.EpollCtl
29+ var EpollCtl = unix .EpollCtl
30+
31+ // EpollWait is an alias for unix.EpollWait
32+ // Deprecated: use golang.org/x/sys/unix.EpollWait
33+ var EpollWait = unix .EpollWait
0 commit comments