From 12a6c2dcc1e4cb348b57847c73987099e261714b Mon Sep 17 00:00:00 2001 From: Doorer <995386871@qq.com> Date: Wed, 12 Feb 2020 08:54:49 +0000 Subject: [PATCH] unix: add InotifyInit for mips64 Change-Id: If58ee4692cd7b22c293556fc320fb013cdb78bb6 GitHub-Last-Rev: 2b5b171559691fa560b450e0847e7004e665a373 GitHub-Pull-Request: golang/sys#58 Reviewed-on: https://go-review.googlesource.com/c/sys/+/218799 Run-TryBot: Tobias Klauser TryBot-Result: Gobot Gobot Reviewed-by: Tobias Klauser --- 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) +} +