commit | 12a6c2dcc1e4cb348b57847c73987099e261714b | [log] [tgz] |
---|---|---|
author | Doorer <995386871@qq.com> | Wed Feb 12 08:54:49 2020 +0000 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Wed Feb 12 09:16:48 2020 +0000 |
tree | 929ec06b56312a8d6f8fd1c59c31879e5fc73e1b | |
parent | d101bd2416d505c0448a6ce8a282482678040a89 [diff] |
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 <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
diff --git a/unix/syscall_linux_mips64x.go b/unix/syscall_linux_mips64x.go index e9d2f1d..85a872d 100644 --- a/unix/syscall_linux_mips64x.go +++ b/unix/syscall_linux_mips64x.go
@@ -224,3 +224,8 @@ } return poll(&fds[0], len(fds), timeout) } + +func InotifyInit() (fd int, err error) { + return InotifyInit1(0) +} +