mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-29 21:36:43 -04:00
unix: move InotifyInit into GOARCH specific Linux files
This is a copy of http://golang.org/cl/9870 in the syscall package. This is in preparation for arm64 support, as the arm64 Linux kernel does not have an inotify_init system call, only inotify_init1. Update golang/go#10150. Change-Id: I9224a094af79adbb2f5714ad977b195d5a941eb0 Reviewed-on: https://go-review.googlesource.com/10036 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
committed by
Rob Pike
parent
44366790d7
commit
04f0f96bfa
@@ -859,7 +859,6 @@ func Getpgrp() (pid int) {
|
||||
//sysnb Gettid() (tid int)
|
||||
//sys Getxattr(path string, attr string, dest []byte) (sz int, err error)
|
||||
//sys InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error)
|
||||
//sysnb InotifyInit() (fd int, err error)
|
||||
//sysnb InotifyInit1(flags int) (fd int, err error)
|
||||
//sysnb InotifyRmWatch(fd int, watchdesc uint32) (success int, err error)
|
||||
//sysnb Kill(pid int, sig syscall.Signal) (err error)
|
||||
|
||||
Reference in New Issue
Block a user