system_bsd.go 213 B

12345678
  1. //go:build freebsd || openbsd || netbsd || dragonfly
  2. // +build freebsd openbsd netbsd dragonfly
  3. package fsnotify
  4. import "golang.org/x/sys/unix"
  5. const openMode = unix.O_NONBLOCK | unix.O_RDONLY | unix.O_CLOEXEC