about summary refs log tree commit diff
path: root/library/std/src/os/windows
AgeCommit message (Expand)AuthorLines
2022-04-18Add a comment explaining the `(())` idiom for empty structs.Dan Gohman-0/+2
2022-04-18Split `NotHandle` into `NullHandleError` and `InvalidHandleError`.Dan Gohman-14/+31
2022-04-18Move the `Error` impl for `NotHandle` out of platform-independent code.Dan Gohman-0/+3
2022-04-18Fix an incorrect word in a comment.Dan Gohman-2/+2
2022-04-18Define a dedicated error type for `HandleOrNull` and `HandleOrInvalid`.Dan Gohman-6/+20
2022-04-04Rollup merge of #92942 - Xaeroxe:raw_arg, r=dtolnayDylan DPC-1/+1
2022-04-04Bump windows CommandExt::raw_arg to 1.62David Tolnay-1/+1
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-1/+3
2022-03-20Preserve the Windows `GetLastError` error in `HandleOrInvalid`.Dan Gohman-2/+18
2022-03-19Rollup merge of #93263 - sunfishcode:sunfishcode/detatched-console-handle, r=...Dylan DPC-7/+30
2022-03-04Fix a compilation error.Dan Gohman-1/+1
2022-03-04Consistently present absent stdio handles on Windows as NULL handles.Dan Gohman-7/+30
2022-03-04Add #![allow(unexpected_cfgs)] in preparation of global --check-cfgLoïc BRANSTETT-0/+3
2022-03-03Use `HandleOrNull` and `HandleOrInvalid` in the Windows FFI bindings.Dan Gohman-0/+1
2022-03-03Rollup merge of #93562 - sunfishcode:sunfishcode/io-docs, r=joshtriplettMatthias Krüger-58/+83
2022-03-02Remove the comment about `FILE_FLAG_OVERLAPPED`.Dan Gohman-2/+0
2022-03-03Rollup merge of #93663 - sunfishcode:sunfishcode/as-raw-name, r=joshtriplettDylan DPC-17/+17
2022-03-03Rollup merge of #93354 - sunfishcode:sunfishcode/document-borrowedfd-toowned,...Dylan DPC-0/+8
2022-02-10Implement `AsFd` for `&T` and `&mut T`.Dan Gohman-0/+32
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-1/+1
2022-02-04Rename `BorrowedFd::borrow_raw_fd` to `BorrowedFd::borrow_raw`.Dan Gohman-17/+17
2022-02-02Remove the documentation comment for `OwnedSocket::from_raw_socket`.Dan Gohman-7/+0
2022-02-01Use `From`/`Into` rather than the traits they replaced.Dan Gohman-9/+13
2022-02-01Fix errors.Dan Gohman-1/+1
2022-02-01Fix unresolved doc links.Dan Gohman-0/+2
2022-02-01Fix two copy+pastos.Dan Gohman-1/+1
2022-02-01Add missing `pub` keywords.Dan Gohman-2/+2
2022-02-01Update the documentation for `{As,Into,From}Raw{Fd,Handle,Socket}`.Dan Gohman-49/+77
2022-01-26Add documentation about `BorrowedFd::to_owned`.Dan Gohman-0/+8
2022-01-25Rollup merge of #88794 - sunfishcode:sunfishcode/try-clone, r=joshtriplettMatthias Krüger-0/+107
2022-01-15stabilize windows_process_extensions_raw_argJacob Kiesel-1/+1
2022-01-12Use the correct `cvt` for converting socket errors on Windows.Dan Gohman-1/+2
2021-11-20Add a caveat to std::os::windows::fs::symlink_fileMichael Diamond-0/+20
2021-11-11Auto merge of #88798 - sunfishcode:sunfishcode/windows-null-handles, r=joshtr...bors-50/+85
2021-10-05Document the valid values for `HandleOrNull` and `HandleOrInvalid`.Dan Gohman-0/+8
2021-10-05Suppress some cfg from being shown in the stdlib docsWim Looman-0/+2
2021-09-17modify std::os docs to be more consistentSachin Cherian-4/+27
2021-09-09Fix Windows compilation errors.Dan Gohman-11/+6
2021-09-09Fix another Windows compilation error.Dan Gohman-1/+1
2021-09-09Fix more Windows compilation errors.Dan Gohman-5/+16
2021-09-09Fix assertion failures in `OwnedHandle` with `windows_subsystem`.Dan Gohman-40/+72
2021-09-09Fix Windows compilation errors.Dan Gohman-3/+11
2021-09-09Add a `try_clone()` function to `OwnedFd`.Dan Gohman-0/+87
2021-09-04Document when to use Windows' `symlink_dir` vs. `symlink_file`Chris Denton-2/+20
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-08-19Fix doc test failures on Windows.Dan Gohman-1/+2
2021-08-19Factor out a common `RawFd`/`AsRawFd`/etc for Unix and WASI.Dan Gohman-5/+7
2021-08-19Add I/O safety trait impls for process::Stdio and process::Child.Dan Gohman-1/+25
2021-08-19Rename OptionFileHandle to HandleOrInvalid and make it just wrap an Option<Ow...Dan Gohman-80/+38
2021-08-19Don't encourage migration until io_safety is stablized.Dan Gohman-4/+4