Function

CFWriteStreamGetError(_:)

Returns the error status of a stream.

Declaration

func CFWriteStreamGetError(_ stream: CFWriteStream!) -> CFStreamError

Parameters

stream

The stream to examine.

Return Value

The error status of stream returned in a CFStreamError structure.

See Also

Examining Stream Properties

func CFWriteStreamCanAcceptBytes(CFWriteStream!) -> Bool

Returns whether a writable stream can accept new data without blocking.

func CFWriteStreamCopyError(CFWriteStream!) -> CFError!

Returns the error associated with a stream.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software