From 2b5b171559691fa560b450e0847e7004e665a373 Mon Sep 17 00:00:00 2001 From: Doorer <995386871@qq.com> Date: Mon, 10 Feb 2020 11:17:15 +0800 Subject: [PATCH] unix: add InotifyInit for mips64 --- unix/syscall_linux_mips64x.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/unix/syscall_linux_mips64x.go b/unix/syscall_linux_mips64x.go index e9d2f1d7..85a872d6 100644 --- a/unix/syscall_linux_mips64x.go +++ b/unix/syscall_linux_mips64x.go @@ -224,3 +224,8 @@ func Poll(fds []PollFd, timeout int) (n int, err error) { } return poll(&fds[0], len(fds), timeout) } + +func InotifyInit() (fd int, err error) { + return InotifyInit1(0) +} +