---
name: "i2o_msg_post_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_post_wait"
---

# i2o\_msg\_post\_wait(9)

Post and wait a message and wait until return

## NAME

i2o\_msg\_post\_wait - Post and wait a message and wait until return

## SYNOPSIS

**int i2o\_msg\_post\_wait(struct i2o\_controller \*** *c***, struct i2o\_message \*** *msg***, unsigned long** *timeout***);**

## ARGUMENTS

*c*

controller

*msg*

message to post

*timeout*

time in seconds to wait

## DESCRIPTION

This API allows an OSM to post a message and then be told whether or not the system received a successful reply. If the message times out then the value '-ETIMEDOUT' is returned.

Returns 0 on success or negative error code on failure.

## COPYRIGHT
