Function

CFReadStreamCopyError

Returns the error associated with a stream.

Declaration

CFErrorRef CFReadStreamCopyError(CFReadStreamRef stream);

Parameters

stream

The stream to examine.

Return Value

A CFError object that describes the current problem with stream, or NULL if there is no error. Ownership follows the The Create Rule.

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.

CFReadStreamGetError

Returns the error status of a stream.

CFReadStreamGetStatus

Returns the current state of a stream.

CFReadStreamHasBytesAvailable

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