---
title: getInputPort
framework: kernel
role: pseudoSymbol
path: kernel/iostream/1809770-getinputport
---

# getInputPort

Get the Mach port used to receive notifications from user space that a buffer has been added to the input queue.

## Declaration

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

## See Also

### Managing notification ports

- [getOutputPort](kernel/iostream/1809774-getoutputport.md)
- [sendOutputNotification](kernel/iostream/1809783-sendoutputnotification.md)
- [setInputPort](kernel/iostream/1809793-setinputport.md)
- [setOutputPort](kernel/iostream/1809801-setoutputport.md)
