Gets the names from a CFHost.
- iOS 2.0+
- macOS 10.3+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
The host to examine. The host must have been previously resolved. (To resolve a host, call
CFHost.) This value must not be
Start Info Resolution
On return, contains
TRUEif names were available, otherwise
FALSE. This value may be
An array containing the of names of
NULL if no names were available.
This function gets the names in a thread-safe way, but the resulting data is not thread-safe. The data is returned as a “get” as opposed to a copy, so the data is not safe if the CFHost is altered from another thread.