---
title: nextHole
framework: system
role: symbol
role_heading: Type Property
path: system/filedescriptor/seekorigin/nexthole
---

# nextHole

Indicates that the offset should be set to the next hole after the specified number of bytes.

## Declaration

```swift
static var nextHole: FileDescriptor.SeekOrigin { get }
```

## Mentioned in

Adopting Swift File Options

## Discussion

Discussion For information about what is considered a hole, see the lseek(2) man page. The corresponding C constant is SEEK_HOLE.

## See Also

### Creating a Seek Origin

- [current](system/filedescriptor/seekorigin/current.md)
- [end](system/filedescriptor/seekorigin/end.md)
- [nextData](system/filedescriptor/seekorigin/nextdata.md)
- [start](system/filedescriptor/seekorigin/start.md)
