---
title: set_tr
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.4+]
path: kernel/1571304-set_tr
---

# set_tr

## Declaration

```occ
void set_tr(unsigned int seg);
```
