open_mode_bsd.go 303 B

1234567891011
  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 freebsd openbsd netbsd dragonfly
  5. package fsnotify
  6. import "golang.org/x/sys/unix"
  7. const openMode = unix.O_NONBLOCK | unix.O_RDONLY