Posix wrapper for Rust