Skip to main content

Module unix

Module unix 

Source

Re-exportsยง

use core::slice::memchr; ๐Ÿ”’ Experimental
use libc::c_char; ๐Ÿ”’
pub use super::common::Env;
use crate::ffi::CStr; ๐Ÿ”’
use crate::ffi::OsStr; ๐Ÿ”’
use crate::ffi::OsString; ๐Ÿ”’
use crate::io; ๐Ÿ”’
use crate::sync::PoisonError; ๐Ÿ”’
use crate::sync::RwLock; ๐Ÿ”’
use crate::sys::cvt; ๐Ÿ”’
use crate::sys::helpers::run_with_cstr; ๐Ÿ”’
use crate::os::unix::prelude::*; ๐Ÿ”’

Staticsยง

ENV_LOCK ๐Ÿ”’

Functionsยง

env
Returns a vector of (variable, value) byte-vector pairs for all the environment variables of the current process.
env_read_lock
environโš Neither Apple nor FreeBSD
getenv
setenvโš 
unsetenvโš