---
title: "init(rawValue:)"
framework: system
role: symbol
role_heading: Initializer
path: "system/filedescriptor/accessmode/init(rawvalue:)"
---

# init(rawValue:)

Creates a strongly-typed access mode from a raw C access mode.

## Declaration

```swift
init(rawValue: CInt)
```

## See Also

### Working with C APIs

- [rawValue](system/filedescriptor/accessmode/rawvalue.md)
