Home

Traffic Server Software Developers Kit

INKIOBufferStart

Starts an IO buffer.

Prototype

INKIOBufferBlock INKIOBufferStart (INKIOBuffer bufp)

Description

Gets the write start block for the IO buffer bufp. INKIOBufferStart always returns a block with a non-zero amount of space available for writing. If necessary, a new block is added to accomplish this.

Returns

The write start block for the IO buffer writer.

INK_ERROR_PTR if an error occurs.