# CheckIO

Checks for I/O request completion.

### Synopsis

`int32 CheckIO( Item ior )`

### Description

This procedure checks to see if an I/O request has completed.

### Arguments

ior
  The item number of the I/O request to be checked.

### Return Value

The procedure returns 0 if the I/O is not complete. It returns > 0 if it is complete. It returns BADITEM if ior is bad.

### Implementation

Convenience call implemented in clib.lib V20. Became a folio call in kernel folio V24.

### Associated Files

io.h
  ANSI C Prototype

### See Also

``AbortIO`(), CreateIOReq(), DeleteIOReq(), DoIO(), SendIO(), WaitIO()`

#