rust/library/std
León Orell Valerian Liehr 388dc0d0b7
Rollup merge of #124282 - RalfJung:fill_utf16_buf, r=ChrisDenton
windows fill_utf16_buf: explain the expected return value

The comment just says "return what the syscall returns", but that doesn't work for all syscalls as the Windows API is not consistent in how buffer size is negotiated. For instance, GetUserProfileDirectoryW works a bit differently, and so home_dir_crt has to translate this to the usual protocol itself. So it's worth describing that protocol.

r? ``@ChrisDenton``
2024-04-24 14:00:57 +02:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src Rollup merge of #124282 - RalfJung:fill_utf16_buf, r=ChrisDenton 2024-04-24 14:00:57 +02:00
tests disable create_dir_all_bare on all(miri, windows) 2024-04-15 10:15:14 +02:00
build.rs Support for visionOS 2024-03-18 20:45:45 -07:00
Cargo.toml Replace libc::c_int with core::ffi::c_int 2024-04-14 07:11:51 +00:00