<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "System",
  "identifier" : "/documentation/System/Errno/noSpace",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "System"
    ],
    "preciseIdentifier" : "s:6System5ErrnoV7noSpaceACvpZ"
  },
  "title" : "noSpace"
}
-->

# noSpace

Device out of space.

```
static var noSpace: Errno { get }
```

## Discussion

A write to an ordinary file,
the creation of a directory or symbolic link,
or the creation of a directory entry failed
because there aren’t any available disk blocks on the file system,
or the allocation of an inode for a newly created file failed
because there aren’t any inodes available on the file system.

The corresponding C error is `ENOSPC`.

---

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)