---
title: setInputPort
framework: kernel
role: pseudoSymbol
path: kernel/iostream/1809793-setinputport
---

# setInputPort

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

## Declaration

```occ
virtual IOReturn setInputPort(
 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)
- [setOutputPort](kernel/iostream/1809801-setoutputport.md)
