---
name: "ccw_device_get_ciw"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ccw_device_get_ciw"
---

# ccw\_device\_get\_ciw(9)

Search for CIW command in extended sense data.

## NAME

ccw\_device\_get\_ciw - Search for CIW command in extended sense data.

## SYNOPSIS

**struct ciw \* ccw\_device\_get\_ciw(struct ccw\_device \*** *cdev***, \_\_u32** *ct***);**

## ARGUMENTS

*cdev*

ccw device to inspect

*ct*

command type to look for

## DESCRIPTION

During SenseID, command information words (CIWs) describing special commands available to the device may have been stored in the extended sense data. This function searches for CIWs of a specified command type in the extended sense data.

## RETURN

**NULL** if no extended sense data has been stored or if no CIW of the specified command type could be found, else a pointer to the CIW of the specified command type.

## AUTHOR

**Cornelia Huck** \<cornelia.huck@de.ibm.com\>

Author.

## COPYRIGHT
