---
name: "WaitForDoorbellReply"
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/WaitForDoorbellReply"
---

# WaitForDoorbellReply(9)

Wait for and capture an IOC handshake reply.

## NAME

WaitForDoorbellReply - Wait for and capture an IOC handshake reply.

## SYNOPSIS

**int WaitForDoorbellReply(MPT\_ADAPTER \*** *ioc***, int** *howlong***, int** *sleepFlag***);**

## ARGUMENTS

*ioc*

Pointer to MPT\_ADAPTER structure

*howlong*

How long to wait (in seconds)

*sleepFlag*

Specifies whether the process can sleep

## DESCRIPTION

This routine polls the IOC for a handshake reply, 16 bits at a time. Reply is cached to IOC private area large enough to hold a maximum of 128 bytes of reply data.

Returns a negative value on failure, else size of reply in WORDS.

## COPYRIGHT
