Skip to content

Commit

Permalink
Rollup merge of #124282 - RalfJung:fill_utf16_buf, r=ChrisDenton
Browse files Browse the repository at this point in the history
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``
  • Loading branch information
fmease authored Apr 24, 2024
2 parents 7900f0d + 29381b6 commit 54e98b5
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 54e98b5

Please sign in to comment.