<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "System",
  "identifier" : "/documentation/System/Stat/Flags-swift.struct/resolveBeneath",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "System"
    ],
    "preciseIdentifier" : "s:6System4StatV5FlagsV14resolveBeneathAEvpZ"
  },
  "title" : "resolveBeneath"
}
-->

# resolveBeneath

If the path does not reside in the hierarchy beneath the starting directory, return an error.

```
static var resolveBeneath: Stat.Flags { get }
```

## Discussion

The corresponding C constant is `AT_RESOLVE_BENEATH`.

> Note: Only available on Darwin and FreeBSD.

---

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)