nc 0.9.7

Access system calls directly
Documentation
1
2
3
4
5
6
/// Load shared library.
pub unsafe fn uselib<P: AsRef<Path>>(library: P) -> Result<(), Errno> {
    let library = CString::new(library.as_ref());
    let library_ptr = library.as_ptr() as usize;
    syscall1(SYS_USELIB, library_ptr).map(drop)
}