eventOnly
Indicates that opening the file monitors a file for changes.
Declaration
static var eventOnly: FileDescriptor.OpenOptions { get }Mentioned in
Discussion
Specify this option when opening a file for event notifications, such as a file handle returned by the kqueue(2) function, rather than for reading or writing. Files opened with this option don’t prevent their containing volume from being unmounted.
The corresponding C constant is O_EVTONLY.