Home

Traffic Server Software Developers Kit

INKVIONTodoGet

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

Prototype

int INKVIONTodoGet (INKVIO viop)

Description

Gets the number of bytes left to do on the IO operation described by viop.
Number of bytes left to do = (total # bytes to perform on the IO operation) - (# of bytes that have been done on the operation)

INKVIONTodoGet is a convenience function.

Returns

The number of bytes left that are associated with the specified IO operation.

INK_ERROR if an error occurs.

Example
INKVIONTodoGet (viop) == INKVIONBytesGet (viop) - INKVIONDoneGet (viop);