Home

Traffic Server Software Developers Kit

INKVIONBytesGet

Returns the number of bytes associated with a specified IO operation.

Prototype

int INKVIONBytesGet (INKVIO viop)

Description

Gets the number of bytes to be performed by the IO operation described by viop. This is the nbytes parameter that's passed to INKVConnRead or INKVConnWrite.

Returns

The number of bytes associated with the specified IO operation.

INK_ERROR if an error occurs.