Registry / other / io-kit-sys

io-kit-sys

JSON →
library0.5.0rscratesunverified

Bindings to IOKit for macOS, providing low-level access to hardware and services.

# Cargo.toml [dependencies] io-kit-sys = "0.5.0"
INSTALL
IMPORT
SIG · IO-KIT-SYS
I
io-kit-sys
otherrustv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IOServiceGetMatchingService
use io_kit_sys::IOServiceGetMatchingService;

Gets a matching IOKit service (example with null matching dictionary).

use io_kit_sys::IOServiceGetMatchingService; use io_kit_sys::kIOMasterPortDefault; fn main() { unsafe { let service = IOServiceGetMatchingService(kIOMasterPortDefault, std::ptr::null_mut()); println!("{:?}", service); } }
Debug
Known issues
gotchaAll functions are unsafe and require careful handling of Core Foundation types.
fix
Ensure proper memory management and use safe wrappers if available.
affects: >=0.5.0
Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
io-kit-sys — cargo add io-kit-sys · libregistry