Home

Traffic Server Software Developers Kit

INKIOBufferReaderClone

Clones an IO buffer reader.

Prototype

INKIOBufferReader INKIOBufferReaderClone (INKIOBufferReader readerp)

Description

Makes a clone of the IO buffer reader readerp. The cloned reader points to the same IO buffer and initially has the same read offset as readerp.

Returns

A handle to the cloned IO buffer.

INK_ERROR_PTR if an error occurs.