nc 0.9.7

Access system calls directly
Documentation
1
2
3
4
5
6
7
8
9
10
/// PCI device information handling.
pub unsafe fn pciconfig_write(
    bus: usize,
    dfn: usize,
    off: usize,
    len: usize,
    buf: usize,
) -> Result<(), Errno> {
    syscall5(SYS_PCICONFIG_WRITE, bus, dfn, off, len, buf).map(drop)
}