Home

Traffic Server Software Developers Kit

INKVIONDoneGet

Returns the number of bytes completed for the specified IO operation.

Prototype

int INKVIONDoneGet (INKVIO viop)

Description

Gets the number of bytes completed on the IO operation described by viop. The number of completed bytes is also the number of bytes consumed out of (or produced into) the buffer passed to the IO operation.

Returns

The number of bytes that have been completed for the specified IO operation.

INK_ERROR if an error occurs.