---
title: getOutputPort
framework: kernel
role: pseudoSymbol
path: kernel/iostream/1809774-getoutputport
---

# getOutputPort

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

## Declaration

```occ
virtual mach_port_t getOutputPort(
 void); 
```

## See Also

### Managing notification ports

- [getInputPort](kernel/iostream/1809770-getinputport.md)
- [sendOutputNotification](kernel/iostream/1809783-sendoutputnotification.md)
- [setInputPort](kernel/iostream/1809793-setinputport.md)
- [setOutputPort](kernel/iostream/1809801-setoutputport.md)
