---
title: segname
framework: Kernel
role: symbol
role_heading: Instance Property
platforms: [macOS 10.6+]
path: kernel/section_64/1525275-segname
---

# segname

A string specifying the name of the segment that should eventually contain this section. For compactness, intermediate object files—files of type MH_OBJECT—contain only one segment, in which all sections are placed. The static linker places each section in the named segment when building the final product (any file that is not of type MH_OBJECT).

## Declaration

```occ
char segname[16];
```
