---
title: set_ds
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.7+]
path: kernel/1571279-set_ds
---

# set_ds

## Declaration

```occ
void set_ds(uint16_t ds);
```
