Function

CFReadStreamGetStatus

Returns the current state of a stream.

Declaration

CFStreamStatus CFReadStreamGetStatus(CFReadStreamRef stream);

Parameters

stream

The stream to examine.

Return Value

The current state of stream. See CFStreamStatus for the list of possible states.

See Also

Examining Stream Properties

CFReadStreamCopyProperty

Returns the value of a property for a stream.

CFReadStreamGetBuffer

Returns a pointer to a stream’s internal buffer of unread data, if possible.

CFReadStreamCopyError

Returns the error associated with a stream.

CFReadStreamGetError

Returns the error status of a stream.

CFReadStreamHasBytesAvailable

Returns a Boolean value that indicates whether a readable stream has data that can be read without blocking.