Returns the value of a property for a stream.
- iOS 2.0+
- macOS 10.1+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The stream to examine.
The name of the stream property to obtain. The available properties for standard Core Foundation streams are listed in Stream Properties.
The value of the property
property. Ownership follows the The Create Rule.
Each type of stream can define a set of properties that either describe or configure individual streams. A property can be any interesting information about a stream. Examples include the headers from an HTTP transmission, the expected number of bytes, file permission information, and so on. Use
CFWrite to modify the value of a property, although some properties are read-only.