DequeueOutputEntry

Get the next IOStreamBufferQueueEntry available from the output queue.

Declaration

IOReturn ( *DequeueOutputEntry)(
   IOStreamRef stream,
   IOStreamBufferQueueEntry *entry );

Parameters

stream

The IOStreamRef of the stream to operate on.

entry

A pointer to an IOStreamBufferQueueEntry structure. The next available entry from the output queue will be copied into it.

Return Value

The IOStreamBufferID of the next available buffer, or kInvalidIOStreamBufferID if no buffer is in the queue.

See Also

Buffer operations on streams

EnqueueInputBuffer

Send a buffer to the kernel side of the IOStream on the input queue.