openat_ct 0.1.21

A wrapper around openat, symlinkat, and similar system calls forked and improved from https://crates.io/crates/openat
Documentation
1
2
3
4
5
6
7
8
9
10
extern crate libc;

fn main () {
    unsafe {
        let conf_tests = std::ffi::CString::new("conf_tests").unwrap();
        libc::open(conf_tests.as_ptr(),
                   libc::O_TMPFILE | libc::O_RDWR,
                   libc::S_IRUSR | libc::S_IWUSR);
    }
}