GetControlBufferLength

Get the length of the control area of an IOStreamBuffer.

Declaration

IOByteCount ( *GetControlBufferLength)(
   IOStreamRef stream,
   IOStreamBufferID bufferID );

Parameters

stream

The IOStreamRef of the stream owning the buffer.

bufferID

The IOStreamBufferID of the buffer to operate on.

Return Value

The length in bytes of the control buffer, or 0 if there is no control buffer.

See Also

Buffer convenience functions

GetControlBuffer

Get a pointer to the control area of an IOStreamBuffer.

GetDataBuffer

Get a pointer to the data area of an IOStreamBuffer.

GetDataBufferLength

Get the length of the data area of an IOStreamBuffer.