Home

Traffic Server Software Developers Kit

INKIOBufferBlockWriteStart

Starts a write to the specified IO buffer block.

Prototype

char* INKIOBufferBlockWriteStart (INKIOBufferBlock blockp, int *avail)

Description

Gets the start point for writing into the IO buffer block blockp. The amount of data available for writing is stored in the parameter avail. If avail is NULL, then no attempt is made to dereference it.

Returns

A pointer to the starting point for writing to the specified IO buffer block.

INK_ERROR_PTR if an error occurs.