Module std::os::unixUnstable [-] [+] [src]

Experimental extensions to std for Unix platforms.

For now, this module is limited to extracting file descriptors, but its functionality will grow over time.

Example

#![feature(globs)] use std::old_io::fs::File; use std::os::unix::prelude::*; fn main() { let f = File::create(&Path::new("foo.txt")).unwrap(); let fd = f.as_raw_fd(); // use fd with native unix bindings }
#![feature(globs)]

use std::old_io::fs::File;
use std::os::unix::prelude::*;

fn main() {
    let f = File::create(&Path::new("foo.txt")).unwrap();
    let fd = f.as_raw_fd();

    // use fd with native unix bindings
}

Modules

prelude

A prelude for conveniently writing platform-specific code.

Traits

AsRawFd

Extract raw file descriptor

CommandExt

Unix-specific extensions to the std::process::Command builder

ExitStatusExt

Unix-specific extensions to std::process::ExitStatus

OpenOptionsExt
OsStrExt

Unix-specific extensions to OsStr.

OsStringExt

Unix-specific extensions to OsString.

PermissionsExt

Type Definitions

Fd

Raw file descriptors.