open_mode_darwin.go 294 B

123456789101112
  1. // Copyright 2013 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build darwin
  5. package fsnotify
  6. import "syscall"
  7. // note: this constant is not defined on BSD
  8. const openMode = syscall.O_EVTONLY