---
title: setSpecification
framework: kernel
role: symbol
role_heading: Instance Method
path: kernel/iodmacommand/1547759-setspecification
---

# setSpecification

## Declaration

```occ
IOReturn setSpecification(SegmentFunction outSegFunc, const SegmentOptions *segmentOptions, uint32_t mappingOptions, IOMapper *mapper);
```

## See Also

### Getting Configuration Details

- [getAlignment](kernel/iodmacommand/1547755-getalignment.md)
- [getAlignmentInternalSegments](kernel/iodmacommand/1547737-getalignmentinternalsegments.md)
- [getAlignmentLength](kernel/iodmacommand/1547731-getalignmentlength.md)
- [getMetaClass](kernel/iodmacommand/1547717-getmetaclass.md)
- [getNumAddressBits](kernel/iodmacommand/1547735-getnumaddressbits.md)
