about summary refs log tree commit diff
path: root/src/libstd/ffi/c_str.rs
AgeCommit message (Expand)AuthorLines
2017-06-20Add doc example for `CStr::to_bytes_with_nul`.Corey Farwell-0/+9
2017-06-20Add doc example for `CStr::to_bytes`.Corey Farwell-0/+9
2017-06-20Mark smaller CStr and CString functions as #[inline]Alexander Bulaev-0/+15
2017-06-05Add doc example for `CString::as_bytes`.Corey Farwell-0/+10
2017-06-05Add doc example for `CString::as_bytes_with_nul`.Corey Farwell-0/+10
2017-06-05Add doc example for `CString::into_bytes_with_nul`.Corey Farwell-0/+10
2017-06-05Add doc example for `CString::into_bytes`.Corey Farwell-0/+10
2017-06-05Add doc example for `CString::into_raw`.Corey Farwell-0/+20
2017-05-22Add missing links for CStr and CStringGuillaume Gomez-30/+74
2017-05-20Correct some stability versionsOliver Middleton-2/+2
2017-05-09Remove wrong or outdated info from CString docs.Matt Brubeck-6/+4
2017-04-09Auto merge of #41095 - clarcharr:as_extras, r=alexcrichtonbors-0/+6
2017-04-07Add as_c_str.Clar Charr-0/+6
2017-04-06Remove some CStr transmutes.Clar Charr-2/+3
2017-03-15Auto merge of #40009 - clarcharr:box_to_buf, r=alexcrichtonbors-7/+26
2017-03-10Add From<Box<..>> implementations.Clar Charr-7/+26
2017-03-09Distinguish the ways `CStr::from_bytes_with_nul` can failTobias Bucher-6/+40
2017-02-21changed stability annotationslukaramu-2/+2
2017-02-19added Error and Display impl for std::ffi::FromBytesWithNulErrorlukaramu-0/+14
2017-02-14Conversions between CStr/OsStr/Path and boxes.Clar Charr-1/+41
2016-11-08Slightly optimise CStringOliver Middleton-1/+1
2016-10-03std: Stabilize and deprecate APIs for 1.13Alex Crichton-3/+4
2016-09-26Remove CString drop test.Aleksey Kladov-1/+3
2016-09-24Rollup merge of #36018 - durka:patch-28, r=steveklabnikGuillaume Gomez-2/+7
2016-09-22Rollup merge of #36423 - GuillaumeGomez:eq_impl, r=pnkfelixJonathan Turner-3/+3
2016-09-18Add missing Eq implementationsGuillaume Gomez-3/+3
2016-09-14add stronger warning to CString::from_rawAlex Burka-2/+7
2016-09-14Rollup merge of #36396 - athulappadan:Default-docs, r=blussGuillaume Gomez-0/+1
2016-09-11Documentation for default types modifiedathulappadan-1/+1
2016-09-11Documentation of what does for each typeathulappadan-0/+1
2016-09-07Zero first byte of CString on dropAleksey Kladov-3/+25
2016-08-24Use `#[prelude_import]` in `libstd`.Jeffrey Seyfried-10/+2
2016-08-22Auto merge of #35871 - bluss:cstring-new, r=alexcrichtonbors-0/+1
2016-08-21cstring: avoid excessive growth just to 0-terminateUlrik Sverdrup-0/+1
2016-08-12Add doc example for `std::ffi::CString::from_vec_unchecked`.Corey Farwell-0/+11
2016-08-08Remove unnecessary `main` functions in doc examples.Corey Farwell-17/+9
2016-08-06Add doc example for `std::ffi::NulError::into_vec`.Corey Farwell-0/+9
2016-08-02Add doc example for `std::ffi::NulError::nul_position`.Corey Farwell-0/+12
2016-06-19Document `CStr::as_ptr` dangers.Aleksey Kladov-0/+32
2016-05-24std: Stabilize APIs for the 1.10 releaseAlex Crichton-17/+20
2016-05-05Add `Default` implementation for `&CStr` and `CString`Tobias Bucher-0/+16
2016-03-22try! -> ?Jorge Aparicio-2/+2
2016-02-23CStr::from_bytes_with_nul testsarcnmx-0/+27
2016-02-23Link cstr from_bytes to tracking issuearcnmx-5/+5
2016-02-23Rename CStr::from_bytes to from_bytes_with_nularcnmx-5/+5
2016-02-23CStr::from_bytesarcnmx-0/+51
2016-01-27Fix formatting in documentation of `ffi::CString`Dirk Gadsden-2/+2
2016-01-24Add section about memory safety to `ffi::CString` documentationDirk Gadsden-3/+15
2016-01-20Remove leftover import of `std::str` in doc testAndrea Bedini-1/+0
2016-01-19Improve CStr::from_ptr example in docsAndrea Bedini-2/+1