---
title: setOutputPort
framework: kernel
role: pseudoSymbol
path: kernel/iostream/1809801-setoutputport
---

# setOutputPort

Set the Mach port used to send notifications to user space that a buffer has been added to the output queue.

## Declaration

```occ
virtual IOReturn setOutputPort(
 mach_port_tport); 
```

## Parameters

- `port`:

## See Also

### Managing notification ports

- [getInputPort](kernel/iostream/1809770-getinputport.md)
- [getOutputPort](kernel/iostream/1809774-getoutputport.md)
- [sendOutputNotification](kernel/iostream/1809783-sendoutputnotification.md)
- [setInputPort](kernel/iostream/1809793-setinputport.md)
