about summary refs log tree commit diff
path: root/library/std/src/io/stdio.rs
AgeCommit message (Expand)AuthorLines
2023-03-28Add "Platform-specific behavior" heading and link to changes disclaimerJosh Triplett-0/+5
2023-03-28Document the heuristics IsTerminal uses on WindowsJosh Triplett-0/+4
2023-03-06Implement read_buf for a few more typesTomasz Miąsko-1/+12
2022-11-14std: move `ReentrantMutex` to `sync`joboet-2/+1
2022-10-15Add `IsTerminal` trait to determine if a descriptor or handle is a terminalJosh Triplett-0/+29
2022-10-07Make tests capture the error printed by a Result returnDavid Tolnay-6/+22
2022-09-07stdio: Document no support for writing to non-blocking stdio/stderrUsama Arif-0/+3
2022-09-05std: fix cleanup for uninitialized stdout (#101375)joboet-8/+17
2022-09-04Auto merge of #100576 - joboet:movable_const_remutex, r=Mark-Simulacrumbors-25/+16
2022-09-03std: make `ReentrantMutex` movable and `const`; simplify `Stdout` initializationjoboet-25/+16
2022-09-01Update outdated comment about output capturing in print_to.Mara Bos-4/+4
2022-07-23Remove `mut`Phosra-1/+1
2022-06-16Move/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock`Maybe Waffle-5/+4
2022-04-06Bump stabilization of stdin_forwarders to 1.62.0.Mara Bos-1/+1
2022-03-21Stabilize Stdin::lines.Mara Bos-2/+1
2022-03-19Rollup merge of #93263 - sunfishcode:sunfishcode/detatched-console-handle, r=...Dylan DPC-9/+70
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-4/+4
2022-03-04Consistently present absent stdio handles on Windows as NULL handles.Dan Gohman-9/+70
2022-02-13Make default stdio lock() return 'static handlesMark Rousskov-223/+15
2022-01-20delete `Stdin::split` forwarderTaylor Yu-24/+1
2021-12-14Fix a bunch of typosFrank Steffahn-1/+1
2021-11-02read_bufDrMeepster-15/+1
2021-10-31Rollup merge of #90430 - jkugelman:must-use-std-a-through-n, r=joshtriplettMatthias Krüger-0/+3
2021-10-30Add #[must_use] to remaining std functions (A-N)John Kugelman-0/+3
2021-10-12Add #[must_use] to expensive computationsJohn Kugelman-0/+1
2021-10-10Add #[must_use] to conversions that move selfJohn Kugelman-0/+1
2021-10-08Add #[must_use] to stdin/stdout/stderr locksJohn Kugelman-0/+3
2021-08-06Replace read_to_string with read_line in Stdin exampleElichai Turkel-14/+14
2021-07-12add Stdin::lines, Stdin::split forwarder methodsTaylor Yu-1/+44
2021-07-03stdio_locked: add tracking issueTaylor Yu-6/+6
2021-07-02stdio_locked: updates based on feedbackTaylor Yu-54/+11
2021-07-01add owned locked stdio handlesTaylor Yu-1/+259
2021-04-22Rework `at_exit` to `cleanup`Christiaan Dirkx-23/+18
2021-04-21Replace all `fmt.pad` with `debug_struct`Christiaan Dirkx-6/+6
2021-02-22Add missing "see its documentation for more" stdioIvan Tham-2/+2
2021-02-20Rollup merge of #82244 - pickfire:patch-6, r=dtolnayGuillaume Gomez-2/+2
2021-02-18Keep consistency in example for Stdin StdinLockIvan Tham-2/+2
2021-02-18Add missing link from stdio docIvan Tham-4/+4
2020-12-08Use Pin for the 'don't move' requirement of ReentrantMutex.Mara Bos-25/+29
2020-12-08Fix outdated comment about not needing to flush stderr.Mara Bos-7/+3
2020-11-16Rollup merge of #78714 - m-ou-se:simplify-local-streams, r=KodrAusMara Bos-133/+44
2020-11-14Auto merge of #75272 - the8472:spec-copy, r=KodrAusbors-0/+8
2020-11-13hide unused exports on other platformsThe8472-0/+2
2020-11-13specialize io::copy to use copy_file_range, splice or sendfileThe8472-0/+6
2020-11-10Merge set_panic and set_print into set_output_capture.Mara Bos-85/+27
2020-11-10Use Cell instead of RefCell for LOCAL_{STDOUT,STDERR}.Mara Bos-15/+16
2020-11-10Use Vec<u8> for LOCAL_STD{OUT,ERR} instead of dyn Write.Mara Bos-38/+23
2020-11-10Remove io::LocalOutput and use Arc<Mutex<dyn>> for local streams.Mara Bos-37/+20
2020-10-22Only load LOCAL_STREAMS if they are being usedSergio Benitez-0/+5
2020-10-22Capture output from threads spawned in testsTyler Mandry-5/+28