# `writeKey`

*Function*

## Declaration

```swift
func writeKey(_ file: UnsafeMutablePointer<FILE>, _ key: UnsafePointer<CChar>)
```

```objc
void writeKey(FILE *file, const char *key);
```

```python
writeKey(file: FILE, key: str)
```

## See Also

### Keys and Strings

- [`writeKeyString`](/Core/GlyphsCore/writeKeyString)
- [`sWriteKey`](/Core/GlyphsCore/sWriteKey)
- [`writeStringEscape`](/Core/GlyphsCore/writeStringEscape)
- [`sWriteStringEscape`](/Core/GlyphsCore/sWriteStringEscape)
- [`writeKeyValueString`](/Core/GlyphsCore/writeKeyValueString)
- [`writeKeyValueStringEscape`](/Core/GlyphsCore/writeKeyValueStringEscape)
- [`writeKeyValueStringSimple`](/Core/GlyphsCore/writeKeyValueStringSimple)

