unix: add InotifyInit for mips64

Change-Id: If58ee4692cd7b22c293556fc320fb013cdb78bb6
GitHub-Last-Rev: 2b5b171559
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>
This commit is contained in:
Doorer
2020-02-12 08:54:49 +00:00
committed by Tobias Klauser
parent d101bd2416
commit 12a6c2dcc1

View File

@@ -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)
}