---
title: handleOpen
framework: kernel
role: pseudoSymbol
path: kernel/iostream/1809688-handleopen
---

# handleOpen

The handleOpen() method relies on the default IOService behavior to ensure that only one client has the stream open at a time. The shared input and output queues are created at open time.

## Declaration

```occ
virtual bool handleOpen(
 IOService *forClient, 
 IOOptionBits options, 
 void *arg ); 
```

## Parameters

- `options`:
- `arg`:

## See Also

### Opening and closing streams

- [handleClose](kernel/iostream/1809680-handleclose.md)
