---
title: "IOServiceOFPathToBSDName(_:_:_:)"
framework: IOKit
role: symbol
role_heading: Function
platforms: [macOS 10.0+]
path: iokit/1514661-ioserviceofpathtobsdname
---

# IOServiceOFPathToBSDName(_:_:_:)

## Declaration

```swift
func IOServiceOFPathToBSDName(_ mainPort: mach_port_t, _ openFirmwarePath: UnsafePointer<CChar>!, _ bsdName: UnsafeMutablePointer<CChar>!) -> kern_return_t
```
