Function SCNetworkInterfaceGetLocalizedDisplayName

Source
pub unsafe extern "C-unwind" fn SCNetworkInterfaceGetLocalizedDisplayName(
    interface: &SCNetworkInterface,
) -> Option<CFRetained<CFString>>
Available on crate feature SCNetworkConfiguration only.
Expand description

Returns the localized name (e.g. “Ethernet”, “FireWire”) for the interface.

Parameter interface: The network interface.

Returns: A localized, display name for the interface; NULL if no name is available.