---
name: "i2o_proc_iop_add"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/i2o_proc_iop_add"
---

# i2o\_proc\_iop\_add(9)

Add an I2O controller to the i2o proc tree

## NAME

i2o\_proc\_iop\_add - Add an I2O controller to the i2o proc tree

## SYNOPSIS

**int i2o\_proc\_iop\_add(struct proc\_dir\_entry \*** *dir***, struct i2o\_controller \*** *c***);**

## ARGUMENTS

*dir*

parent proc dir entry

*c*

I2O controller which should be added

## DESCRIPTION

Add the entries to the parent proc dir entry. Also each device is added to the controllers proc dir entry.

Returns 0 on success or negative error code on failure.

## COPYRIGHT
