mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-28 04:46:44 -04:00
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>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user