doc.rust-lang.org
pub fn as_ptr(&self) -> *const *const c_char
Returns a pointer to the C-string array managed by this type.
method
std
Version 1.100.0-nightly
doc.rust-lang.org
pub struct CStringArray
Helper type to manage ownership of the strings within a C-style array.
struct
std
Version 1.100.0-nightly
doc.rust-lang.org
pub struct CommandEnv
Stores a set of changes to an environment
struct
std
Version 1.100.0-nightly
doc.rust-lang.org
pub mod platform_version
Runtime lookup of operating system / platform version.
module
std
Version 1.100.0-nightly
doc.rust-lang.org
pub const USING_SJLJ_EXCEPTIONS: bool
32-bit ARM Darwin platforms uses SjLj exceptions.
constant
std
Version 1.100.0-nightly
doc.rust-lang.org
pub mod eh
Parsing of GCC-style Language-Specific Data Area (LSDA) For details see:
module
std
Version 1.100.0-nightly
doc.rust-lang.org
pub mod weak
Support for "weak linkage" to symbols on Unix
module
std
Version 1.100.0-nightly
doc.rust-lang.org
pub fn with_current_info<R>(f: impl FnOnce(Option<&ThreadInfo>) -> R) -> R
Get the current thread's information, if available.
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn make_handler(main_thread: bool) -> super::Handler
Safety
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn init()
Safety
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn drop_handler(data: *mut libc::c_void)
Safety
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub fn cvt_r<T, F>(f: F) -> io::Result<T>
-1 → look at errno → retry on EINTR. Otherwise Ok()-wrap the closure return value.
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub fn cvt_nz(error: libc::c_int) -> io::Result<()>
Zero means Ok(), all other values are treated as raw OS errors. Does not look at errno.
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub fn cvt<T>(t: T) -> io::Result<T>
Converts native return values to Result using the -1 means error is in errno convention. Non-error values are Ok-wrapped.
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn setsockopt<T>(sock: &Socket, level: crate::ffi::c_int, option_name: crate::ffi::c_int, option_value: T) -> io::Result<()>
Sets the value of a socket option.
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn getsockopt<T>(sock: &Socket, level: crate::ffi::c_int, option_name: crate::ffi::c_int) -> io::Result<T>
Gets the value of a socket option.
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub fn set_errno(e: i32)
Sets the platform-specific value of errno
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub fn error_string(errno: i32) -> String
Gets a detailed string description for the given error number.
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub fn errno() -> i32
Returns the platform-specific value of errno
function
std
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn new(lpwstr: *const u16) -> Option<Self>
Creates the iterator. Returns None if lpwstr is null.
associated_function
std
Version 1.100.0-nightly