summaryrefslogtreecommitdiff
path: root/vendor/gopkg.in/fsnotify.v1/open_mode_bsd.go
blob: 7d8de14513ede1cbd55a6d4493c1eafc550e0a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build freebsd openbsd netbsd dragonfly

package fsnotify

import "golang.org/x/sys/unix"

const openMode = unix.O_NONBLOCK | unix.O_RDONLY