c_str.rs - source
Description: Source of the Rust file `library/std/src/ffi/c_str.rs`.

#
std/ffi/
c_str.rs

    1//! [`CStr`], [`CString`], and related types.
    2
    3#[stable(feature = "cstring_from_vec_with_nul", since = "1.58.0")]
    4pub use alloc::ffi::c_str::FromVecWithNulError;
    5#[stable(feature = "cstring_into", since = "1.7.0")]
    6pub use alloc::ffi::c_str::IntoStringError;
    7#[stable(feature = "rust1", since = "1.0.0")]
    8pub use alloc::ffi::c_str::{CString, NulError};
    9#[stable(feature = "rust1", since = "1.0.0")]
    10pub use core::ffi::c_str::CStr;
    11#[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
    12pub use core::ffi::c_str::FromBytesUntilNulError;
    13#[stable(feature = "cstr_from_bytes", since = "1.10.0")]
    14pub use core::ffi::c_str::FromBytesWithNulError;