Update dependencies
This commit is contained in:
17
vendor/github.com/illarion/gonotify/v3/syscallf/rm_watch.go
generated
vendored
Normal file
17
vendor/github.com/illarion/gonotify/v3/syscallf/rm_watch.go
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
//go:build linux
|
||||
|
||||
package syscallf
|
||||
|
||||
import "syscall"
|
||||
|
||||
func InotifyRmWatch(fd int, watchdesc int) (int, error) {
|
||||
var success int
|
||||
var err error
|
||||
|
||||
r0, _, e1 := syscall.RawSyscall(syscall.SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
|
||||
success = int(r0)
|
||||
if e1 != 0 {
|
||||
err = e1
|
||||
}
|
||||
return success, err
|
||||
}
|
||||
Reference in New Issue
Block a user