---
title: DispatchIO.CloseFlags
framework: dispatch
role: symbol
role_heading: Structure
path: dispatch/dispatchio/closeflags
---

# DispatchIO.CloseFlags

Additional flags to use when closing an I/O channel.

## Declaration

```swift
struct CloseFlags
```

## Topics

### Close Flags

- [stop](dispatch/dispatchio/closeflags/stop.md)

### Initializing the Type

- [DISPATCH_IO_STOP](dispatch/dispatch_io_stop.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Closing the File

- [close(flags:)](dispatch/dispatchio/close(flags:).md)
