<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Dispatch",
  "identifier" : "/documentation/Dispatch/DISPATCH_SOURCE_TYPE_VNODE",
  "metadataVersion" : "0.1.0",
  "role" : "Macro",
  "symbol" : {
    "kind" : "Macro",
    "modules" : [
      "Dispatch"
    ],
    "preciseIdentifier" : "c:@macro@DISPATCH_SOURCE_TYPE_VNODE"
  },
  "title" : "DISPATCH_SOURCE_TYPE_VNODE"
}
-->

# DISPATCH_SOURCE_TYPE_VNODE

A type of dispatch source for monitoring changes to a file system object.

```
#define DISPATCH_SOURCE_TYPE_VNODE
```

## Discussion

A dispatch source that monitors a file descriptor for events defined by `Dispatch Source Vnode Event Flags`. The handle is a file descriptor (`int`). The mask is a mask of desired events from `Dispatch Source Vnode Event Flags`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)