---
name: "i2o_msg_get_wait"
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_msg_get_wait"
---

# i2o\_msg\_get\_wait(9)

obtain an I2O message from the IOP

## NAME

i2o\_msg\_get\_wait - obtain an I2O message from the IOP

## SYNOPSIS

**struct i2o\_message \* i2o\_msg\_get\_wait(struct i2o\_controller \*** *c***, int** *wait***);**

## ARGUMENTS

*c*

I2O controller

*wait*

how long to wait until timeout

## DESCRIPTION

This function waits up to wait seconds for a message slot to be available.

On a success the message is returned and the pointer to the message is set in msg. The returned message is the physical page frame offset address from the read port (see the i2o spec). If no message is available returns I2O\_QUEUE\_EMPTY and msg is leaved untouched.

## COPYRIGHT
